<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Tod wrote:
<blockquote cite="mid:47FD6AB3.2080603@stthomasepc.org" type="cite">Michael
Schwendt wrote:
  <br>
  <blockquote type="cite">On Wed, 09 Apr 2008 15:49:19 -0400, Tod
wrote:
    <br>
    <br>
    <blockquote type="cite">I'm attempting to upgrade one of my servers
from FC6-FC7 on the way to FC8.&nbsp; I followed all the recommendations
including the disk LABELs, etc and everything seemed to work.&nbsp; But once
I rebooted I got a kernel panic because my /boot directory can't be
found.
      <br>
      <br>
I have two IDE drives both LVM managed except for a small boot
partition on the first drive.&nbsp; I can boot back to FC6 just fine, but
get the kernel panic when I try the FC7 kernel.&nbsp; My grub.conf looks
like this:
      <br>
      <br>
      <br>
# grub.conf generated by anaconda
      <br>
#
      <br>
# Note that you do not have to rerun grub after making changes to this
file
      <br>
# NOTICE:&nbsp; You have a /boot partition.&nbsp; This means that
      <br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; all kernel and initrd paths are relative to /boot/, eg.
      <br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; root (hd0,0)
      <br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
      <br>
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; initrd /initrd-version.img
      <br>
#boot=/dev/hda
      <br>
default=0
      <br>
timeout=5
      <br>
splashimage=(hd0,0)/grub/splash.xpm.gz
      <br>
hiddenmenu
      <br>
title Fedora (2.6.23.15-80.fc7)
      <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; root (hd0,0)
      <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; kernel /vmlinuz-2.6.23.15-80.fc7 ro root=LABEL=/boot
      <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; initrd /initrd-2.6.23.15-80.fc7.img
      <br>
    </blockquote>
    <br>
root=LABEL=/boot&nbsp; clearly is wrong. The kernel root= parameter
specifies
    <br>
the system's root partition, but LABEL=/boot points to your
    <br>
/boot partition instead, /dev/sda1 = (hd0,0).
    <br>
  </blockquote>
  <br>
  <br>
Yes my mistake, see below.
  <br>
  <br>
  <br>
  <blockquote type="cite"><br>
    <blockquote type="cite">title Fedora Core (2.6.22.14-72.fc6)
      <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; root (hd0,0)
      <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; kernel /vmlinuz-2.6.22.14-72.fc6 ro
root=/dev/VolGroup00/LogVol00 hdc=ide_scsi
      <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; initrd /initrd-2.6.22.14-72.fc6.img
      <br>
      <br>
      <br>
After the first time I booted I changed the FC7 kernel line, it
originally looked the same as the FC6 line.&nbsp; That didn't help. </blockquote>
    <br>
That's strange.
    <br>
  </blockquote>
  <br>
I guess it would be if I could type.&nbsp; The /boot label thing was just
wrong, I don't know where I picked that up from.&nbsp; The original fc7
kernel line was:
  <br>
  <br>
kernel /vmlinuz-2.6.23.15-80.fc7 ro root=/dev/VolGroup00/LogVol00
hdc=ide_scsi
  <br>
  <br>
... very _similar_ to the original fc6 line.
  <br>
  <br>
  <br>
Its funny because the only thing that isn't volume managed is the /boot
partition, which is labeled.&nbsp; My understanding was that LVM managed
partitions don't require labeling.
  <br>
  <br>
I also thought I read that all drives were now treated as SCSI drives.
With that in mind I tried removing hdc=ide_scsi to see if that would
make any difference.&nbsp; That didn't really help either.&nbsp; But I can still
boot up FC6 without a problem.
  <br>
  <br>
If anybody has any ideas I'd certainly appreciate it.
  <br>
  <br>
Thanks.
  <br>
  <br>
</blockquote>
There was a problem with the dependency on LVM and/or the RAID drivers
in the kernel installation on FC7, you had to rebuild the initrd to get
the right drivers available on boot so that the root partition could be
activated. I got round this by rebuilding initrd in the %post section
of the kickstart before rebooting. You should be able to get round it
by reinstalling the kernel package, it should detect the correct
drivers now the system is built! Alternatively run mkinitrd for the new
kernel and then reboot!<br>
<br>
<br>
<div class="moz-signature">-- <br>
<title>Signature</title>
<div class="Section1">
<table class="MsoNormalTable" style="width: 100%;" border="0"
 cellpadding="0" width="100%">
  <tbody>
    <tr style="">
      <td style="padding: 1.5pt;" valign="top">
      <p class="MsoNormal">Howard Wilkinson</p>
      </td>
      <td style="padding: 1.5pt;" valign="top">
      <p class="MsoNormal">Phone:</p>
      </td>
      <td style="padding: 1.5pt;" valign="top">
      <p class="MsoNormal">+44(20)76907075</p>
      </td>
    </tr>
    <tr style="">
      <td style="padding: 1.5pt;" valign="top">
      <p class="MsoNormal">Coherent Technology Limited</p>
      </td>
      <td style="padding: 1.5pt;" valign="top">
      <p class="MsoNormal">Fax:</p>
      </td>
      <td style="padding: 1.5pt;" valign="top">
      <p class="MsoNormal">&nbsp;</p>
      </td>
    </tr>
    <tr style="">
      <td style="padding: 1.5pt;" valign="top">
      <p class="MsoNormal">23 Northampton Square,</p>
      </td>
      <td style="padding: 1.5pt;" valign="top">
      <p class="MsoNormal">Mobile:</p>
      </td>
      <td style="padding: 1.5pt;" valign="top">
      <p class="MsoNormal">+44(7980)639379</p>
      </td>
    </tr>
    <tr style="">
      <td style="padding: 1.5pt;" valign="top">
      <p class="MsoNormal">United Kingdom, EC1V 0HL</p>
      </td>
      <td style="padding: 1.5pt;" valign="top">
      <p class="MsoNormal">Email:</p>
      </td>
      <td style="padding: 1.5pt;" valign="top">
      <p class="MsoNormal"><a name="howardcohtech.com"></a><a class="moz-txt-link-abbreviated" href="mailto:howard@cohtech.com">howard@cohtech.com</a></p>
      </td>
    </tr>
  </tbody>
</table>
<p class="MsoNormal">&nbsp;</p>
</div>
</div>
</body>
</html>