Bug 18680

Summary: drakboot crashed (grub2-install: error: cannot find EFI directory)
Product: Mageia Reporter: Vincent Coen <vbcoen>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Normal CC: marja11, thierry.vignaud
Version: 5Keywords: NEEDINFO
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: drakxtools-16.104-1.mga5 CVE:
Status comment:

Description Vincent Coen 2016-06-10 17:14:28 CEST
The "drakboot" program crashed. Drakbug-16.104 caught it.

Install grub2 via 'set up boot system' on 2nd drive (WD Red 3Tb) which 
has under GPT 12+ partitions four and moer containing bootable system including
Windows 7.

First drive is a Crucial BX200 250 Gb SSD.

WD has the following partitions etc -

----
[vince@Applewood dbpre-code-18]$ sudo fdisk -l /dev/sdb

Disk /dev/sdb: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: A3387632-427C-4272-AB69-8FE8A4DC1CE2

Device          Start        End    Sectors    Size Type
/dev/sdb1        2048     206847     204800    100M EFI System
/dev/sdb2      206848     468991     262144    128M Microsoft reserved
/dev/sdb3      468992 2113701887 2113232896 1007.7G Microsoft basic data
/dev/sdb4  2113701888 2113906687     204800    100M Microsoft basic data
/dev/sdb5  2113906688 2155849727   41943040     20G Microsoft basic data
/dev/sdb6  2155849728 2164041727    8192000    3.9G Microsoft basic data
/dev/sdb7  2164041728 2205984767   41943040     20G Microsoft basic data
/dev/sdb8  2205984768 2247927807   41943040     20G Microsoft basic data
/dev/sdb9  2247927808 2289870847   41943040     20G Microsoft basic data
/dev/sdb10 2289870848 3335170047 1045299200  498.4G Microsoft basic data
/dev/sdb11 3335170048 5448364031 2113193984 1007.7G Microsoft basic data
----

sda has : -

----
sudo fdisk -l /dev/sda

Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 92EBF649-FDA0-4370-9F73-0F65A8BF4CA9

Device         Start       End   Sectors  Size Type
/dev/sda1       2048    206847    204800  100M EFI System
/dev/sda2     206848    468991    262144  128M Microsoft reserved
/dev/sda3     468992 375754751 375285760  179G Microsoft basic data
/dev/sda4  375756800 488396799 112640000 53.7G Microsoft basic data

---

This has been happening for some time


grub2-install failed: Installing for x86_64-efi platform.
grub2-install: error: cannot find EFI directory.
	...propagated at /usr/lib/libDrakX/any.pm line 268.
	...propagated at /usr/libexec/drakboot line 64.
Perl's trace:
drakbug::bug_handler() called from /usr/libexec/drakboot:64

Theme name: oxygen-gtk
Kernel version = 4.1.15-server-2.mga5
Distribution=Mageia release 5 (Official) for x86_64
CPU=AMD FX(tm)-8350 Eight-Core Processor
Comment 1 Thierry Vignaud 2016-06-11 14:17:33 CEST
What's the result of 'rpm -qa grub2*' ?
Did you install grub2 manually?
If yes, you should have installed grub2-efi instead.

Keywords: (none) => NEEDINFO
CC: (none) => thierry.vignaud
Summary: drakboot crashed => drakboot crashed (grub2-install: error: cannot find EFI directory)

Comment 2 Marja Van Waes 2016-06-26 20:10:19 CEST
dup, anyway (including same reporter)

*** This bug has been marked as a duplicate of bug 17296 ***

Status: NEW => RESOLVED
CC: (none) => marja11
Resolution: (none) => DUPLICATE