sligthly OT: fstab can be evil..

O. Sinclair o.sinclair at gmail.com
Thu Feb 12 12:42:51 UTC 2009


Nils Kassube wrote:
> 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)?
actually it consisted of the number "1" that had somehow "spilled over" 
from the "0 1" part of the partition / on line 6. That was all (I did 
save a copy...)

> 
>> 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/>.
Interesting is the word, I will take my time to do so




More information about the kubuntu-users mailing list