Bug 122826

Summary: fsck on startup fails if no root entry present in /etc/fstab
Product: [Fedora] Fedora Reporter: Mike Hearn <mike>
Component: basesystemAssignee: Bill Nottingham <notting>
Status: CLOSED WONTFIX QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 1CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-05-21 18:41:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.