Bug 15439 - error while installing grub2-efi on microSD flash disk on MacAir
Summary: error while installing grub2-efi on microSD flash disk on MacAir
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2015-03-06 19:20 CET by stud asb
Modified: 2015-06-02 14:52 CEST (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description stud asb 2015-03-06 19:20:25 CET
fail repeat no matters using im these instructions or not:
su -
chroot /mnt/install
urpmi grub2-efi   #(allow it to uninstall conflicting grub2)
exit #(from chroot)
exit #(from su -)
exit #(closes terminal window) 
(from here https://wiki.mageia.org/en/UEFI_how-to#Preparation_of_USB_stick )

The "draklive-install" program has crashed with the following error:

  grub2-install failed:  at /usr/lib/libDrakX/bootloader.pm line 2028.
  	...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

[root@localhost live]# lspcidrake -v
bcma            : Broadcom Corporation|BCM43224 802.11a/b/g/n [NETWORK_OTHER] (vendor:14e4 device:4353 subv:106b subd:00e9) (rev: 01)
i2c_i801        : Intel Corporation|7 Series/C210 Series Chipset Family SMBus Controller [SERIAL_SMBUS] (vendor:8086 device:1e22 subv:8086 subd:7270) (rev: 04)
unknown         : Intel Corporation|7 Series Chipset Family 6-port SATA Controller [AHCI mode] [STORAGE_SATA] (vendor:8086 device:1e03 subv:8086 subd:7270) (rev: 04)
lpc_ich         : Intel Corporation|QS77 Express Chipset LPC Controller [BRIDGE_ISA] (vendor:8086 device:1e56 subv:8086 subd:7270) (rev: 04)
ehci_pci        : Intel Corporation|7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [SERIAL_USB] (vendor:8086 device:1e26 subv:8086 subd:7270) (rev: 04)
shpchp          : Intel Corporation|7 Series/C210 Series Chipset Family PCI Express Root Port 5 [BRIDGE_PCI] (vendor:8086 device:1e18) (rev: c4)
shpchp          : Intel Corporation|7 Series/C210 Series Chipset Family PCI Express Root Port 2 [BRIDGE_PCI] (vendor:8086 device:1e12) (rev: c4)
shpchp          : Intel Corporation|7 Series/C210 Series Chipset Family PCI Express Root Port 1 [BRIDGE_PCI] (vendor:8086 device:1e10) (rev: c4)
snd_hda_intel   : Intel Corporation|7 Series/C210 Series Chipset Family High Definition Audio Controller [MULTIMEDIA_AUDIO_DEV] (vendor:8086 device:1e20 subv:8086 subd:7270) (rev: 04)
ehci_pci        : Intel Corporation|7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [SERIAL_USB] (vendor:8086 device:1e2d subv:8086 subd:7270) (rev: 04)
unknown         : Intel Corporation|7 Series/C210 Series Chipset Family MEI Controller #1 [COMMUNICATION_OTHER] (vendor:8086 device:1e3a subv:8086 subd:7270) (rev: 04)
xhci_hcd        : Intel Corporation|7 Series/C210 Series Chipset Family USB xHCI Host Controller [SERIAL_USB] (vendor:8086 device:1e31 subv:8086 subd:7270) (rev: 04)
Card:Intel 810 and later: Intel Corporation|3rd Gen Core processor Graphics Controller [DISPLAY_VGA] (vendor:8086 device:0166 subv:106b subd:00fe) (rev: 09)
unknown         : Intel Corporation|3rd Gen Core processor DRAM Controller [BRIDGE_HOST] (vendor:8086 device:0154 subv:106b subd:00fe) (rev: 09)
hub             : Linux 3.12.21-desktop-2.mga4 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
hub             : Intel Corp.|Integrated Rate Matching Hub [Hub|Unused|Full speed (or root) hub] (vendor:8087 device:0024)
hub             : Standard Microsystems Corp.|2.0 Hub [Hub|Unused|TT per port] (vendor:0424 device:2513)
hub             : Apple Inc.|BRCM20702 Hub [Hub|Unused|Full speed (or root) hub] (vendor:0a5c device:4500)
btusb           : Apple Inc.|Bluetooth USB Host Controller (vendor:05ac device:821f)
usbhid          : Apple Inc.|Apple Internal Keyboard / Trackpad [Human Interface Device|Boot Interface Subclass|Keyboard] (vendor:05ac device:024d)
usb_storage     : Apple|Card Reader [Mass Storage|SCSI|Bulk-Only] (vendor:05ac device:8404)
hub             : Linux 3.12.21-desktop-2.mga4 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
hub             : Intel Corp.|Integrated Rate Matching Hub [Hub|Unused|Full speed (or root) hub] (vendor:8087 device:0024)
uvcvideo        : Apple Inc.|FaceTime HD Camera (Built-in) [Video|Video Control] (vendor:05ac device:8510)
hub             : Linux 3.12.21-desktop-2.mga4 xhci_hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0003)
hub             : Linux 3.12.21-desktop-2.mga4 xhci_hcd|xHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
usb_storage     : Sunplus Innovation Technology.|USB to Serial-ATA bridge [Mass Storage|SCSI|Bulk-Only] (vendor:1bcf device:0c31)
hub             : Genesys Logic, Inc.|USB2.0 Hub [Hub|Unused|Full speed (or root) hub] (vendor:05e3 device:0608)
usb_storage     : Generic|Mass Storage Device [Mass Storage|SCSI|Bulk-Only] (vendor:058f device:6364)
usbhid          : RAPOO|RAPOO 2.4G Wireless Device [Human Interface Device|Boot Interface Subclass|Keyboard] (vendor:24ae device:2000)
asix            : Apple Inc.      |Apple USB Ethernet Adapter (vendor:05ac device:1402)
usbhid          : Unknown| USB OPTICAL MOUSE [Human Interface Device|Boot Interface Subclass|Mouse] (vendor:2188 device:0ae1)
hid_generic     : RAPOO RAPOO 2.4G Wireless Device
hid_generic     : RAPOO RAPOO 2.4G Wireless Device
hid_generic     : Generic Mass Storage Device
hid_apple       : Apple Inc. Apple Internal Keyboard / Trackpad
hid_apple       : Apple Inc. Apple Internal Keyboard / Trackpad
hid_generic     :  USB OPTICAL MOUSE

[root@localhost live]# 

[root@localhost live]# mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,size=1968736k,nr_inodes=492184,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
/dev/loop0 on /run/mgalive/ovlsize type squashfs (ro,relatime)
overlayfs on / type overlayfs (rw,relatime,lowerdir=/live/distrib,upperdir=/live/memory)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,relatime,mode=755)
tmpfs on /tmp type tmpfs (rw)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
gvfsd-fuse on /run/user/500/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=500,group_id=500)
/dev/sde3 on /mnt/install type ext4 (rw,relatime,data=ordered)
/dev/sde5 on /mnt/install/home type ext4 (rw,relatime,data=ordered)
devtmpfs on /mnt/install/dev type devtmpfs (rw,nosuid,size=1968736k,nr_inodes=492184,mode=755)
tmpfs on /mnt/install/run type tmpfs (rw,nosuid,nodev,mode=755)
none on /mnt/install/proc type proc (rw,relatime)
none on /mnt/install/sys type sysfs (rw,relatime)
/dev/sde2 on /run/media/live/aba65d79-39e3-3a26-ade0-ee3adac0ea1e type hfsplus (ro,nosuid,nodev,relatime,umask=22,uid=0,gid=0,nls=utf8,uhelper=udisks2)
/dev/sde2 on /mnt/install/run/media/live/aba65d79-39e3-3a26-ade0-ee3adac0ea1e type hfsplus (ro,nosuid,nodev,relatime,umask=22,uid=0,gid=0,nls=utf8)
/dev/sde1 on /boot/EFI type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


