From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; UNIX) Opera 7.10 [en] Description of problem: mkinitd fails to detect rootfs when commented out entry present for '/' in /etc/fstab and therefore thinks rootfs is on LVM, which invokes lvmscan, which is not installed on system. here's revelant part of code run: ++ awk '{ if ($2 == "/") { print $1; }}' /etc/fstab + rootdev=#LABEL=/ /dev/hda2 + echo '#LABEL=/' /dev/hda2 + cut -d/ -f3 + grep loop + echo '#LABEL=/' /dev/hda2 + cut -c1-6 + grep LABEL= ++ ls -l '#LABEL=/ /dev/hda2' ls: #LABEL=/ /dev/hda2: No such file or directory ++ sed -e 's/.* \([0-9]\+\), *[0-9]\+.*/\1/' + major= + '[' '' -ne 58 ']' /sbin/mkinitrd: line 357: [: : integer expression expected + root_lvm=1 Version-Release number of selected component (if applicable): mkinitrd-3.3.10-1 How reproducible: Always Steps to Reproduce: 1.add '#LABEL=/ /' to /etc/fstab 2.run mkinitrd Additional info:
Created attachment 92291 [details] patch to fix the issue
*** This bug has been marked as a duplicate of 65249 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.