You are not logged in.
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
I just found out that I need to mount my partition to the directory first, problem solved.
sudo mount /dev/sdc3 /boot/efiOffline