You are not logged in.

#1 2022-08-31 02:56:13

laichiaheng
Member
Registered: 2017-02-12
Posts: 297

[Solved] How to find where my EFI directory is?

I saw a news on the Arch home page about the grub issue, I was trying to run these commands:

sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
[sudo] laichiaheng 的密碼:
Installing for x86_64-efi platform.
grub-install:錯誤: /boot/efi doesn't look like an EFI partition.
sudo grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB
Installing for x86_64-efi platform.
grub-install:錯誤: failed to get canonical path of `/efi'.
sudo grub-install --target=x86_64-efi --efi-directory=/boot/grub/x86_64-efi/ --bootloader-id=GRUB
Installing for x86_64-efi platform.
grub-install:錯誤: /boot/grub/x86_64-efi/ doesn't look like an EFI partition.

What do I suppose to do now?

Last edited by laichiaheng (2022-08-31 03:01:06)

Offline

#2 2022-08-31 03:00:48

laichiaheng
Member
Registered: 2017-02-12
Posts: 297

Re: [Solved] How to find where my EFI directory is?

I just found out that I need to mount my partition to the directory first, problem solved.

sudo mount /dev/sdc3 /boot/efi

Offline

Board footer

Powered by FluxBB