Bug 18660
| Summary: | Kernel panic: VFS: Unable to mount root fs on 03:05 | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | David Thiede <dthiede> |
| Component: | anaconda | Assignee: | Michael Fulbright <msf> |
| Status: | CLOSED DUPLICATE | QA Contact: | David Lawrence <dkl> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.0 | CC: | bero |
| 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: | 2000-10-27 19:45:10 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
David Thiede
2000-10-08 21:23:18 UTC
Your lilo.conf is broken. Device 03:05 is /dev/hda5, which happens to be your swap partition. I'm quite sure you have a "root=/dev/hda5" somewhere in your /etc/lilo.conf, where it should be "root=/dev/hda6". Edit lilo.conf to fix this, then run /sbin/lilo as root. /dev/hda5 used to be my / partitiion. I found that an upgrade to 7.0 failed
because I didn't have enough space in /usr. I used fdisk to merge 4 partitions
together to form a single /. Whille doing this I moved swap from /dev/hda6 to
/dev/hda5 and made / /dev/hda6 with my old /dev/hda10 moving to /dev/hda7 when
things renumbered.
Once the repartion was complete I booted from the install CD and performed a
custom install. I chose mbr as the location for lilo. The install went
flawlessly but when I rebooted I found the problem. Late last night I thought to
compare lilo.conf with the version from my previous install (yess I backed up
completely) and noted that there was an initrd entry that my olld one didn't
have. The root specification correctly pointed to /dev/hda6 Just for fun, I
commented out the initrd and ran lilo. I got an error message:
Fatal: sector 18126678 too large for linear mode (try 'lba32' instead)
The man page for lilo doesn't show lba32 but I tried it anyway. This time lilo
ran without error and the system booted correctly from hard disk.
My conclusion is that the install script must not have noticed that lilo failed
to install a new mbr since it would appear from your analysis that /dev/hda5 was
still marked as the boot partition even though the /etc/lilo.conf did not show
this.
BTW, when the system booted after rerunning lilo, I saw a brief spash screen (1
sec?) that seemed to show a graphical boot partition selection screen. That
would be great to have since I really miss the way the classic Amiga handled
selection of a boot disk.
Reassigning to anaconda (mount can't do anything about the installer failing to detect lilo errors). Yes, lilo now has a graphical prompt - if you want to see it for longer, modify /etc/lilo.conf and rerun lilo. |