HD Install :: Automatically mounting a hard drive partition



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.
For a frugal, the easiest is to add the command in bootlocal.sh
or else edit fstab.

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?

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.

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..
Next Page...
original here.