Bug 5280 - No entry for Windows 8 in the grub menu (UEFI-mode)
: No entry for Windows 8 in the grub menu (UEFI-mode)
Product: Desktop Bugs
Classification: ROSA Desktop
Component: Main Packages
: Fresh
: All Linux
: High critical
: ---
Assigned To: Konstantin Vlasov
: ROSA Linux Bugs
Depends on:
  Show dependency treegraph
Reported: 2015-03-26 15:18 MSK by Andrey Ponomarenko
Modified: 2016-07-11 10:31 MSD (History)
2 users (show)

See Also:
RPM Package:
Bad POT generating:

diskdrake - sda1 (127.85 KB, image/jpeg)
2015-03-27 12:30 MSK, Andrey Ponomarenko
diskdrake - sda3 (131.25 KB, image/jpeg)
2015-03-27 12:31 MSK, Andrey Ponomarenko
diskdrake - sda4 (129.02 KB, image/jpeg)
2015-03-27 12:31 MSK, Andrey Ponomarenko

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Ponomarenko 2015-03-26 15:18:16 MSK
Description of problem:

I've tried to install ROSA R5 KDE x86_64 in dual-boot with Windows 8. But after the installation there is no entry for Windows 8 in the grub menu.

HW probe: http://hw.rosalinux.ru/index.php?probe=9b611c0977

update-grub2 reported: Windows Boot Manager is not yet supported by grub-mkconfig

Version-Release number of selected component (if applicable): R5 KDE x86_64

How reproducible: always

Steps to Reproduce:
1. Install ROSA on free disk space in dual-boot with Windows 8 in UEFI-mode
2. Look at the grub menu
Comment 1 Konstantin Vlasov 2015-03-26 15:37:42 MSK
This message will always appear - it's displayed by the 30_os-prober script which cannot understand Windows boot records. The corresponding menu entry is created later, by the 42_efi script.

In this case the menu entries have unusual contents, so they do not pass as Windows menu entries. I will update the script and support this type of contents as well.
Comment 2 Andrey Ponomarenko 2015-03-27 12:27:54 MSK
I've added this boot entry manually to /boot/grub2/grub.cfg:

menuentry "Microsoft Windows Vista/7/8 UEFI-GPT" {
  insmod part_gpt
  insmod fat
  insmod search_fs_uuid
  insmod chain
  set root=hd0,gpt1
  chainloader /EFI/Microsoft/Boot/bootmgfw.efi

and Windows 8 started successfully.

However, after next reboot where is no grub menu. Windows 8 starts immediately instead.
Comment 3 Andrey Ponomarenko 2015-03-27 12:30:56 MSK
Created attachment 3847 [details]
diskdrake - sda1
Comment 4 Andrey Ponomarenko 2015-03-27 12:31:30 MSK
Created attachment 3848 [details]
diskdrake - sda3
Comment 5 Andrey Ponomarenko 2015-03-27 12:31:53 MSK
Created attachment 3849 [details]
diskdrake - sda4
Comment 6 Konstantin Vlasov 2015-03-30 17:25:29 MSD
Should be fixed in grub2-2.00-72.
Comment 7 Andrey Ponomarenko 2015-04-24 11:11:32 MSD
The issue persists with grub2-2.00-72.
Comment 8 Konstantin Vlasov 2015-05-25 16:00:30 MSD
In grub2-2.00-73 the Windows menu item should be generated correctly, but ONLY IF the "Windows Boot Manager" boot entry is present in UEFI (that is, efibootmgr -v displays it). If there is no such entry, it is treated as if there is no Windows present.
Comment 9 Evgeniy 2016-07-11 10:31:06 MSD
R7 detects Windows 7 as Windows Vista.