-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 5/17/2013 10:38 AM, Joseph Emenaker wrote: > Phillip Susi wrote: >> 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. ... > > No, I think Yann is absolutely correct about this. My laptop can > boot in UEFI, BIOS, or a "mixed" mode (where it looks for a UEFI > partition and then, if not found, looks for a MBR boot record). The > point, however, is that I can boot SuperGRUB or a live-CD via > BIOS/MBR booting off of a CD or USB drive, and then mount the linux > partition on my hard-drive, and then run update-grub from there. > That would be a case where my computer booted via BIOS/MBR *just* > for that recovery session, when "normal" booting is going to be > done via UEFI.
You don't seem to have understood the passage you quoted. Let me try rephrasing it: when you boot from the livecd and update grub, you first chroot into the hard drive, so you are running the update-grub version on the hd, not the cd. Thus, if you installed the system originally in efi mode and it has grub-efi installed, and you boot the cd in bios mode, you are still running the efi version of update-grub when you chroot into the hd, so the fact that you booted the livecd in bios mode does not matter. > But it seems that the more-critical part of the solution would be > for there to be grub.conf directives specific to MBR and UEFI > booting. Imagine, for example: > > menuentry "Windows 8" { set root-efi=(hd0,gpt2) set > root-mbr=(hd0,2) chainloader-efi > /EFI/microsoft/BOOT/bootmgfw.efi chainloader-mbr +1 } We're not going to support having both installed at the same time and using the same config. You need to pick which mode you want to use and stick with it, not flip flop every other boot. In addition, Windows can not be booted in bios mode on a GPT disk, so you have to use grub-efi anyhow. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRlkohAAoJEJrBOlT6nu75nwsIANiwbP69KtehXZNvPbDLxcGF 1MOAkSkb9jtwNciHaKsz8s/EK9/3vyuSBgXOj5QeoxaTwtCO7v6WwZM65z7vqCkc Ndz32fqAK12ZyTphLKn/oetiBFyOKGqE9xC+WBgjNhYiRWHgxmZoMcGAQXboCLSL aJsyCs4V5jAWjq2zQ/p7cFO4C7iqaajHX+lmGLTaCX6LLzdp8UoaL/zCBG51pUZe 0Z5X6kcJtPAAxaPXTlXUbUpjRuOIdLTW50DPx+iGxBKAdHj2C7l02mRyPpGSBxWe k3XIeFjCx9eXBSY+zwUW24sftBY+4p+2xFc2tyHu2S6bx1s97lK7NBioYX5Hg04= =w04L -----END PGP SIGNATURE----- -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1024383 Title: update-grub generates only BIOS based menu entries for Windows, even on UEFI systems To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1024383/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs