• Grub install fails


    Hi, I’m writing these lines frome the antergos live CD as cnchi failed to install grub during the installation.

    I used the [b:3ida0kz9]cnchi-dev[/b:3ida0kz9] graphical installer. The installation was put onto a single SSD and I told the installer to create a seperate /home partition.

    This is the relevant part of the installation log.

      
    [2014-11-19 20:26:40] [process.py] DEBUG: ufw Dienst aktiviert.  
    [2014-11-19 20:26:40] [process.py] DEBUG: Spezielle Verzeichnisse sind nicht eingehängt. Überspringe.  
    [2014-11-19 20:26:40] [process.py] DEBUG: Installiere Bootloader...  
    [2014-11-19 20:26:40] [process.py] DEBUG: /etc/default/grub Konfiguration erfolgreich abgeschlossen. ("config successfull")  
    [b][2014-11-19 20:26:42] [slides.py] INFO: Installiere GRUB(2) UEFI x86\_64 Bootloader[/b]  
    [2014-11-19 20:26:43] [process.py] ERROR: Command grub-install failed. Error output: None  
    [2014-11-19 20:26:43] [slides.py] INFO: Installiere GRUB(2) Sprachdateien. ("Install of Grub language files")  
    [2014-11-19 20:26:43] [slides.py] INFO: Kopiere GRUB(2) Theme Dateien   
    [2014-11-19 20:26:43] [slides.py] INFO: Kein OEM Lader in /install/boot/EFI/BOOT/ gefunden. Kopiere GRUB(2) in das Verzeichnis. ("No OEM Loader found in /install/boot/EFI/BOOT/ copy GRUB(2) into directory")  
    [2014-11-19 20:26:43] [slides.py] INFO: Kein OEM Lader in /install/boot/EFI/Microsoft/Boot/ gefunden. Kopiere GRUB(2) in das Verzeichnis. (the same as the last line)  
    [2014-11-19 20:26:43] [slides.py] INFO: Erstelle grub.cfg ("creating grub.cfg")  
    [2014-11-19 20:26:44] [process.py] DEBUG: Generating grub configuration file ...  
    Found theme: /boot/grub/themes/Antergos-Default/theme.txt  
    Found linux image: /boot/vmlinuz-linux  
    Found initrd image: /boot/initramfs-linux.img  
    /run/lvm/lvmetad.socket: connect failed: No such file or directory  
    WARNING: Failed to connect to lvmetad. Falling back to internal scanning.  
    No volume groups found  
    done  
      
    [2014-11-19 20:26:44] [process.py] DEBUG: Kopiere Installationsbericht nach /var/log.  
    [2014-11-19 20:26:44] [process.py] DEBUG: System wurde konfiguriert.  
    [2014-11-19 20:26:44] [slides.py] INFO: GRUB(2) UEFI Installation erfolgreich abgeschlossen  
    [2014-11-19 20:26:44] [slides.py] INFO: Installation abgeschlossen  
    [2014-11-19 20:26:44] [show\_message.py] INFO: Installation vollständig!  
    Wollen Sie Ihr System jetzt neu starten?
    

    Unfortunately, this log was created partly in german. (Yes, I’m german native -.-), but i tried to translate the relevant parts.

    Any hints?

  • Hi, I’m writing these lines frome the antergos live CD as cnchi failed to install grub during the installation.

    I used the [b:3ida0kz9]cnchi-dev[/b:3ida0kz9] graphical installer. The installation was put onto a single SSD and I told the installer to create a seperate /home partition.

    This is the relevant part of the installation log.

      
    [2014-11-19 20:26:40] [process.py] DEBUG: ufw Dienst aktiviert.  
    [2014-11-19 20:26:40] [process.py] DEBUG: Spezielle Verzeichnisse sind nicht eingehängt. Überspringe.  
    [2014-11-19 20:26:40] [process.py] DEBUG: Installiere Bootloader...  
    [2014-11-19 20:26:40] [process.py] DEBUG: /etc/default/grub Konfiguration erfolgreich abgeschlossen. ("config successfull")  
    [b][2014-11-19 20:26:42] [slides.py] INFO: Installiere GRUB(2) UEFI x86\_64 Bootloader[/b]  
    [2014-11-19 20:26:43] [process.py] ERROR: Command grub-install failed. Error output: None  
    [2014-11-19 20:26:43] [slides.py] INFO: Installiere GRUB(2) Sprachdateien. ("Install of Grub language files")  
    [2014-11-19 20:26:43] [slides.py] INFO: Kopiere GRUB(2) Theme Dateien   
    [2014-11-19 20:26:43] [slides.py] INFO: Kein OEM Lader in /install/boot/EFI/BOOT/ gefunden. Kopiere GRUB(2) in das Verzeichnis. ("No OEM Loader found in /install/boot/EFI/BOOT/ copy GRUB(2) into directory")  
    [2014-11-19 20:26:43] [slides.py] INFO: Kein OEM Lader in /install/boot/EFI/Microsoft/Boot/ gefunden. Kopiere GRUB(2) in das Verzeichnis. (the same as the last line)  
    [2014-11-19 20:26:43] [slides.py] INFO: Erstelle grub.cfg ("creating grub.cfg")  
    [2014-11-19 20:26:44] [process.py] DEBUG: Generating grub configuration file ...  
    Found theme: /boot/grub/themes/Antergos-Default/theme.txt  
    Found linux image: /boot/vmlinuz-linux  
    Found initrd image: /boot/initramfs-linux.img  
    /run/lvm/lvmetad.socket: connect failed: No such file or directory  
    WARNING: Failed to connect to lvmetad. Falling back to internal scanning.  
    No volume groups found  
    done  
      
    [2014-11-19 20:26:44] [process.py] DEBUG: Kopiere Installationsbericht nach /var/log.  
    [2014-11-19 20:26:44] [process.py] DEBUG: System wurde konfiguriert.  
    [2014-11-19 20:26:44] [slides.py] INFO: GRUB(2) UEFI Installation erfolgreich abgeschlossen  
    [2014-11-19 20:26:44] [slides.py] INFO: Installation abgeschlossen  
    [2014-11-19 20:26:44] [show\_message.py] INFO: Installation vollständig!  
    Wollen Sie Ihr System jetzt neu starten?
    

    Unfortunately, this log was created partly in german. (Yes, I’m german native -.-), but i tried to translate the relevant parts.

    Any hints?

  • I did another installation this time using the following command. But again I got the same result: A non bootable disk.

    su  
    pacman -Sy git  
    cnchi-dev
    

    The “pacman -Sy git” returns with [b:2v3wd54a]code 1[/b:2v3wd54a] (checked with “echo $?”) and hence, delivers an error message.

    error: failed to prepare transaction (could not find database)
    

    The installation log is a little more detailed, as I was able to copy it directly from the command line.

      
    [2014-11-19 21:35:08] [process.py] DEBUG: Installiere Bootloader...  
    [2014-11-19 21:35:08] [process.py] DEBUG: /etc/default/grub config successfull.  
    [2014-11-19 21:35:11] [slides.py] INFO: Installiere GRUB(2) UEFI x86\_64 Bootloader  
    Installing for x86\_64-efi platform.  
    efibootmgr: symbol lookup error: efibootmgr: undefined symbol: efi\_guid\_zero  
    grub-install: error: efibootmgr: not found.  
    [2014-11-19 21:35:12] [process.py] ERROR: Command grub-install failed. Error output: None  
    [2014-11-19 21:35:12] [slides.py] INFO: Install GRUB(2) languagfiles.  
    [2014-11-19 21:35:12] [slides.py] INFO: copy GRUB(2) theme files  
    [2014-11-19 21:35:12] [slides.py] INFO: No OEM Loader in /install/boot/EFI/BOOT/ found. Copy GRUB(2) into the directory.  
    [2014-11-19 21:35:12] [slides.py] INFO: No OEM Loader in /install/boot/EFI/Microsoft/Boot/ found. Copy GRUB(2) into the directory.  
    [2014-11-19 21:35:12] [slides.py] INFO: Creating grub.cfg  
    [2014-11-19 21:35:13] [process.py] DEBUG: Generating grub configuration file ...  
    Found theme: /boot/grub/themes/Antergos-Default/theme.txt  
    Found linux image: /boot/vmlinuz-linux  
    Found initrd image: /boot/initramfs-linux.img  
    /run/lvm/lvmetad.socket: connect failed: No such file or directory  
    WARNING: Failed to connect to lvmetad. Falling back to internal scanning.  
    No volume groups found  
    done  
      
    [2014-11-19 21:35:13] [process.py] DEBUG: Copy intstallationlog to /var/log.  
    [2014-11-19 21:35:13] [process.py] DEBUG: System configured.  
    [2014-11-19 21:35:13] [slides.py] INFO: GRUB(2) UEFI Installation successfull   
    [2014-11-19 21:35:13] [slides.py] INFO: Installation successfull  
    [2014-11-19 21:35:13] [show\_message.py] INFO: Installation complete!  
    Reboot now?  
      
      
    
    
  • Hi,

    Review the process outlined at the link below to verify if you created your install USB properly:

    [https://wiki.archlinux.org/index.php/USB_flash_installation_media#BIOS_and_UEFI_Bootable_USB][0]">[https://wiki.archlinux.org/index.php/US][1] … otable_USB

    Let me know. Thanks :-)

    [0]: <a href=
    [1]: https://wiki.archlinux.org/index.php/US

  • I guess that was the point. I initially needed to overwrite a file in the /boot dir of the usb stick in order to get it bootable on my board.

    With your hint I recreated my usb stick (“dd”) which resulted in a non bootable usb-stick. I needed to further flash my UEFI to the newest version (there seemed to be a bug somewhere).

    Now, the installatin installes grub, and creates a bootable partition. Thanks a lot!

    You are doing gods work!

  • Glad you were able to resolve the problem :-D

    Cheers!

Posts 6Views 2945
Log in to reply