You are not logged in.

#1 2012-03-03 19:12:55

Jofsey
Member
Registered: 2012-03-03
Posts: 15

Installing GRUB2 with GPT and UEFI

Hi!

I'm trying to install GRUB2 on the disk with GPT on the machine with UEFI support. But at the end of my doings I getting error «Reboot and Select proper Boot device or Insert Boot Media in selected Boot device and press a key».

There is my doing in step by step form:

  • 1. In the BIOS settings I've turned on Enable UEFI booting.
    2. Make all steps of Arch installer except «HD partition» and «bootloader setting».
    3. Partitioned my disk with gdisk as follows:

    • 1. 400mb fat32 «EFI System partition»
      2. 55gb ext4 «Linux filesystem data»

    The first is mounting in «/boot/efi» and the second in «/».
    4. Installed GRUB2 in the first partition

    grub_efi_x86_64-install --root-directory=/boot/efi --boot-directory=/boot/efi/efi --bootloader-id=arch_grub --no-floppy --recheck --debug

    5. Copyed setting files of «GRUB2 entry in the Firmware Boot Manager».

    cp /boot/efi/efi/arch_grub/grubx64.efi /boot/efi/shellx64.efi
    cp /boot/efi/efi/arch_grub/grubx64.efi /boot/efi/efi/shellx64.efi
    cp /boot/efi/efi/arch_grub/grubx64.efi /boot/efi/efi/shell/shellx64.efi

    6. Configured grub.cfg, but it doesn't matter cause with such error message it's clear, than system can't find the GRUB2 entry.

Have someone any ideas where I make a mistake?

Last edited by Jofsey (2012-03-03 19:15:35)

Offline

#2 2012-03-04 12:51:43

broken pipe
Member
Registered: 2010-12-10
Posts: 238

Re: Installing GRUB2 with GPT and UEFI

did you tried

 efibootmgr --create --gpt --disk /dev/sdX --part Y --write-signature --label "Arch Linux (GRUB2)" --loader '\EFI\arch_grub\grubx64.efi' 

fat32 partition set as 0xEF ?

official ISO or https://bbs.archlinux.org/viewtopic.php?id=134553 ?

Offline

Board footer

Powered by FluxBB