There are two bugs here: a) The UEFI boot entry seems to be created incorrectly. It appears that there are 6 extra zeroes in the Hard Drive Media Device Path as shown in Red (See attached picture). We suspect that the structure related to the hard drive media device path is not packed because of which it's size is coming out to be 0x30 bytes instead of the expected 0x2A as per UEFI specifications.
As of now we are examining the files in the Linux kernel that may be relevant to the hard drive media device path and will shortly post the names of the files that might be containing this issue. b) Hyper-V is unable to deal with improperly formatted hard drive media device paths. The problem has been reported to the Hyper-V team and will be addressed in future. I have added the relevant Ubuntu people to this issue. Please take note and fix the problem. Thanks, Abhishek ** Attachment added: "UEFI Boot Entry.PNG" https://bugs.launchpad.net/ubuntu/+source/efibootmgr/+bug/1272664/+attachment/4010618/+files/UEFI%20Boot%20Entry.PNG -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1272664 Title: Installing UEFI boot entry on Hyper-V gen 2 corrupts VM configuration, making the VM unuseable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/efibootmgr/+bug/1272664/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
