Re: grub.conf emptied, and now i get kernel panic?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



well, boot is on /dev/hda2

boot is on /dev/hda2 and the lvm is hda5

which is what the boot is ont

if i specify /boot then it wont find the kernel

if I leave it as /vmlinuz
then it works allright.

but i still get a kernel panic


martin

From: Jeff Vian <jvian10@xxxxxxxxxxx>
Reply-To: jvian10@xxxxxxxxxxx,For users of Fedora Core releases <fedora-list@xxxxxxxxxx> To: akonstam@xxxxxxxxxxx,For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
Subject: Re: grub.conf emptied, and now i get kernel panic?
Date: Fri, 26 Aug 2005 08:33:57 -0500

On Fri, 2005-08-26 at 08:17 -0500, akonstam@xxxxxxxxxxx wrote:
> On Thu, Aug 25, 2005 at 02:38:26PM -0700, Craig White wrote:
> > On Thu, 2005-08-25 at 16:52 -0500, akonstam@xxxxxxxxxxx wrote:
> > > On Thu, Aug 25, 2005 at 12:41:28PM +0200, David Colomer wrote:
> > > >
> > > >
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > Hash: SHA1
> > > >
> > > > Kahn Seidl wrote:
> > > > > Somehow my grub.conf is emptied. But, what I did is put it back in the
> > > > > best I could from what someone else posted.
> > > > >
> > > > > title fc3
> > > > >   root (hd0,2)
> > > > >   kernel /vmlinuz-2.6.9-1.667 ro root=LABLE=/dev/hda2 rhgb quiet
> > > > >   initrd  /initrd-2.6.9-1.667.img
> > > > >
> > > I can't beleve no one mentioned this but the lines should be:
> > > kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABREL=/dev/hda2 rhgb quiet
> > >    initrd  /boot/initrd-2.6.9-1.667.img
> > ----
> > English as a second language for some, I understand. I thought English
> > was Aaron's primary language.
> >
> > LABEL #not LABLE or LABREL
> >
> > I believe the spelling is entirely significant
> > ----
> > >
> > > or am I going crazy.
> > ----
> You are right .. I can't spell. But my point is that the lines should
> be:
> kernel /boot/vmlinuz...
> initrd /boot/initrd..
>
> Not:
> kernel /vmlinuz...
> initrd /initrd...
>
> That is the problem.

I see 2 possibilities.
If there is a separate /boot partition (as I use) then the lines would
be
*********
title Fedora Core (2.6.12-1.1372_FC3)
   root (hd0,0)
   kernel /vmlinuz-2.6.12-1.1372_FC3 ro root=LABEL=/ rhgb quiet
   initrd /initrd-2.6.12-1.1372_FC3.img
***********

If there is no /boot partition then the alternate form would be correct

***********
title Fedora Core (2.6.12-1.1372_FC3)
   root (hd0,0)
   kernel /boot/vmlinuz-2.6.12-1.1372_FC3 ro root=LABEL=/ rhgb quiet
   initrd /boot/initrd-2.6.12-1.1372_FC3.img
***********

Note, that you can use either  root-LABEL=/  or root=/dev/hda2, but you
cannot mix the LABEL and device name in the same line.

Also, I noted that Kahn gave the stanza
> title fc3
>   root (hd0,2)
>   kernel /vmlinuz-2.6.9-1.667 ro root=LABLE=/dev/hda2 rhgb quiet
>   initrd  /initrd-2.6.9-1.667.img
which seems incorrect in one other way.
The second line [ root (hd0,2) ] likely does not point to /dev/hda2.
The way grub works that should point to the 3rd partition on the drive
(/dev/hda3). This would imply that /boot is in /dev/hda3 and if so then
having the kernel line without the /boot part would be correct.

Only Kahn can answer that part.

Mine which I showed above as [ root (hd0,0) ] actually points to
the /boot partition which is /dev/hda1. Grub starts counting partitions
from 0 but the partition table starts counting from 1.




> --
>
> =======================================================================
> P-K4
> -------------------------------------------
> Aaron Konstam
> Computer Science
> Trinity University
> telephone: (210)-999-7484
>

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux