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
EOF
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
EOF
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.
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
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel