
Originally Posted by
Reven
It seem that when system reboot ,the file fstab is rewriten.
Only the part of the file after the first line "#Added by KNOPPIX" is rewritten.
So make changes above that line, like this:
Code:
/dev/hda6 / ext3 defaults,errors=remount-ro 0 1
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
# Put your changes here
/dev/whatever /mountpoint ...
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=000 0 0
....
Then you will still get the nice feature of Knoppix adding lines to your fstab - for example, if you have a USB drive plugged in when you turn on the computer, Knoppix will add a line for it in fstab and you can access it using a desktop icon.
Also, with my version (3.4) I had to change the system initialisation sequence for the drive to actually be mounted, by doing the following in a console:
Code:
su root
ln -s /etc/init.d/mountall.sh /etc/rcS.d/S39mountall