sligthly OT: fstab can be evil..

Derek Broughton derek at pointerstop.ca
Thu Feb 12 13:55:33 UTC 2009


O. Sinclair wrote:

> just to help someone else avoid getting in the jam I did..
> 
> the computer (8.04.1 with all updates) ran an diskcheck on boot and
> prompted something re "line 7 in fstab wrong" but booted nicely.
> 
> So I went to System Settings, Advanced and "Disk and Filesystems". Noted
> that the "/" partion was not Enabled and "fixed" that.
> 
> On next boot I get about 20 lines of errors
> "etc/init.d/rc:317:sed:permission denied "/bin/sh"" .
> Booting to a shell did not work either, nor an older kernel.
> 
> Booted with Knoppix and after much running around files found that my
> "enabling" had added an extra line for the root partition in fstab so
> there were now 2 lines. Deleted the "new" line and all was fine.
> 
> conclusion: if it aint broken don't fix it when it comes to fstab

My conclusion would be slightly different - whether or not it's broken,
don't try to fix it via "System Settings".  At the very least, look at what
System Settings has done...
-- 
derek





More information about the kubuntu-users mailing list