PDA

View Full Version : My changes in /etc/fstab put back after a reboot



amateur
07-26-2004, 08:48 AM
Hello I am new in linux. My problem is that my changes in /etc/fstab put back after a reboot.

If i make following changes:

/dev/hda2 /mnt/hda2 ext2 noauto,users,exec 0 0
(orginal)

/dev/hda2 /mnt/hda2 vfat noauto,users,exec,usermask=000 0 0
(the changed version)

With this change i can mount my Fat32 partition. But if i make a reboot all the changes put back.

What can i make?

shah
07-27-2004, 10:18 AM
Try comment out the original.
Add your /dev/hda2 /mnt/hda2 vfat noauto,users,exec,usermask=000 0 0
at the top of #Added by KNOPPIX
usually under /dev/cdrom or something..

CrashedAgain
07-27-2004, 11:46 PM
Hello I am new in linux. My problem is that my changes in /etc/fstab put back after a reboot.

If i make following changes:

/dev/hda2 /mnt/hda2 ext2 noauto,users,exec 0 0
(orginal)

/dev/hda2 /mnt/hda2 vfat noauto,users,exec,usermask=000 0 0
(the changed version)

With this change i can mount my Fat32 partition. But if i make a reboot all the changes put back.

What can i make?

Knoppix redetects all partitions & writes a standard fstab with each boot when running off the CD or from a 'Knoppix style' HD install. 'Debian style' HD install doesn't do this. There is two solutions:

1) Use a persistent home & save your configuration settings to HD then boot with bootcode 'home=scan myconfig=scan'
2) If you are HDinstalled, use bootcode 'nofstab'