You are not logged in.

#1 2018-09-28 17:57:29

bazalia
Member
Registered: 2017-12-11
Posts: 6

[Solved] grub-install: error: failed to get canonical path of 'udev'

I am trying to install arch on my laptop that has a UEFI system.

I followed the wiki word by word till the boot loader installation where I tried to install GRUB.

The wiki says esp is the EFI system partition mount point, which for me was /dev/nvme0n1p1

But running the following command:

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

But got the following message:

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

What am I missing?

Last edited by bazalia (2018-09-29 08:27:32)

Offline

#2 2018-09-29 08:16:29

nl6720
Wiki Maintainer
Registered: 2016-07-02
Posts: 93

Re: [Solved] grub-install: error: failed to get canonical path of 'udev'

/dev/nvme0n1p1 is not a mount point, it's the path to the device file.
Read EFI system partition#Mount the partition.

Offline

#3 2018-09-29 08:26:38

bazalia
Member
Registered: 2017-12-11
Posts: 6

Re: [Solved] grub-install: error: failed to get canonical path of 'udev'

Thank you for the reply.

It seems that when I mounted my boot partition using

mount /dev/nvme0n1p1 /mnt/boot

I thought that /dev/nvme0n1p1 was the mount point when it should've been /mnt/boot.

grub-install ran fine when I used "--efi-directory=/boot" instead.

Offline

Board footer

Powered by FluxBB