[Bug 1007923] Re: grub2 does not automatically recognize/add windows 7 from gpt partitions
Alex Moldovan
alex.moldovan at canonical.com
Mon Jun 4 13:25:59 UTC 2012
** Changed in: grub2 (Ubuntu)
Status: New => Confirmed
--
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/1007923
Title:
grub2 does not automatically recognize/add windows 7 from gpt
partitions
Status in “grub2” package in Ubuntu:
Confirmed
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1007923/+subscriptions
More information about the foundations-bugs
mailing list