Hey guys, what I am trying to do is a chainload into grub2 installation in a DomU. So far I determined, PV-GRUB does not understand grub2''s grub.cfg notation. So I created a dummy menu.lst which has the needed root kernel and initrd rows and then referenced this to the DomUs config. The main intention to do this, is to be able to use kernel upgrades without touching the menu.lst for compatibility reasons. The Point is, it just wont do L Basically what I am doing is: Xm create -c /etc/xen/test.cfg Then dropping to grubdom Grubdom > root (hd0) Filesystem type is ext2fs, partition type 0x83 Grubdom > chainloader +1 Grubdom > boot Error 8: Kernel must be loaded before booting I don''t get the point here. I don''t want to specify a kernel, I just want to chainload into grub2 and let him do the bootup. I also tried installating grub2 in the partition itself and then referencing to (hd0,0). My childs config contains: kernel = ''/usr/lib/xen-default/boot/pv-grub-x86_64.gz'' extra = ''(hd0,0)/boot/grub/menu.lst'' disk = [ ''iscsi:iqn.2001-05.com.equallogic:0-9182312-disk,xvda,w'' ] If I just use the correct menu.lst everything works fine, but then im skipping chainloading into grub2 and I need to maintain the menu.lst everytime a kernel update is released. Anyone has experience with chainloading using pv-grub? Appreciate any hint. Thanks Thomas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Jul 13, 2011 at 12:25 AM, Thomas Pöhler <tp@turtle-entertainment.de> wrote:> I don’t get the point here. I don’t want to specify a kernel, I just want to > chainload into grub2 and let him do the bootup. I also tried installating > grub2 in the partition itself and then referencing to (hd0,0).Short answer, you can''t. pv-grub is not a "real" bootloader. It can''t chainload another bootloader. That would require some features provided by BIOS, which PV domU doesn''t have. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hey fajar, Thanks for this info. Atleast this gives me some rest ;) Is there additional info somewhere what is missing in detail? And do you know if there are plans for supporting grub2 configs? Regards Thomas Am 12.07.2011 um 22:07 schrieb "Fajar A. Nugraha" <list@fajar.net>:> On Wed, Jul 13, 2011 at 12:25 AM, Thomas Pöhler > <tp@turtle-entertainment.de> wrote: >> I don’t get the point here. I don’t want to specify a kernel, I just want to >> chainload into grub2 and let him do the bootup. I also tried installating >> grub2 in the partition itself and then referencing to (hd0,0). > > Short answer, you can't. > > pv-grub is not a "real" bootloader. It can't chainload another > bootloader. That would require some features provided by BIOS, which > PV domU doesn't have. > > -- > Fajar > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users