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

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

 



On Fri, 2005-08-26 at 14:23 +0000, Kahn Seidl wrote:
> /dev/hda1               1        1912    15358108+   7  HPFS/NTFS
> /dev/hda2            1913        1925      104422+  83  Linux
> /dev/hda3   *        1926        3850    15462562+  83  Linux
> /dev/hda4            3851        7296    27679995    5  Extended
> /dev/hda5            3851        7296    27679963+  8e  Linux LVM
> 
> 
> 
> please note this is from a freshly installed fc4, not fc3.   I would like to 
> retrieve my fc3 back.
> 
> martin

OK, taking a guess from this as to which partition is which, I am
assuming that /dev/hda1 is your Windows C: partition, that /dev/hda2 is
your /boot partition and that /dev/hda3 is your / partition.  /dev/hda5
is most likely your /home or something partition??

So, now, your grub.conf should have something like this:

title Fedora Core (2.6.12-1.1372_FC3)
     root (hd0,1)
     kernel /vmlinuz-2.6.12-1.1372_FC3 ro root=/dev/hda3 rhgb quiet
     initrd /initrd-2.6.12-1.1372_FC3.img

As explained in another email, the root line refers to the, usually,
separate /boot partition and starts counting from 0, so /dev/hda2 is
equivalent to (hd0,1)....

Then on the kernel line you can either use labels or actual device
names, I prefer to use device names, so we simply directly specify
the /dev/hda3 there.  Of course, I am assuming that /dev/hda3 is in fact
your "/" partition.

I suppose the other possibility is that the "/" partition is inside the
LVM on /dev/hda5, but then we would need to specify the "LVM" device
name, not the raw /dev/hda5 name....

You said you were receiving a kernel panic.  Can you post the grub.conf
line that at least gets you to a kernel panic and then a rough
transcription of the errors just before the panic?

--Rob


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

  Powered by Linux