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

Phillip Susi psusi at ubuntu.com
Wed Jan 9 04:56:22 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/08/2013 09:41 PM, YannUbuntu wrote:
> No, don't rely on the mode where grub-update is used ! 
> Counter-examples: 1) Windows is installed in UEFI mode but
> update-grub is used from a Ubuntu32bit liveCD (which cannot be
> booted in UEFI mode, see Bug #1025555 ). 2) Windows is installed in
> UEFI mode, but update-grub is used from a Legacy mode live-session
> because the BIOS is set up to boot the CD/USB in Legacy mode 3)
> Windows is installed in Legacy mode, but update-grub is used from
> an UEFI mode live-session because the BIOS is setup to boot the
> CD/USB in UEFI mode.

You don't run update-grub from a live session; you have to chroot into
the install and run it from there, where you are running the correct
version, regardless of how you booted the livecd.

>> an EFI booting system can't have a bios booting windows install.
> 
> I am nearly sure of the contrary, because many preinstalled Windows
> come with both files to be booted in UEFI and Legacy modes. 
> Examples: http://paste.ubuntu.com/1495850,
> http://paste.ubuntu.com/1479512 , http://paste2.org/p/2700549

Maybe it has the files there anyhow, but is it possible to install
windows on a gpt disk without EFI?  Either way it's a moot point
though since you can't boot windows in a mode other than the one grub
is booted in.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJQ7Ph2AAoJEJrBOlT6nu75ccgH/1b2NXUnpoQN/jiO0y+22HBs
eKPX1Z330ocTeJhl56g+CFtiUuHGpwOu9mzmQTbaeKKSuGWboDe7XW8lXOxd2JaC
Cozpw8zQa8KxOic+EsrqNWPk68Wy9Xy5EtOoSygCxEZwo9HXm1bhGwIvBEYq8pn7
gcM4w+LNh25QnMDctkTTxKezQyrF8zSVziomybEBRy1tXt3ai5ENqrWv4MUyIjxk
249oCwcJrrtYNEfaFNZyAIincoFMLd4IeiM3f0lyvvoSZZa4WlgAh/mGu/qxfThe
CNieL5KZcc9WEtThtAcstoZOLOfh76HykO04iEsZ6h7tmj+dJxkltqXbhcxpmmY=
=fREm
-----END PGP SIGNATURE-----

-- 
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