Re: change from lilo to grub results in kernel panic



Jürgen Schöpf wrote:
Hi!

1) HISTORY
I ran my slackware 9 for years booting with lilo from /dev/hde3 (hde1 being an obsolete Win partition, hde2=swap). The high number of hd is due to hardware configuration of the GA-BX-board having 4 IDE slots, only 3+4 being usable as UDMA...

Last week I put Fedora 5 on /dev/hde1 and changed to grub alongside the installation. Fedora didn't recognise the bootable linux, so I added by hand what I knew from lilo.conf:

2) SITUATION
============================
LILO (extract):

append="hda=ide-scsi"
boot = /dev/hde
image = /boot/vmlinuz
root = /dev/hde3
label = Volkerding
read-only

============================
GRUB:

#boot=/dev/hde
title Fedora Core (2.6.15-1.2054_FC5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.15-1.2054_FC5.img
title Slack9
root = /dev/hde3
kernel (hd0,2) /boot/vmlinuz hda=ide-scsi vga=773

============================

3) PROBLEM

Fedora is smoothly booting. Slackware is starting to boot, but ends up with a "kernel panic":

"Please append a correct "root=" boot option
unable to mount root fs on 03:06"

I can still boot the Slackware from a bootdisk/bootable cdrom.
I have seen several discussions adressing similar problems, but they all occurred after recompiling kernels. I did not compile any of the two kernels involved!

So? Any syntax error in my "menu.lst" that I could not identify? Or any other idea?

No syntax, but semantics - the GRUB 'root' clause directs the
file searches in GRUB, not the root device in kernel. You need
to keep 'root=/dev/hde3' in the kernel parameter line.

--

Tauno Voipio
tauno voipio (at) iki fi
.



Relevant Pages

  • Re: FC2 post-install hangs on dual boot system - SOLVED, KIND-OFF, NOT REALLY.
    ... Trying to dual boot Windows XP Pro and Fedora Core 2 on a Dell Dimension ... Use the kernel that works for now, ... as root from the console or xterm session type ... And install them from the console or xterm session by ...
    (linux.redhat.install)
  • Re: change from lilo to grub results in kernel panic
    ... I ran my slackware 9 for years booting with lilo from /dev/hde3 (hde1 ... Last week I put Fedora 5 on /dev/hde1 and changed to grub alongside the ... root ...
    (comp.os.linux.setup)
  • change from lilo to grub results in kernel panic
    ... I ran my slackware 9 for years booting with lilo from /dev/hde3 ... Last week I put Fedora 5 on /dev/hde1 and changed to grub alongside the installation. ... root ...
    (comp.os.linux.setup)
  • Re: New kernels do not work.
    ... The same error had been applied to the previous kernel ... title Fedora ... root ... initrd /initrd-2.6.25.3-18.fc9.i686.img ...
    (Fedora)
  • Re: Boot problem
    ... title Fedora ... root ... initrd /initrd-2.6.22.7-85.fc7.img ... on the next kernel update it didn't work right. ...
    (Fedora)