Bug 154706

Summary: LABEL directives in fstab cause machine to fail to boot
Product: Red Hat Enterprise Linux 4 Reporter: William D. Hamblen <whamblen>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Mike McLean <mikem>
Severity: low Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-18 19:28:02 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 William D. Hamblen 2005-04-13 16:50:38 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1

Description of problem:
I installed WS 4 on a Latitude D600.  It created an fstab something like what I've pasted below where hda1=vfat_diag_part, hda2=windowsXP, hda3=/boot, hda4=ext, hda5=swap, hda6=/.  I was overwriting a SuSE install if that makes any difference.  Sorry I have to work from memory, but this fstab is correct in the essentials.

LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot1            /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
LABEL=SWAP-hda5         swap                    swap    defaults        0 0

After the installation finished, the machine dropped me to recovery mode during the first boot - complaining that it couldn't fsck.ext3 /dev/hda5 (that's swap).  I rebooted several times and it was always the same.  Also, df showed that /boot was mounted but was the same size and space used as / (clearly not true) yet ls showed /boot was empty.  /etc/mtab showed that these were mounted rw but that was also not true.  swap was not mounted either.  

If I remounted / rw and mounted /boot and turned on swap the system seemed normal.  I eventually fixed this by removing *all* the LABEL directives and replacing them with the device names (just doing swap wasn't enough, nor was rerunning mkswap). 

I wish I had taken notes to give a better bug report but I didn't so this is all I have.  Sorry.  The anaconda logs are available if that's useful.

Version-Release number of selected component (if applicable):


How reproducible:
Didn't try


Additional info:

Comment 1 Chris Lumens 2005-04-18 19:28:02 UTC

*** This bug has been marked as a duplicate of 125939 ***