====== How to remove the /ro and /rw stuff ====== Ok, I've lived with /ro and /rw for over a year and I don't like it. I don't like the fact that I lose the log files on a crash, I don't like to hunt for the location of files, and I don't like to hit save in my editor to find out the filesystem is mounted ro. Maybe in a year when my flash cards give up from being written too much I will go back, but for now, I want to eliminate this stuff. Emulate at your own risk! Start in the top-level (root) of your distribution and run the following bash commands to move files to where they normally belong: for f in `cd ro; find .`; do if [ -L $f ]; then rm $f; fi; done cp -ar ro/* . rm -rf ro rw Now we need to fix the boot scripts: cd etc/init.d perl -n -i -e 'print unless /^tar/' mountall.sh perl -n -i -e 'print unless /cp -Rp/' voyage-util And let's take care of the remountro and remountrw scripts: cd ../.. echo 'echo "... NO-OP: remountrw is no longer needed."' >usr/local/sbin/remountrw echo 'echo "... NO-OP: remountro is no longer needed."' >usr/local/sbin/remountro perl -p -i -e 's;/rw ;/tmp;' etc/fstab This works for me, but I can't guarantee that I didn't miss something... Enjoy! * Thorsten von Eicken ==== Update 2009-09-03 ==== This breaks my voyage 0.6.2 distribution. After executing the first line, my Alix doesn't find any command (e.g. "-bash: /bin/rm: No such file or directory") and can't boot either saying: Booting 'voyage-linux-10Aug09' root (hd0,0) Filesystem type is ext2fs, partition type 0x83 kernel /vmlinuz root=LABEL=ROOT_FS console=ttyS0,38400n8 Error 15: File not found Press any key to continue... This is after GRUB trying to boot the kernel. I have to reflash my SD card to see for another solution. I will try just to execute a 'remountrw' with a cron.reboot. * Jens Werner Note: Doesn't work with cron.reboot method. ===== Working method for Voyage 0.6.2 ===== As you can see while booting, voyage temporarily mounts the filesystem rw: Remounting / as read-write ... Removing /etc/nologin ... Done. Remounting / as read-only ... You can easily find this code in /etc/init.d/voyage-util. In line 77f. you can find: echo -n "Remounting / as read-only ... " #/bin/mount / -o remount,ro /usr/local/sbin/remountro Now you can easily comment out line 79 so that the above lines look like: echo -n "Remounting / as read-only ... " #/bin/mount / -o remount,ro #/usr/local/sbin/remountro Filesystem will be mounted rw at reboot now. * Jens Werner * Rodney Berriman (updated for latest 0.6.X Jan 2010)