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

Paul Howarth paul at city-fan.org
Fri Aug 26 16:13:36 UTC 2005


Tim wrote:
> !down upside read don't I, post top not do Please
> 
> 
> Kahn Seidl:
> 
> 
>>/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
> 
> 
> Looks like hda3 is the /boot partition, unless you've accidentally made
> the wrong partition active.

Looking at the sizes, I think you may be on to something there. 
/dev/hda2 is 100MB, the default size for a /boot partition.

 > I'd be guessing your partitions are
> something like this:
> 
> hd0,0 or hda1  Windows
> hd0,1 or hda2  something for Linux
> hd0,2 or hda3  /boot
> hd0,4 or hda5  logical volume containing / and most other partitions
> 
> And I'd expect grub.conf to be something like:
> 
> root (hd0,2)
>   kernel /vmlinuz-something ro root=/dev/VolGroup00/LogVol00
>   initrd /initrd-something.img
> 
> (With the "something" being whatever version numbers for your installed
> kernel.  Boot the rescue disc and list the contents of the partitions to
> find what's on them.)
> 
> On the other hand, if hda2 is your /boot partition, try replacing "root
> (hd0,2)" with "root (hd0,1)".

My guess is:

hd0,0 or hda1  Windows
hd0,1 or hda2  /boot (shared between FC3 and FC4?)
hd0,2 or hda3  / for FC3
hd0,4 or hda5  logical volume containing / for FC4

Please boot your rescue CD, mount /dev/hda2 and tell us what files are 
there.

Paul.




More information about the fedora-list mailing list