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

[Xen-users] Xen UEFI how to install and configure


  • To: xen-users@xxxxxxxxxxxxx
  • From: "AR (aka AleiPhoenix)" <aleiphoenix@xxxxxxxxx>
  • Date: Mon, 9 Sep 2013 23:35:33 +0800
  • Delivery-date: Mon, 09 Sep 2013 15:38:50 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hi, all

I'm new to xen recently. I've managed to install the xen on a BIOS machine, and boot into xen dom0, setup a domU guest, all goes well.

So I decided to turn my desktop into a xen server. It's running on UEFI.

The machine runs on Gentoo Linux with kernel 3.11.0.

I'm using xen-4.2.2 , it's built with efi USE FLAG , and install the xen-4.2.2.efi into /usr/lib64/efi/xen-4.2.2.efi.


My EFI partition is located in /boot/efi , the GRUB2 efi is located in /boot/efi/EFI/GRUB2/grub.efi.


I've tried putting xen-4.2.2.efi to /boot/efi/EFI/gentoo/xen-4.2.2.efi . with the xen-4.2.2.cfg in the same directory.

Added a efi boot entry with `efibootmgr --create --gpt --disk /dev/sda --part 1 --write-signature --label "XEN" --loader "\\EFI\\gentoo\\xen-4.2.2.efi"`.

But it failed to boot (black screen, then the machine tried the next boot entry, grub2 menu showed up.)

the xen-4.2.2.cfg looks like


[global]
default = gentoo

[gentoo]
options=console=vga loglvl=all
kernel=vmlinuz-3.11.0-gentoo
ramdisk=initrd-3.11.0-gentoo


kernel and ramdisk file just located in /boot

The docs didn't help much.


So...

Where should I put the xen-4.2.2.efi and the corresponding config file into ? How should I configure the efibootmgr ?

Thanks.
--
Silence is golden.

twitter: @AccelReality
wikipedia: AleiPhoenix
blog: weblog.areverie.org
wiki: wiki.areverie.org

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.