Hi!
I am trying to set up my laptop with Xen hypervisor to run other OSs as virtual machines.
I have managed to boot Xen EFI image (the one that comes with package xen-hypervisor-4.9-amd64) by modifying efibootmgr options and adding a new entry there. However, when trying to boot that entry, all I get is a blank screen that stays frozen for a few seconds and ends up with a white blinking cursor in the top left corner.
EDIT: First, it prints out how it load xen hypervisor, its config file, the Linux kernel and the initramfs, and two more lines with hex digits that I can't read because they disappear too fast. Then it goes blank.
What I have done is:
All of this following the UEFI guide at Xen wiki: https://wiki.xenproject.org/wiki/Xen_EFI
My guess is that the config in xen.cfg is not adequate for booting Ubuntu. But the list of options (https://xenbits.xen.org/docs/unstable/man/xl.cfg.5.html) is so long I have no idea how to write a proper config file.
Has anyone successfully booted Ubuntu 18.04 as dom0 on a UEFI machine (as I understand legacy boot does not require a cfg file)? Any ideas on what the cfg file should look like or what it lacks?
Thanks!!
I am trying to set up my laptop with Xen hypervisor to run other OSs as virtual machines.
I have managed to boot Xen EFI image (the one that comes with package xen-hypervisor-4.9-amd64) by modifying efibootmgr options and adding a new entry there. However, when trying to boot that entry, all I get is a blank screen that stays frozen for a few seconds and ends up with a white blinking cursor in the top left corner.
EDIT: First, it prints out how it load xen hypervisor, its config file, the Linux kernel and the initramfs, and two more lines with hex digits that I can't read because they disappear too fast. Then it goes blank.
What I have done is:
- Install xen-hypervisor-4.9-amd64.
- Create a new directory "xen" under /boot/efi/EFI with the following files:
- xen-4.9-amd.efi
- vmlinuz-4.15.0-45-generic
- initrd.img-4.15.0-45-generic
- xen.cfg, with the following content:
Code:[global]
default=ubuntu
[ubuntu]
options=console=vga,com1 com1=115200,8n1 iommu=verbose ucode=scan flask=disabled conring_size=2097152 loglvl=all
kernel=vmlinuz-4.15.0-45-generic root=UUID=24bd5658-bf88-41ae-85e7-11ea902a3c50= ro vt.handoff=7 console=hvc0
ramdisk=initrd.img-4.15.0-45-generic
- Added the new entry with the command efibootmgr -c -d /dev/nvme0n1 -L Xen -l "\EFI\xen\xen.efi"
All of this following the UEFI guide at Xen wiki: https://wiki.xenproject.org/wiki/Xen_EFI
My guess is that the config in xen.cfg is not adequate for booting Ubuntu. But the list of options (https://xenbits.xen.org/docs/unstable/man/xl.cfg.5.html) is so long I have no idea how to write a proper config file.
Has anyone successfully booted Ubuntu 18.04 as dom0 on a UEFI machine (as I understand legacy boot does not require a cfg file)? Any ideas on what the cfg file should look like or what it lacks?
Thanks!!