PDA

View Full Version : knoppix replaces my own fstab at new boot, how to prevent ?



schrippe
06-11-2004, 03:07 PM
i would like to export my home and usr directory to her own partition.

but when i adjust my fstab and reboot, knoppix 3.4 removes my fstab and replaces it with the "old" fstab created at installation time.


thanks

mi-ka
06-12-2004, 03:22 PM
/etc/init.d/knoppix-autoconfig script create fstab on every boot.

CrashedAgain
06-13-2004, 05:17 AM
AS mi-ka says, knoppix-autoconfig creates a new fstab. There are two solutions:
1) edit knoppix-autoconfig to comment out the part where it re-creates fstab
2) use 'Debian style' HD install instead of 'Knoppix -style'. Debian style does not use the knoppix autoconfig script. There are other changes as well, it loses some of the Knoppix autosetups & I'm not sure what else but it will keeps your fstab intact.

tnorala
06-13-2004, 07:53 AM
i found that by simply using "nofstab" as a bootparam (in lilo.conf, add it to the other stuff in the "append" line for vmlinuz), i could disable the fstab recreation.

after editing lilo.conf, be sure to run lilo again.

now fstab won't be rewritten and in fact you can carefully customize it to what to you want and knoppix will leave it alone.

the bootparam method seems safer than editing knoppix-autoconfig...

schrippe
06-14-2004, 01:47 PM
thanks.

problem is solved.

(append=nofstab)