Automatically mounting a hard drive partitionForum: HD Install Topic: Automatically mounting a hard drive partition started by: jhsu Posted by jhsu on May 26 2007,19:19
How do I get DSL to automatically mount a hard drive partition every time I start up? I'm finding that my hda3 partition does NOT automatically mount when I start up.
Posted by ^thehatsrule^ on May 26 2007,20:15
For a frugal, the easiest is to add the command in bootlocal.shor else edit fstab. Posted by jhsu on June 10 2007,14:06
Neither of these things worked. I went to "/etc/fstab" and changed the "noauto" in the hda3 line to "auto". It didn't work. When I rebooted, hda3 was NOT automatically mounted, and the change I made to the fstab file was lost.I went to "/KNOPPIX/opt/bootlocal.sh", but even with Super-user status, I wasn't allowed to make any changes to the file. What do I need to do to get hda3 to mount automatically? Posted by jhsu on June 10 2007,14:11
OK, adding "mount /mnt/hda3" in the bootlocal.sh file in the "/opt" directory.Why did this work given that the "/opt" directory is really on RAM? I thought that the contents of RAM are erased every time you reboot. Posted by curaga on June 10 2007,14:58
Because bootlocal.sh is included in the backup which is restored on boot. If you added fstab to it, changes to it would also stay..
Posted by ^thehatsrule^ on June 10 2007,17:28
Didn't know you were running a frugal.. but here's some explanations.Using /etc/fstab: after you edit it, you need to add it to your backup as curaga said, but then I think you also need to boot with the "nofstab" cheatcode. Anything in /KNOPPIX is read-only (not counting adding unionfs layers) |