grub-devel
[Top][All Lists]
Advanced

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

pvgrub2 and old grub menu.lst


From: Michael Chang
Subject: pvgrub2 and old grub menu.lst
Date: Tue, 1 Apr 2014 15:46:22 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

While trying to boot xen pv guest with old grub config (menu.lst),
the pvgrub2 loads it's menu successfully, but when you attemp to boot
the kernel it failed with the following message. 

  error: couldn't load file /boot/vmlinuz-3.0.76-0.11-xen.
  error: you need to load the kernel first.

  Press any key to continue..."

The kernel is there and boots fine with pygrub.

After some investigation, it boils down to the menu.lst has explicitly
set it's root device to (hd0,1) and therefore the root device is not
recognized by pvgrub2.

title Xen -- SUSE Linux Enterprise Server 11 SP3 - 3.0.76-0.11
  root (hd0,1)
  kernel /boot/vmlinuz-3.0.76-0.11-xen root=/dev/xvda2 resume=/dev/xvda1
splash=silent showopts initrd /boot/initrd-3.0.76-0.11.xen

I'd like to know whether old grub configuration is considered or planned
to work with pvgrub2 ? And is it a viable suggestion to have (hdX,Y) a
valid xen disk name because it's quite common in some existing configs ?

Thanks,
Michael



reply via email to

[Prev in Thread] Current Thread [Next in Thread]