grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* pvgrub2 and old grub menu.lst
@ 2014-04-01  7:46 Michael Chang
  2014-04-01 16:06 ` Andrey Borzenkov
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Chang @ 2014-04-01  7:46 UTC (permalink / raw)
  To: grub-devel

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-01-24  5:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-01  7:46 pvgrub2 and old grub menu.lst Michael Chang
2014-04-01 16:06 ` Andrey Borzenkov
2014-04-02  8:43   ` Michael Chang
2014-04-02 10:29     ` Andrey Borzenkov
2014-04-02 16:13       ` Andrey Borzenkov
2014-04-03  6:50         ` Michael Chang
2014-04-03  8:25           ` Andrey Borzenkov
2014-04-03 10:23             ` Michael Chang
2015-01-24  5:53           ` Andrei Borzenkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).