You are not logged in.
I'm trying to configure GRUB2 to load Windows 8 on UEFI system.
os-prober does not detect it.
grub-mkconfig creates only for Linux (tried both with mounted and unmounted Windows partition).
So I went for manual entry.
I executed the following
$ mount /dev/sde1 /boot/efi/
$ grub-probe --target=fs_uuid /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
69DB-D2EB
# grub-probe --target=hints_string /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
--hint-bios=hd4,gpt1 --hint-efi=hd4,gpt1 --hint-baremetal=ahci4,gpt1
Created menuentry for /boot/grub/grub.cfg
menuentry "Microsoft Windows 8" {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
search --fs-uuid --hint-bios=hd4,gpt1 --hint-efi=hd4,gpt1 --hint-baremetal=ahci4,gpt1 69DB-D2EB
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
And when I choose it it says
hd0,gpt1error: file /EFI/Microsoft/Boot/bootmgfw.efi' not found
Note that EFI partition is not mounted is fstab (does it make a difference for GRUB?).
Also, specifying
chainloader /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Gives the same not found.
P.S. Windows "fast start" is disabled
Last edited by Doctor Drive (2013-09-29 09:57:25)
Offline
I don't use Windows but I would try setting the root explicitly in the entry since it is apparently looking in the wrong place.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
menuentry "Microsoft Windows 8" { insmod part_gpt insmod fat insmod search_fs_uuid insmod chain search --fs-uuid --hint-bios=hd4,gpt1 --hint-efi=hd4,gpt1 --hint-baremetal=ahci4,gpt1 69DB-D2EB chainloader /EFI/Microsoft/Boot/bootmgfw.efi }
You need to explicitely mention "--set=root" in the search line for this to work. This is not assumed by GRUB.
search --fs-uuid --set=root --hint-bios=hd4,gpt1 --hint-efi=hd4,gpt1 --hint-baremetal=ahci4,gpt1 69DB-D2EB
Offline
Thank you, the.ridikulus.rat.
I just booted back from windows to tell the same.
I just found the solution here
http://unix.stackexchange.com/questions … th-windows
I was configuring according to the ArchWiki.
The ArchWiki was missing that point.
https://wiki.archlinux.org/index.php/GR … I-GPT_Mode
it said
menuentry "Microsoft Windows Vista/7/8 x86_64 UEFI-GPT" {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
search --fs-uuid $hints_string $uuid
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
Just edited the wiki. Thanks!
Offline
Thank you, the.ridikulus.rat.
I just booted back from windows to tell the same.
I just found the solution herehttp://unix.stackexchange.com/questions … th-windows
I was configuring according to the ArchWiki.
The ArchWiki was missing that point.
https://wiki.archlinux.org/index.php/GR … I-GPT_Modeit said
menuentry "Microsoft Windows Vista/7/8 x86_64 UEFI-GPT" { insmod part_gpt insmod fat insmod search_fs_uuid insmod chain search --fs-uuid $hints_string $uuid chainloader /EFI/Microsoft/Boot/bootmgfw.efi }
Just edited the wiki. Thanks!
I initially wrote that section of the wiki (with "--set=root" included), but someone had changed it recently ( https://wiki.archlinux.org/index.php?ti … did=276742 ).
Last edited by the.ridikulus.rat (2013-09-29 10:02:48)
Offline