[RESOLVED] Mounting USB Storage Device
-
Hi,
Trying to extend the /overlay using the following tutorial https://wiki.onion.io/Tutorials/Using-USB-Storage-as-Rootfs but I'm getting error when editing the fstab file as follows
root@Omega-09DB:/# block detect > /etc/config/fstab
/bin/ash: can't create /etc/config/fstab: Read-only file systemAny idea ?
Thanks
-
Seems like the issue is with the mounting of the filesystem. Found the fix via this blog https://drewsymo.com/2016/05/09/fixing-error-writing-fstab-read-only-file-system-2/
How come the wiki page does not include instruction to remount / so we can edit the fstab file ?
Able to mount the USB as /overlay now
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 7560360 38800 7114472 1% /
/dev/root 7680 7680 0 100% /rom
tmpfs 30576 500 30076 2% /tmp
/dev/sda1 7560360 38800 7114472 1% /overlay
overlayfs:/overlay 7560360 38800 7114472 1% /
tmpfs 512 0 512 0% /dev