Hi!
I am very new to Xen, trying to set up my laptop with Xen using the EFI
image that comes with Ubuntu package xen-hypervisor-4.9-amd64.
I have managed to boot the image by modifying efibootmgr options and adding
a new entry there. However, when trying to boot that entry, it first prints
out how it loads 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. And then it goes blank. It stays blank for a few
seconds and finally a white blinking cursor shows up in the top left corner
of the screen. Then I have to Ctrl+Alt+Del to reboot, as I get nothing else.
What I have done:
1. Install Ubuntu package xen-hypervisor-4.9-amd64.
2. Create a new directory "xen" under /boot/efi/EFI with the following
files:
1. xen-4.9-amd.efi
2. vmlinuz-4.15.0-45-generic
3. initrd.img-4.15.0-45-generic
4. xen.cfg, with the following content:
[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
3. Added the new entry with the command efibootmgr -c -d /dev/nvme0n1 -L
Xen -l "\EFI\xen\xen-4.9-amd64.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.
Can anyone shed some light on this? Or some way to get any debug
information from the boot process inside Xen? I am totally clueless here.
Thanks!
I am very new to Xen, trying to set up my laptop with Xen using the EFI
image that comes with Ubuntu package xen-hypervisor-4.9-amd64.
I have managed to boot the image by modifying efibootmgr options and adding
a new entry there. However, when trying to boot that entry, it first prints
out how it loads 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. And then it goes blank. It stays blank for a few
seconds and finally a white blinking cursor shows up in the top left corner
of the screen. Then I have to Ctrl+Alt+Del to reboot, as I get nothing else.
What I have done:
1. Install Ubuntu package xen-hypervisor-4.9-amd64.
2. Create a new directory "xen" under /boot/efi/EFI with the following
files:
1. xen-4.9-amd.efi
2. vmlinuz-4.15.0-45-generic
3. initrd.img-4.15.0-45-generic
4. xen.cfg, with the following content:
[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
3. Added the new entry with the command efibootmgr -c -d /dev/nvme0n1 -L
Xen -l "\EFI\xen\xen-4.9-amd64.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.
Can anyone shed some light on this? Or some way to get any debug
information from the boot process inside Xen? I am totally clueless here.
Thanks!