[Bug 807801] Re: grub-update fails to detect windows bootloader on a uefi system

Rasmus Pedersen 807801 at bugs.launchpad.net
Sat Apr 7 11:44:12 UTC 2012


I have solved this temporarily.

The GRUB menu can be unhidden by commenting out the two lines regarding
GRUB_HIDDEN in /etc/defaults/grub and running update-grub as root.

Next, the entry for windows can be manually added by appending the following lines to /etc/grub.d/40_custom:
menuentry "Windows" {
    search --fs-uuid --no-floppy --set=root YOUR-EFI-PARTITIONS-UUID-HERE
    chainloader (${root})/efi/Microsoft/Boot/bootmgfw.efi
}

Find your EFI partitions UUID by running 'ls -la /dev/disk/by-uuid/'. As
the EFI partition is a FAT32 partition, the UUID is of the form XXXX-
XXXX. If you have more than one FAT partition, you can verify if one is
the EFI partition by checking the partition map with gdisk (not
installed by default). Run gdisk on the device, 'sudo gdisk
/dev/DEVICE',  press 'p' to print the partition table, and then 'q' to
quit. DON'T make any changes to the partition table. The EFI partition
will have the code type 'EF00' and most likely a name/label that says it
is a EFI system partition.

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

Title:
  grub-update fails to detect windows bootloader on a uefi system

Status in “grub2” package in Ubuntu:
  Confirmed

Bug description:
  running a fresh uefi (software uefi) system and the grub-update fails to detect windows boot entry/efi files and add them automatically
  microsoft folder is present in both the efi system partition as well as the /boot folder/partition

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




More information about the foundations-bugs mailing list