[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Booting pv-ready distro installer.iso as Xen PV DomU drops to grub prompt?
Hi Sarah On Thu, Apr 9, 2015, at 06:36 PM, Sarah Newman wrote: > If you trust the opensuse installer enough to load it within the context of > the dom0, there is > nothing wrong with loading the installer kernel and ramdisk directly. You can > switch back to grub2 > after the installation. The whole goal & idea of pvgrub2 is to to have the DomU use its own kernels etc. Less of an issue when all Dom0 & DomUs are the same OS, but here they will not be ... What I 'trust' is the DomU's intent. I.e., its own kernel/initrd, etc Of course that assumes I can get this working. > > error: file `/boot/x86_64/grub2-efi/x86_64-xen/echo.mod' not found. > > error: can't find command `linuxefi'. > > error: file `/boot/x86_64/grub2-efi/x86_64-xen/echo.mod' not found. > > error: can't find command `initrdefi'. > > > EFI https://en.wikipedia.org/wiki/Extensible_Firmware_Interface doesn't make > sense here. I admit to being new to UEFI, and figuring it out as I go. This is my 1st UEFI box. It was enough of a challenge figuring out how to get Xen to chainload via grub2 via UEFI. That finally works now; obviously, as I'm booted. > Only the 'linux' and 'initrd' commands for loading are supported without > extra patches. Is there any > other grub.cfg on the iso? There's only this find . | egrep "\.cfg" ./boot/x86_64/loader/gfxboot.cfg ./boot/x86_64/loader/isolinux.cfg ./EFI/BOOT/grub.cfg > > (1) How do I get the DomU config to recognize the configfile without > > forcing a visit to the grub prompt? > > (2) Not sure what to do about the missing linuxefi/initrdefi/echo.mod ... > > Look at grub(2)-mkstandalone. It makes a ramdisk that includes a config file > (you should put it at > the default path for your grub build) and by default also includes all > modules. But that won't add > support for linuxefi and initrdefi because those aren't valid commands for > xen. That's what /usr/lib/grub2/x86_64-xen/grub.xen is supposed to be rpm -q --whatprovides /usr/lib/grub2/x86_64-xen/grub.xen grub2-x86_64-xen-2.02~beta2-20.5.1.x86_64 As you can see in the .spec file https://build.opensuse.org/package/view_file/openSUSE:13.2/grub2/grub2.spec?expand=1 grub.xen is built with "grub-mkstandalone" ./grub-mkstandalone --grub-mkimage=./grub-mkimage -o grub.xen -O %{_target_cpu}-xen -d grub-core/ "/boot/grub/grub.cfg=./grub.cfg" Iiuc, this ^^ should be do-able, so I'm sticking with it. LT _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |