Bug 237321
Summary: | Latest fc5 kernel doesn't boot! | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | dpfiz | ||||||
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 5 | CC: | dedourek, pjones | ||||||
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: | 2008-02-27 07:38:29 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: | |||||||||
Attachments: |
|
Description
dpfiz
2007-04-20 19:42:07 UTC
Please upload your initrd file. The name of the file is in /etc/grub.conf, on the "initrd" line. Created attachment 153212 [details]
initrd file for non-booting kernel
as requested.
Created attachment 153215 [details]
initrd file for ok (older) kernel
That's the strangest initrd I've seen. Please upload the working one. Last few lines of broken init script: echo Activating logical volumes lvm vgchange -ay --ignorelockingfailure VolGroup00 resume /dev/VolGroup00/LogVol01 echo Creating root device. mkrootdev -t ext3 ext3 -o defaults,ro defaults,ro /dev/VolGroup00/LogVol00 /dev/VolGroup00/LogVol00 echo Mounting root filesystem. mount /sysroot echo Setting up other filesystems. setuproot echo Switching to new root and running init. switchroot So instead of: mkrootdev -t ext3 -o defaults,ro /dev/VolGroup00/LogVol00 the new initrd has mkrootdev -t ext3<newline>ext3 -o defaults,ro<newline>defaults,ro ... (In reply to comment #3) > Created an attachment (id=153215) [edit] > initrd file for ok (older) kernel > OK, can you post contents of /etc/fstab? Somehow the parsing of that file has gone wrong. Here is my fstab file, looks normal, /dev/VolGroup00/LogVol00 / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 devpts /dev/pts devpts gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 /dev/VolGroup00/LogVol01 swap swap defaults 0 0 /dev/sda1 /mnt/windows ntfs ro,defaults,umask=0222 0 0 /dev/VolGroup00/LogVol00 / ext3 defaults 1 2 Note: The above is with the working kernel version. I cannot access the fstab file with the kernel which won't boot ???!!!? (In reply to comment #8) > Note: The above is with the working kernel version. I cannot access the fstab > file with the kernel which won't boot ???!!!? Never mind this comment...the fstab file is permanent. I was thinking about the mtab file. (In reply to comment #7) > Here is my fstab file, looks normal, There are two entries for your root filesystem there. Remove one and everything should work OK after rebuilding the initrd. (And do you have any idea how that happened?) mkinitrd will put both sets of options from both fstab entries into the mkrootdev command it builds. This is the real bug. Hi, Thanks for the suggestion...unfortunately it still leads to the same result. (I removed the last line from the fstab file I quoted above). Incidentally, I guess that extra mount line for the top filesystem appeared when I looked up how to mount my other partition and cut and pasted the directions. In any case, it hasn't caused any problems thus far. (In reply to comment #11) > Hi, Thanks for the suggestion...unfortunately it still leads to the same result. > (I removed the last line from the fstab file I quoted above). You need to rebuild your initrd with mkinitrd. (Or just uninstall and reinstall the kernel.) Thank you very much. It boots fine now !!! There are other issues that I need to resolve though... This bug seems to have been fixed. |