|
From: | Fabio Fantoni |
Subject: | Re: [Xen-devel] pvgrub2 is merged |
Date: | Tue, 26 Nov 2013 18:58:47 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 |
Il 25/11/2013 20:35, M A Young ha scritto:
On Mon, 25 Nov 2013, Fabio Fantoni wrote:I did a test following informations on one of post before:git clone git://git.sv.gnu.org/grub.git # commit 61e1b9a49d48035bde52784abb54c3212b647fc8./autogen.sh ./configure --target=x86_64 --with-platform=xen mkdir -p boot/grub/ cat > boot/grub/grub.cfg <<EOF search -s root -f /boot/grub/grub.cfg configfile /boot/grub/grub.cfg EOFYou may want to adapt this script to your circumstances. I ended up with cat > boot/grub/grub.cfg <<EOF insmod part_msdos insmod part_gpt search -s root -f /grub2/grub.cfg configfile /grub2/grub.cfg EOF for a Fedora domU../grub-mkstandalone --grub-mkimage=./grub-mkimage -o pvgrub2.xen -O x86_64-xen -d grub-core/ boot/grub/grub.cfgI also suggest export pkgdatadir=. before this so it looks in the grub source rather than the installed version.
Thanks for reply. Seems not working:export pkgdatadir=. && ./grub-mkstandalone --grub-mkimage=./grub-mkimage -o pvgrub2.xen -O x86_64-xen -d grub-core/ boot/grub/grub.cfg ./grub-mkstandalone: warning: cannot open directory `/usr/local/share/locale': File o directory non esistente.
I also added the partition mods but Sid domU still unable to boot :( I have also another question:Is possible specify multiple path where search the grub.cfg for support all mainly distributions and add a custom cfg path support taking it from arguments?
Thanks for any reply and sorry for my bad english.
Of course this may not help your current problem, though I can boot a domU guest with grub configured as above via the hvc0 interface with vnc enabled.Michael Young
[Prev in Thread] | Current Thread | [Next in Thread] |