Page 1 of 1

automount m2-SSD in Nano Pi R5s

Posted: Sun Feb 02, 2025 6:21 pm
by peterlepan
Hello all,
i installed FriendlyWRT on my Nano Pi R5s and it works fine. I boot from eMMC and i added a M2 SSD, this works fine too.
Now i want to get the SSD ount automatically at system boot.
So i edited the /etc/fstab and inserted the SSD with an mountpoint.
This seems to work because i can mount the ssd with mount -a
There is only one thing, the SSD is not mounted automatically even though i inserted the auto-option in fstab.
because OpenWRT uses a universal configuration Interface (uci) with additional config-files, have i to insert additional entries in these config-files?

Re: automount m2-SSD in Nano Pi R5s

Posted: Wed Jul 23, 2025 9:08 am
by tunnellend
I have this error too, did you fix it?

Re: automount m2-SSD in Nano Pi R5s

Posted: Sat Aug 30, 2025 9:53 am
by bob
I did something like:

root@FriendlyWrt:~# vi /etc/rc.local
# Put your custom commands here that should be executed once
# the system init finished. By default, this file does nothing.
mkdir -p /mnt/nvme0n1p9
mkdir -p /mnt/sda1
mount -a


nvme0n1 is my internal SSD
sda1 is my USB SSD

I've got my file system on nvme0n1, it seems to mount all by itself fine at /
I don't think I need mkdir -p /mnt/nvme0n1p9

Re: automount m2-SSD in Nano Pi R5s

Posted: Thu Jul 09, 2026 8:32 am
by jasperwilde09
If mount -a works but the drive isn't mounted during boot, I'd also check whether the block-mount service is enabled. FriendlyWrt/OpenWrt doesn't always rely on /etc/fstab the same way a standard Linux distribution does.
You can check with:
service fstab enabled
service fstab status
or inspect the UCI configuration:
uci show fstab
If the partition isn't defined there, running block detect > /etc/config/fstab (or merging the generated section into your existing config) may help. Also make sure the filesystem modules for your SSD's format (ext4, exFAT, NTFS, etc.) are installed, since a missing driver can also prevent mounting during boot even if manual mounting works later.