Grub2 cannot detect Windows 8
Posted
by
MetaChrome
on Ask Ubuntu
See other posts from Ask Ubuntu
or by MetaChrome
Published on 2013-11-01T02:31:41Z
Indexed on
2013/11/01
4:16 UTC
Read the original article
Hit count: 187
At installation it did not detect Windows. I mounted the Windows partition and have run os-prober with no results returning.
I am able to boot Windows or Ubuntu by specifying the partition in UEFI boot order. The bios does not appear to allow booting with legacy. SecureBoot is on.
This is with Ubuntu 12.04 LTS on a Inspiron 15.
Here is the gdisk:
1 2048 1026047 500.0 MiB EF00 EFI system partition
2 1026048 1107967 40.0 MiB FFFF Basic data partition
3 1107968 1370111 128.0 MiB 0C01 Microsoft reserved part
4 1370112 2394111 500.0 MiB 2700 Basic data partition
5 2394112 544743423 258.6 GiB 0700 Basic data partition
6 606183424 625140399 9.0 GiB 2700 Microsoft recovery part
7 544743424 545230847 238.0 MiB 0700 (/boot)
8 545230848 556949503 5.6 GiB 8200 (swap)
9 556949504 606181375 23.5 GiB 0700 (/)
When installing ubuntu, I believe I specified that the bootloader be installed on /dev/sda.
I added the following to /etc/grub.d/40_custom but booting ubuntu did not offer a grub menu:
menuentry "Windows 8" {
set root = "(hd0,4)"
chainloader +1
}
When booting I think I see "EFI Disk error" flash very quickly before Ubuntu starts booting.
© Ask Ubuntu or respective owner