Bug 5280

Summary: No entry for Windows 8 in the grub menu (UEFI-mode)
Product: [ROSA-based products] ROSA Fresh Reporter: Andrey Ponomarenko <aponomarenko>
Component: Packages from MainAssignee: Konstantin Vlasov <konstantin.vlasov>
Status: CONFIRMED --- QA Contact: ROSA Linux Bugs <bugs>
Severity: critical    
Priority: High CC: v.potapov, xtemp09
Version: Fresh   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Platform: --- ROSA Vulnerability identifier:
RPM Package: ISO-related:
Bad POT generating: Upstream:
Attachments: diskdrake - sda1
diskdrake - sda3
diskdrake - sda4

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
3.
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" {
  savedefault
  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 MSK
Should be fixed in grub2-2.00-72.
Comment 7 Andrey Ponomarenko 2015-04-24 11:11:32 MSK
The issue persists with grub2-2.00-72.
Comment 8 Konstantin Vlasov 2015-05-25 16:00:30 MSK
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 MSK
R7 detects Windows 7 as Windows Vista.