Bug 229429 - mkinitrd can't handle 'auto' file system type entry in fstab for '/'
mkinitrd can't handle 'auto' file system type entry in fstab for '/'
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Kernel Maintainer List
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2007-02-20 18:55 EST by daniel peess
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-02-20 19:55:22 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
error mounting /dev/root on /sysroot kernel panic (143.36 KB, image/jpeg)
2007-02-20 18:55 EST, daniel peess
no flags Details

  None (edit)
Description daniel peess 2007-02-20 18:55:13 EST
kernel-2.6.19-1.2911.fc6 doesn't boot, kernel-2.6.19-1.2895.fc6 still boots fine.

during booting this message appears: error mounting /dev/root on /sysroot.
afterwards the kernel panics because it can't mount any root file system.

[root@smeagol ~]# yum -C list | grep 'installed\s*$' | grep 'kernel\|initrd'
kernel.x86_64                            2.6.19-1.2895.fc6      installed       
kernel.x86_64                            2.6.19-1.2911.fc6      installed       
mkinitrd.x86_64                           installed

have a look at the kernel panic screenshot.
Comment 1 daniel peess 2007-02-20 18:55:13 EST
Created attachment 148459 [details]
error mounting /dev/root on /sysroot kernel panic
Comment 2 daniel peess 2007-02-20 19:17:19 EST
i've just created a new initrd for the 2.6.19-1.2895.fc6 kernel, now this kernel
also doesn't boot anymore:
error mounting /dev/root on /sysroot as auto: No such device.

so it's probably a bug in mkinitrd-
Comment 3 daniel peess 2007-02-20 19:55:22 EST
i've compared the two ramdisks:

@@ -84,7 +80,7 @@
 lvm vgchange -ay --ignorelockingfailure  VolGroup00
 resume /dev/md1
 echo Creating root device.
-mkrootdev -t ext3 -o defaults,ro /dev/VolGroup00/LogVol00
+mkrootdev -t auto -o defaults,ro /dev/VolGroup00/LogVol00
 echo Mounting root filesystem.
 mount /sysroot
 echo Setting up other filesystems.

i've switched the root file system fstab entry from 'ext3' to 'auto' myself...
mkinitrd can't handle that.

works fine now, sorry for the noise.

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