[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] pvgrub2 is merged

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:// # commit 61e1b9a49d48035bde52784abb54c3212b647fc8
./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
You 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
for a Fedora domU.

./grub-mkstandalone --grub-mkimage=./grub-mkimage -o pvgrub2.xen -O x86_64-xen -d grub-core/ boot/grub/grub.cfg
I 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]