-
-
Notifications
You must be signed in to change notification settings - Fork 289
Serving ROMs from a NAS
This process requires access to the Lakka commandline and is also only recommended for those comfortable working in a Linux shell environment.
Create the mount point folder:
mkdir /storage/roms/nas
Create the mount unit:
nano /storage/.config/system.d/storage-roms-nas.mount
Save and exit: CTRL+O
then Enter
to save, then CTRL+X
to exit
Note: The file name of the mount unit must match the path to the mount point (slashes are replaced with dashes, as in the above example - mount point: /storage/roms/nas
-> unit file name: storage-roms-nas.mount
)
Add this content, replacing placeholders with your IP, username and password information:
[Unit]
Description=cifs mount script
Requires=network-online.service
After=network-online.service
Before=retroarch.service
[Mount]
What=//192.168.0.31/roms
Where=/storage/roms/nas
Options=username=myusername,password=mypassword,rw
Type=cifs
[Install]
WantedBy=multi-user.target
Note: If the server does not support samba version 2 or higher, you have to add vers=1
to the Options
line:
...
Options=username=myusername,password=mypassword,rw,vers=1
...
For CIFS 3.0 the Options
have to be adjusted accordingly, i.e. vers=3.0
.
Enable and start the service:
systemctl enable storage-roms-nas.mount
systemctl start storage-roms-nas.mount
If the mount was successful, the volume will be mounted automatically from now on at boot.
NFS works exactly the same, except you have to use:
What=192.168.0.31:/roms
Type=nfs
- Why Lakka
- Glossary
- Hardware support
- Downloading and installing a prebuilt image
- Alternative image flashing methods
- Alternative installation methods
- Upgrading Lakka
- Accessing Lakka filesystem
- Accessing Lakka command line interface
- ROMs
- BIOSes
- Playlists
- The Live USB Mode
- Troubleshooting Lakka
- About Lakka configuration
- The bootloader
- Menu drivers
- Input settings
- Audio settings
- Video settings
- Network settings
- Language settings
- Timezone settings
- Game Thumbnails
- Dynamic Wallpapers
- XMB Themes
- Multitaps
- Rewind
- Netplay
- Shaders
- Achievements
- Serving ROMs from a NAS
- CRT Screens
- Lakka as AccessPoint