Bug 1368887
Summary: | UEFI, ignores boot device order, always wants to boot off SATA CDROM1 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Chris Murphy <bugzilla> | ||||||
Component: | virt-manager | Assignee: | Cole Robinson <crobinso> | ||||||
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 24 | CC: | berrange, crobinso, virt-maint | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-08-23 21:51:59 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Chris Murphy
2016-08-22 03:28:26 UTC
Created attachment 1192741 [details]
virsh dumpxml
Created attachment 1192742 [details]
screenshot
If I reconnect a live media ISO, get to GRUB, I can use 'configfile' to load the grub.cfg off the ESP on VirtIO Disk 1 and boot the system. So it is bootable and has all the necessary components for some reason though the VM will not boot off VirtIO Disk 1. In a shell from the booted system: [root@localhost ~]# efibootmgr -v BootCurrent: 0002 Timeout: 0 seconds BootOrder: 0002,0008 Boot0002* EFI DVD/CDROM PciRoot(0x0)/Pci(0x8,0x0)/Sata(1,0,0) Boot0008* EFI Internal Shell MemoryMapped(11,0x900000,0x11fffff)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1) So yeah it's missing the anaconda>efibootmgr boot menu entry from installation, which did run because it's in the program.log, and it succeeded. Let's try setting that manually: [root@localhost ~]# efibootmgr -c -w -L Fedora -d /dev/vda -p 1 -l \\EFI\\fedora\\shim.efi BootCurrent: 0002 Timeout: 0 seconds BootOrder: 0000,0002,0008 Boot0002* EFI DVD/CDROM Boot0008* EFI Internal Shell Boot0000* Fedora And reboot. HUH, that works. And it keeps working through poweroff and a restart of virt-manager. Uhhh. OK... I created a new virtual machine, with ovmf uefi firmware, and did an installation. At reboot, the ISO is "ejected" such that no file is associated with CDROM device, and the system boots the installed system by default, and efibootmgr has a proper boot entry. Dunno really why it was disagreeable with the older uefi VM instance but I don't think it's worth tracking down right now. |