0

I've been following the Arch Linux installation Wiki, and when trying to install grub, I either get

grub-install: error: failed to get canonical path of `udev`

Or

/boot doesn't look like an EFI partition

Thing is, sda1 is an EFI partition.

I'm lost, can anyone give me a hand?

I'm installing GRUB with

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

fdisk gives

Device ID Type
sda1   ef EFI
sda2   83 Linux
sda3   82 Swap

None are bootable, and the partition sizes are 30gb, 430gb and 2gb respectively.

  • 1
    You really is using UEFI? Did you boot into legacy BIOS mode? And it says /boot isn't EFI partition, you sure you mount sda1 to there? – 炸鱼薯条德里克 Oct 5 '19 at 9:53
  • Definitely didn't boot into legacy mode, I'm installing completely form scratch. And I think I mounted sda1 there? How do I check? – Spartacuz9er9er Oct 5 '19 at 10:04
0

None are bootable, and the partition sizes are 30gb, 430gb and 2gb respectively.

This is very wrong. Why would you have 30Gb boot partition?

In case you've mounted /dev/sda1 as / of your new system, that is wrong as well. You need a separate boot partition of type EFI, formatted to FAT32.

| improve this answer | |

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.