grub2 does not automatically recognize/add windows 7 from gpt partitions

Bug #1007923 reported by Fizzfadlt
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Expected to happen: sudo update-grub should add windows to the grub menu, using the menu option would boot into windows 7
What happened instead: sudo update-grub does not recognize windows

Windows 7 (as well as Ubuntu 12.04) is running on the same hard disk with a GPT partition.

I was able to manually add windows using the following menuentries (both work, only one is needed) to
/etc/grub.d/40_custom

menuentry "Windows" {
search --fs-uuid --no-floppy --set=root E20F-0E2C
chainloader (${root})/efi/Microsoft/Boot/bootmgfw.efi
}

menuentry "Windows" {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
set root='(hd0,gpt3)'
search --fs-uuid --no-floppy --set=root E20F-0E2C
chainloader (${root})/efi/Microsoft/Boot/bootmgfw.efi
}

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: grub-efi 1.99-21ubuntu3.1
ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Sat Jun 2 12:41:58 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Fizzfadlt (fizzfaldt) wrote :
Changed in grub2 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.