grub2 does not automatically recognize/add windows 7 from gpt partitions
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.
menuentry "Windows" {
search --fs-uuid --no-floppy --set=root E20F-0E2C
chainloader (${root}
}
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}
}
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: grub-efi 1.99-21ubuntu3.1
ProcVersionSign
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelMo
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)
Changed in grub2 (Ubuntu): | |
status: | New → Confirmed |