[Bug 1024383] Re: update-grub generates only BIOS based menu entries for Windows, even on UEFI systems

Peter Bosch 1024383 at bugs.launchpad.net
Wed Aug 8 22:59:21 UTC 2018


This bug is (at least in our case) caused by libblkid (through
udevd/udevadm) reporting the disklabel type as "dos" while the os-prober
script looks for "msdos". This was fixed upstream in Debian os-prober
1.76 as a fix for Debian bug #817023 for which I have attached the
patch, though I recommend pulling the upstream changes directly.


** Patch added: "Debian commit 6dba9e66 fixes debian #817023 and ubuntu #1024383 was released as debian version 1.76"
   https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/1024383/+attachment/5173186/+files/os-prober.diff

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to os-prober in Ubuntu.
https://bugs.launchpad.net/bugs/1024383

Title:
  update-grub generates only BIOS based menu entries for Windows, even
  on UEFI systems

Status in grub2 package in Ubuntu:
  Confirmed
Status in os-prober package in Ubuntu:
  Confirmed
Status in grub2 package in Debian:
  Fix Released

Bug description:
  64bits computer with pre-installed EFI Windows 7. (remark: same bug if
  Windows8)

  Installed Ubuntu 64bits in dual-boot. GRUB (grub-efi) is correctly
  installed and allows to boot Ubuntu, but it does not allow to boot
  Windows.

  Its menu shows 2 INVALID Windows entries. When selecting these
  entries, it displays "Invalid EFI file path" error, and returns to
  GRUB menu.

  It appears that GRUB creates BIOS/mbr entries when it should be
  UEFI/gpt type entries.

  *********************** WORKAROUND **************************

  either boot Windows from the (EFI) BIOS menu, or add valid Windows entries via Boot-Repair.
  ***************************************************************

  (original thread in French: http://forum.ubuntu-
  fr.org/viewtopic.php?pid=10010231#p10010231 )

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1024383/+subscriptions



More information about the foundations-bugs mailing list