[opensuse-virtual] booting openSUSE Leap in Xen UEFI PVHVM DomU fails - boots to UEFI shell? non-UEFI openSUSE works. UEFI with systemd-boot works.
I'm running openSUSE Leap 42.1 server as a Xen 4.6 Dom0. I'm working on booting UEFI, PVHVM DomUs. Current Dom0 packages include, from OBS xen-4.6.20160218T142520.046e5d0 --> includes "--with-ovmf" support for UEFI boot grub2-x86_64-xen-2.02~beta3-305.1 --> include patches for efi command line paramaeters kernel-default-4.4.4-1.1.g0c1f87e --> pvops native kernel I'm installing the Xen PVHVM DomU from openSUSE release ISO. For a non-UEFI Guest, with attached blkdevs, xvda, gpt, ext4, "/boot" xvde, gpt, swap, "swap" xvdf, gpt, ext4, "/" the installer procedure completes without error. On Guest reboot, the Guest is up & running. For a UEFI Guest, with attached blkdevs, xvda, gpt, vfat, "/boot/efi" xvde, gpt, ext4, "/boot" xvdf, gpt, swap, "swap" xvdg, gpt, ext4, "/" the installer procedure again completes without error. But, on reboot, the Guest drops to the EFI shell. Repeating install of a UEFI Guest, but this time Arch linux, with available systemd-boot UEFI bootloader rather than Grub, the UEFI Guest is up & running. systemd-boot is a simpler/leaner option for UEFI DomU, It's available for other OSs, but as I understand, a systemd upgrade will NOT be provided for Leap 42.1, and, atm, systemd builds at OBS for Leap are not working. What additional steps or config enable EUFI Guest boot of openSUSE -- as installed by installer, with its Grub2 bootloader -- to boot without dropping to the UEFI shell? -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
The solution's to boot the *installer* itself as UEFI, not just the installed guest. Specifically, with bios='ovmf' It appears that if install-boot-env = non-UEFI, then the installer preps a bootloader env for non-UEFI, *regardless*, of whether or not the install included an EFI vfat-formatted /boot/efi mount point. Once the installer's env is switched to UEFI, or at least via 'bios=ovmf' made UEFI-aware/complete, then the bootloader env is complete and functional for the UEFI Guest reboot. Note that this is NOT the case for Arch guest with systemd-boot; There, the install phase from the LiveCD can be booted from a bios=seabios env, and the UEFI guest boots fine. I suspect this is due to an issue with Grub2 logic. -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
participants (1)
-
PGNet Dev