ROSA Linux Bugzilla – Bug 4930
EFI boot failed on Dell notebook
Last modified: 2015-07-07 23:12:42 MSD
Description of problem:
I have Dell Latitude E6530 notebook with ROSA R5 and pre-installed Windows 7 in Legacy mode.
I've tried to install the ROSA R5 in EFI mode, but computer just shows black screen after reboot:
No bootable devices--strike F1 to retry boot, F2 for setup utility
Press F5 to run onboard diagnostics.
I've added a new option "ROSA R5" to EFI manually in BIOS settings pointing to \EFI\rosa\grubx64.efi and then ROSA boots fine.
Why it haven't been automatically added to EFI by the installer?
HW probe: http://hw.rosalinux.ru/index.php?probe=4926481e1f
Version-Release number of selected component (if applicable):
R5 KDE x86_64
How reproducible: always
Steps to Reproduce:
1. Try to install and boot ROSA R5 in EFI mode
Also grub doesn't show Windows 7 in the list of systems to boot if EFI mode is enabled.
(In reply to comment #0)
> Why it haven't been automatically added to EFI by the installer?
I found the source of the problem: efibootmgr does not support adding UEFI bootloader entries when EFI partition is located on an MBR-partitioned disk and is logical (not primary).
Just in case, could you please show the output of the command
# efibootmgr -v
now that you added the boot entry manually?
(In reply to comment #1)
> Also grub doesn't show Windows 7 in the list of systems to boot if EFI mode
> is enabled.
It seems, detecting legacy bootloaders does not work in UEFI grub installation. Please, copy here the file /boot/grub2/grub.cfg from the ROSA installed legacy BIOS mode. You can also try to copy the Windows menuentry from it into the grub.cfg of your UEFI ROSA. I'm not sure, but there's a chance it will work.
(In reply to comment #2)
> Just in case, could you please show the output of the command
> # efibootmgr -v
It shows only manually added "ROSA R5":
[root@Dell-E6530 andrey]# efibootmgr -v
Timeout: 0 seconds
Boot0000* ROSA R5 ACPI(a0341d0,0)PCI(1f,2)Vendor(cf31fac5-c24e-11d2-85f3-00a0c93ec93b,80)HD(7,1abb0800,ff800,00000000)File(\EFI\rosa\grubx64.efi)
Boot0001* Diskette Drive BIOS(1,0,4469736b6574746520447269766500)AMBO
Boot0002* Internal HDD BIOS(2,0,50303a2053414d53554e472053534420534d38343120322e352220376d6d20323536474200)AMBO
Boot0003* USB Storage Device BIOS(5,0,5553422053746f726167652044657669636500)AMBO
Boot0004* CD/DVD/CD-RW Drive BIOS(3,0,50313a204d41545348495441204456442b2f2d525720554a38433220202000)AMBO
Boot0005* Onboard NIC BIOS(6,0,49424120474520536c6f74203030433820763135353000)AMBO
BootFFFA* Internal Shell Vendor(5990c250-676b-4ff7-8a0d-529319d0b254,)
BootFFFB* Diagnostic Boot Vendor(5990c250-676b-4ff7-8a0d-529319d0b254,)
BootFFFC* Temporary Boot Menu Vendor(5990c250-676b-4ff7-8a0d-529319d0b254,)
BootFFFD* Graphic Setup Vendor(5990c250-676b-4ff7-8a0d-529319d0b254,)
BootFFFE* Text Setup Vendor(5990c250-676b-4ff7-8a0d-529319d0b254,)
EFI boot partition is:
Filesystem Size Used Avail Use% Mounted on
/dev/sda8 510M 5.1M 505M 1% /boot/efi
grub2-efi-install failed to install GRUB:
[root@Dell-E6530 andrey]# grub2-efi-install /dev/sda8
Timeout: 0 seconds
Boot0001* Diskette Drive
Boot0002* Internal HDD
Boot0003* USB Storage Device
Boot0004* CD/DVD/CD-RW Drive
Boot0005* Onboard NIC
BootFFFA* Internal Shell
BootFFFB* Diagnostic Boot
BootFFFC* Temporary Boot Menu
BootFFFD* Graphic Setup
BootFFFE* Text Setup
Extended partition info not supported.
Error: no partition information on disk /dev/sda.
Cowardly refusing to create a boot option.
Installation finished. No error reported.
Thank you for the data. Yes, that's the problem. In the meantime I've looked into efibootmgr code and, indeed, extended MBR partition (and therefore, logical partitions) are not yet supported.
I think I'll be able to write a patch for supporting them, but for now we should update our Errata that either GPT should be used, or MBR with a primary EFI partition, or that user will have to add bootloader entry manually (if the BIOS implements this function, which is quite a rare function).
Created attachment 3659 [details]
HOWTO add ROSA boot option to EFI #1
Created attachment 3660 [details]
HOWTO add ROSA boot option to EFI #2
Created attachment 3661 [details]
HOWTO add ROSA boot option to EFI #3
The issue has been fixed in the latest images of ROSA Linux.
HW probe: http://hw.rosalinux.ru/index.php?probe=3affe0103a