Port-xen archive

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

UEFI and Xen



Howdy,
would it be possible to modify the Xen tutorial to mention that if using NetBSD as Dom0 on Xen, that you must use the BIOS bootloader? I recently setup a NetBSD machine to boot using UEFI with GPT but it resulted in the message: "multiboot: not implemented". Multiboot functionality has not yet been created for the NetBSD UEFI bootloader, as you can see here:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/i386/stand/efiboot/bootx64/efibootx64.c?rev=1.4&content-type=text/x-cvsweb-markup&only_with_tag=MAIN

I was able to revert back to the BIOS bootloader by following this tutorial: http://www.netbsd.org/~mishka/gptboot/howto.html (however, it looks to be outdated)
All that was needed was:

gpt biosboot -A -i 2 wd0
installboot /dev/rdk1 /usr/mdec/bootxx_ffsv2

and make sure the boot.cfg specfies root so it doesn't try to use dk0:
menu=Xen:load /netbsd-XEN3_DOM0.gz console=pc root=dk1;multiboot /xen.gz dom0_mem=1024M

GPT looks like this:

harumph# dkctl wd0 listwedges
/dev/rwd0: 4 wedges:
dk0: EFI System, 524288 blocks at 4096, type: msdos
dk1: NetBSD, 44040192 blocks at 528384, type: ffs
dk2: Swap, 33558528 blocks at 44568576, type: swap
dk3: LVM, 3828899840 blocks at 78127104, type: ffs

I did not try using an different bootloader so that may have worked.


Home | Main Index | Thread Index | Old Index