You are not logged in.

#1 2019-12-12 10:10:37

Stefan_xyz
Member
Registered: 2019-09-01
Posts: 104

[Solved]grub-install: /boot/efi doesn't look like an EFI partition

I'm installing Arch as a Virtual Machine.
I successfully created 2 Partition (/dev/sda1 EFI System & /dev/sda2 Linux filesystem).
Then i chrooted into /dev/sda2 and mounted /dev/sda1.

When i tried to execute

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Arch

the following error came:

Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition

Any idea? (/dev/sda1 is mounted unto /boot/efi)

Edit: Okay fixed it by making /dev/sda1 a fat32 partition with

mkfs.fat -F32 /dev/sda1

Last edited by Stefan_xyz (2019-12-12 10:18:47)

Offline

#2 2019-12-12 10:21:47

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: [Solved]grub-install: /boot/efi doesn't look like an EFI partition

Then i chrooted into /dev/sda2 and mounted /dev/sda1.

You're supposed to mount everything needed before pacstrap / chrooting .
If unsure, run lsblk -f before running pacstrap to verify what you have mounted where.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB