sligthly OT: fstab can be evil..
o.sinclair at gmail.com
Thu Feb 12 14:01:45 GMT 2009
Derek Broughton wrote:
> 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...
I sort of agree but would say that fstab is best left alone unless you
really know what you are doing or/and experience problems.
More information about the kubuntu-users