I am trying to install Arch Linux in VMware and I have problems with GRUB:


grub-install /dev/sda --target=x86_64-efi --efi-directory=/boot


Installing for x86_64-efi platform
EFI variables are not supported on this system.
EFI variables are not supported on this system.
grub-install: error: efibootmgr failed to register the boot entry: No such file or directory.


grub-install --target=i386-pc /dev/sda


Installing for i386-pc platform
grub-install: warning: this GPT partition label contains no BIOS Boot Partitionl; embedding won't be possible.
grub-install: warning: Embedding os not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and theur use is discouraged..
grub-install: error: will not proceed with blocklists.

Are there any other ways to install GRUB? Or am I doing something wrong?

  • Did you set up your VM as an EFI system? The error suggests you are trying to install EFI grub on a non-EFI system. – terdon Sep 12 '19 at 10:47
  • @terdon i also tried install bios-version grub-install --target=i386-pc /dev/sda or is it not? – kshnkvn Sep 12 '19 at 10:50
  • 1
    Oh, sorry, you're quite right. I missed the second part. But why i386? Surely you have a 64bit system. What happens if you just run grub-install /dev/sda? I haven't used grub in years, but I have never needed this --target option. – terdon Sep 12 '19 at 10:52
  • @terdon same error – kshnkvn Sep 12 '19 at 10:55
  • 1
    @GAD3R I tried to do as it is written in the answer and when i used the command modprobe efivars i got en error ``` modprobe FATAL: Module efivars not found in directory /lib/modules/5.2.11-arch1-1-ARCH ``` – kshnkvn Sep 12 '19 at 11:01

To insatll grub on a GUID Partition Table with bios mode you need to create a bios_boot partition.

GUID Partition Table (GPT) specific instructions

On a BIOS/GPT configuration, a BIOS boot partition is required. GRUB embeds its core.img into this partition.

The BIOS boot partition is only needed by GRUB on a BIOS/GPT setup

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.