Reproducible: 

Steps to Reproduce:
Comment 1 Mageia Robot 2015-04-03 18:33:12 CEST
commit 1bf914e86184b84d02465f8bb04747a7edd1517c
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Fri Apr 3 18:29:19 2015 +0200

    grub2-install output too (mga#15439)
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=1bf914e86184b84d02465f8bb04747a7edd1517c
Comment 2 Mageia Robot 2015-04-27 17:58:50 CEST
commit e62c6c118959f8e43f0d9568c84c99416d33255d
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Fri Apr 3 18:29:19 2015 +0200

    grub2-install output too (mga#15439)
    
    It would help mga#15751 too
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=e62c6c118959f8e43f0d9568c84c99416d33255d

 Bug links:
   Mageia
      https://bugs.mageia.org/15751
      https://bugs.mageia.org/15439
Comment 3 Samuel Verschelde 2015-05-02 19:11:28 CEST
Can you tell us if it's fixed with Mageia 5RC? A lot has changed regarding UEFI support.

CC: (none) => thierry.vignaud, tmb
Version: 4 => Cauldron

Comment 4 Thierry Vignaud 2015-05-07 13:14:25 CEST
Ping?

Keywords: (none) => NEEDINFO

Comment 5 Samuel Verschelde 2015-06-02 14:52:47 CEST
Considering fixed. Please reopen if still valid in Mageia 5 RC or final.

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


Note You need to log in before you can comment on or make changes to this bug.