sligthly OT: fstab can be evil..

Nils Kassube kassube at gmx.net
Thu Feb 12 11:51:06 UTC 2009


O. Sinclair wrote:
> 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 my system line 6 would be the / partition and line 7 is a comment. I 
would assume your offending line 7 is for the / partition because it 
wasn't enabled. Can you post that line of your fstab (or the entire 
file)?

> 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.

Interesting that the "Disk and Filesystems" tool didn't check the validity 
of the fstab and wrote a faulty file. Maybe you should file a bug at 
<https://bugs.launchpad.net/>.


Nils




More information about the kubuntu-users mailing list