Red Hat Bugzilla – Bug 154706
LABEL directives in fstab cause machine to fail to boot
Last modified: 2007-11-30 17:07:17 EST
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):
*** This bug has been marked as a duplicate of 125939 ***