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

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to