Bug 13644

Summary: draklive-install crashed while installing Grub2 UEFI (modinfo.sh doesn't exist) after grub2-efi install error
Product: Mageia Reporter: Mark Kay <markkuehn>
Component: InstallerAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal CC: eeeemail, markkuehn, thierry.vignaud, tmb, zen25000
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: 5alpha1
Source RPM: draklive-install-2.1-1.mga4 CVE:
Status comment:

Description Mark Kay 2014-07-02 03:41:05 CEST
Installing Mageia-5-alpha1-LiveDVD-KDE4-x86_64.iso to a BTRFS partition.  I downloaded and installed grub2-efi before installing and received the error: "/usr/sbin/grub2-probe: error: failed to get canonical path of `overlayfs'.".  I continued the install and pointed the installer to my EFI partion on /dev/sda1.  I got to the bootloader selection screen and I selected Graphical Grub 2 and the install failed.  Here's the output after trying to install grub2-efi:

--------------------------------------------------------

[root@localhost ~]# urpmi grub2-efi 
values on reference is experimental at /usr/lib/perl5/vendor_perl/5.18.1/urpm/main_loop.pm line 232.
values on reference is experimental at /usr/lib/perl5/vendor_perl/5.18.1/urpm/main_loop.pm line 232.
values on reference is experimental at /usr/lib/perl5/vendor_perl/5.18.1/urpm/main_loop.pm line 245.
values on reference is experimental at /usr/lib/perl5/vendor_perl/5.18.1/urpm/main_loop.pm line 245.
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Live Core")
  grub2-efi                      2.02         0.git9752.4.> x86_64  
  grub2-mageia-theme             2.02         0.git9752.4.> noarch  (suggested)
24MB of additional disk space will be used.
3.8MB of packages will be retrieved.
Proceed with the installation of the 2 packages? (Y/n) y
installing grub2-mageia-theme-2.02-0.git9752.4.mga5.noarch.rpm grub2-efi-2.02-0.git9752.4.mga5.x86_64.rpm from /var/local/mga_rpms/core
Preparing...                     #############################################
      1/2: grub2-efi             #############################################
Installing for x86_64-efi platform.
grub2-install: error: failed to get canonical path of `overlayfs'.
/usr/sbin/grub2-probe: error: failed to get canonical path of `overlayfs'.
warning: %post(grub2-efi-2.02-0.git9752.4.mga5.x86_64) scriptlet failed, exit status 1
ERROR: 'script' failed for grub2-efi-2.02-0.git9752.4.mga5.x86_64: 
      2/2: grub2-mageia-theme    #############################################
/usr/sbin/grub2-probe: error: failed to get canonical path of `overlayfs'.

--------------------------------------------------------

Here's the output from draklive-install fail:

The "draklive-install" program crashed. Drakbug-16.34 caught it.
grub2-install failed: grub2-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory.
	...propagated at /usr/lib/libDrakX/any.pm line 263.
Perl's trace:
standalone::bug_handler() called from /usr/lib/libDrakX/any.pm:263
any::installBootloader() called from /usr/lib/libDrakX/any.pm:233
any::setupBootloaderUntilInstalled() called from /usr/sbin/draklive-install:327
main::setup_bootloader() called from /usr/sbin/draklive-install:70
main::install_live() called from /usr/sbin/draklive-install:42

Theme name: oxygen-gtk
Kernel version = 3.15.2-desktop-2.mga5
Distribution=Mageia release 5 (Cauldron) for x86_64
CPU=Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz
Mark Kay 2014-07-02 04:40:36 CEST

CC: (none) => markkuehn

claire robinson 2014-07-02 15:54:22 CEST

CC: (none) => eeeemail, tmb, zen25000
Whiteboard: (none) => 5alpha1

Comment 1 Thomas Backlund 2014-07-02 16:37:53 CEST
You must use the mga4 experimental way so far:
https://wiki.mageia.org/en/UEFI_how-to#TMB.27s_instructions
Comment 2 Thierry Vignaud 2015-04-16 09:02:10 CEST
I think this one should be fixed by now with mga5 RC.
But for "use free space" that needs rebuilding live with latest drakxtools

CC: (none) => thierry.vignaud

Comment 3 Thomas Backlund 2015-04-16 19:28:00 CEST
Or simply boot in live mode, add online medias, update drakxtools, and then start the install
Comment 4 Thierry Vignaud 2015-05-18 04:34:48 CEST
Presumed fixed

Status: NEW => RESOLVED
Resolution: (none) => FIXED