Mount data partition during startup


Forum: Other Help Topics
Topic: Mount data partition during startup
started by: Poindexter

Posted by Poindexter on Mar. 01 2007,12:24
My data is stored on /dev/hda5, which so far I have mounted each time manually via the commandline (mount /dev/hda5 /mnt/hda5).  I would like to mount that partition automatically during bootup.  However, when I edit fstab and reboot, fstab has been reedited ("BY KNOPPIX") and that partition is reset to noauto.
This is really annoying, what do I do?  And thanks! :cool:

Posted by mikshaw on Mar. 01 2007,15:36
Traditional debian-style install, frugal, or other?
You could add a mount command to /opt/bootlocal.sh on frugal and enable backup/restore.
You can boot with "nofstab" option in a debian-style install.

Posted by Poindexter on Mar. 02 2007,00:22
Many thanks, Mikshaw.
The nofstab option worked asofar as KNOPPIX won't mess with my fstab anymore.  However, my data partition still doesn't get automounted.
I'm working on your other suggestions.  Cheers.

Posted by Poindexter on Mar. 02 2007,14:36
Sorted! :p
Strangely, although I have a hard disk install, I had to do both:
* adding the nofstab-cheatcode to GRUB and ...
* adding "mount /dev/hda5 /mnt/hda5" to /opt/bootlocal.sh
I haven't sorted out backup / restore (filetool.sh), though.  When I enter a directory it it tells me it's an invalid device.  Is there a newbie guide to filetool.sh?
Well, it's been emotional.  Thanks for the help!

Posted by mikshaw on Mar. 02 2007,16:49
If your hard disk install is a fully-writable debian-style install, the backup/restore process is unnecessary. This process was designed for the compressed file system types (frugal, embedded, livecd), where much of the filesystem is mounted rather than permanently writable.
Posted by Poindexter on Mar. 02 2007,20:57
Thank you for the info. :;):
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.