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

YannUbuntu yannubuntu at gmail.com
Thu Jan 10 07:18:35 UTC 2013


> You don't run update-grub from a live session; you have to chroot into
> the install and run it from there

of course :)

> , where you are running the correct version, regardless of how you
booted the livecd.

what do you mean by 'version', is it 'grub-pc' vs 'grub-efi' ?
if yes, which entries would you hide if both grub-pc and grub-efi are installed in the installed Ubuntu? (i would suggest no hiding in this case)

(In post #25, I thought that you were referring to [[ -d
/sys/firmware/efi ]] when writing 'At update-grub time, you know if you
are EFI'. But i think now that you were refering to grub-efi / grub-pc
presence in the install , as that would make more sense. Sorry for the
confusion.)

> is it possible to install windows on a gpt disk without EFI?

i don't know. Also, maybe OEM have more install possibilities than a
standard Win user.

> you can't boot windows in a mode other than the one grub is booted in.

agreed. And the mode grub (of the installed Ubuntu) is booted in is the
mode in which the firmware is set up to boot the HDD (which can be
different from the mode to boot the USB/CD).

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 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:
  New

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