Bug 122826 - fsck on startup fails if no root entry present in /etc/fstab
Summary: fsck on startup fails if no root entry present in /etc/fstab
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: basesystem
Version: 1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-05-08 19:29 UTC by Mike Hearn
Modified: 2014-03-17 02:45 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-05-21 18:41:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mike Hearn 2004-05-08 19:29:20 UTC
Apologies if this is the wrong component, I was not sure where to file
it. If the line for the root filesystem is missing in /etc/fstab then
bootup will fail apparently due to fsck being passed "/" as an
argument rather than a device. This prints an uber-scary message about
the superblock being toasted and drops you into a recovery console.

I have no clue how my machine got into the state where it was missing
this entry. I did an an unclean shutdown but it's a rather odd
"corruption" to get :)

Comment 1 Bill Nottingham 2004-05-21 18:41:20 UTC
If you look at /proc/mounts, you'll have:

[notting@nostromo: ~]$ cat /proc/mounts
...
/dev/root / ext3 rw,noatime 0 0
...

Hence, it's a bit more code to dig out the root device name.

Probably won't fix this at this point.



Note You need to log in before you can comment on or make changes to this bug.