FC6->FC7 Kernel Panic
Tod
tod at stthomasepc.org
Wed Apr 9 19:58:38 UTC 2008
Tod wrote:
> I'm attempting to upgrade one of my servers from FC6-FC7 on the way to
> FC8. I followed all the recommendations including the disk LABELs, etc
> and everything seemed to work. But once I rebooted I got a kernel panic
> because my /boot directory can't be found.
>
> I have two IDE drives both LVM managed except for a small boot partition
> on the first drive. I can boot back to FC6 just fine, but get the
> kernel panic when I try the FC7 kernel. My grub.conf looks like this:
>
>
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to this file
> # NOTICE: You have a /boot partition. This means that
> # all kernel and initrd paths are relative to /boot/, eg.
> # root (hd0,0)
> # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
> # initrd /initrd-version.img
> #boot=/dev/hda
> default=0
> timeout=5
> splashimage=(hd0,0)/grub/splash.xpm.gz
> hiddenmenu
> title Fedora (2.6.23.15-80.fc7)
> root (hd0,0)
> kernel /vmlinuz-2.6.23.15-80.fc7 ro root=LABEL=/boot
> initrd /initrd-2.6.23.15-80.fc7.img
> title Fedora Core (2.6.22.14-72.fc6)
> root (hd0,0)
> kernel /vmlinuz-2.6.22.14-72.fc6 ro
> root=/dev/VolGroup00/LogVol00 hdc=ide_scsi
> initrd /initrd-2.6.22.14-72.fc6.img
>
>
> After the first time I booted I changed the FC7 kernel line, it
> originally looked the same as the FC6 line. That didn't help. My fstab
> looks like this:
>
> /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
> LABEL=SATA1 /mnt/sata1 ext3 defaults 0 0
> LABEL=SATA2 /mnt/sata2 ext3 defaults 0 0
>
> The bottom two entries are partitions I have on a supplemental SATA drive.
>
> sfdisk reports this:
>
> Disk /dev/hda: 3148 cylinders, 16 heads, 63 sectors/track
> Warning: The partition table looks like it was made
> for C/H/S=*/255/63 (instead of 3148/16/63).
> For this listing I'll assume that geometry.
> Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
>
> Device Boot Start End #cyls #blocks Id System
> /dev/hda1 * 0+ 12 13- 104391 83 Linux
> /dev/hda2 13 196 184 1477980 8e Linux LVM
> /dev/hda3 0 - 0 0 0 Empty
> /dev/hda4 0 - 0 0 0 Empty
>
> Disk /dev/hdb: 77545 cylinders, 16 heads, 63 sectors/track
> Units = cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0
>
> Device Boot Start End #cyls #blocks Id System
> /dev/hdb1 0+ 77544 77545- 39082648+ 8e Linux LVM
> /dev/hdb2 0 - 0 0 0 Empty
> /dev/hdb3 0 - 0 0 0 Empty
> /dev/hdb4 0 - 0 0 0 Empty
>
> Disk /dev/sda: 30401 cylinders, 255 heads, 63 sectors/track
> Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
>
> Device Boot Start End #cyls #blocks Id System
> /dev/sda1 * 0+ 15199 15200- 122093968+ 83 Linux
> /dev/sda2 15200 30400 15201 122102032+ 83 Linux
> /dev/sda3 0 - 0 0 0 Empty
> /dev/sda4 0 - 0 0 0 Empty
>
> Disk /dev/dm-0: 391 cylinders, 255 heads, 63 sectors/track
>
> sfdisk: ERROR: sector 0 does not have an msdos signature
> /dev/dm-0: unrecognized partition table type
> No partitions found
>
> Disk /dev/dm-1: 118 cylinders, 255 heads, 63 sectors/track
>
> sfdisk: ERROR: sector 0 does not have an msdos signature
> /dev/dm-1: unrecognized partition table type
> No partitions found
>
>
> The ERROR's gave me pause, but I'm booting FC6 ok. Could this be the
> problem?
>
> Any advice would be great. I can post more information if it would help.
>
>
> TIA - Tod
>
Correction: The panic is related to the message I get at boot saying
could not find filesysytem /dev/root.
- Tod
More information about the fedora-list
mailing list