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

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

 



Dunno who:

>>> /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

Kahn Seidl:

> Ok, hda1 is for win xp
> hda2 is boot
> hda3 is what fc4 was installed on
> hda4/5 is the lvm which fc3 is installed on.
> 
> i still have access to the lvm through fc4.  when I tried pointing grub to 
> hda5 it said cant mount partition.

Which may mean you're doing it wrong, or there's a problem with the
partition.

> I installed fc4 because fc3 wasnt working,   I want to get fc3 back and 
> uninstall fc4.

So, you've got to fix up FC3, as well as manage to get it to boot.  You
may well have set your boot partition up so it only suits booting FC4.
If you can list the files in it, someone could say.

> Here is my grub.conf
> 
> default=0
> timeout=5
> splashimage=(hd0,2)/boot/grub/splash.xpm.gz
> hiddenmenu
> title Fedora Core (2.6.11-1.1369_FC4)
>         root (hd0,2)
>         kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet
>         initrd /boot/initrd-2.6.11-1.1369_FC4.img
> title fc3
>         root (hd0,1)
>         kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
>         initrd /initrd-2.6.9-1.667.img
> title Other
>         rootnoverify (hd0,0)
>         chainloader +1
> 
> I have tried several different variations on that, but always get the kernel 
> panic.

I strongly suggest you stop trying to use labels on a multiboot system.
You've probably got two different partitions both labelled as "/".
Instead, directly refer to the partition by device or volume group.
Since it's the only LVM on the drive, it probably started counting from
zero.  Also remove the RHGB and quiet options so you can watch what's
going on.  Try something like the following.

title Fedora Core (2.6.11-1.1369_FC4)
  root (hd0,2)
  kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/hda3
  initrd /boot/initrd-2.6.11-1.1369_FC4.img

title fc3
  root (hd0,1)
  kernel /vmlinuz-2.6.9-1.667 ro root=root=/dev/VolGroup00/LogVol00
  initrd /initrd-2.6.9-1.667.img

-- 
Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.


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

  Powered by Linux