You are not logged in.

#1 2016-01-09 17:49:21

sg3616
Member
Registered: 2016-01-09
Posts: 5

[SOLVED]Can't install grub

Hi, I'm trying to install Arch but I can't get grub to install. I run

grub-install --target=x86_64-efi --efi-directory=$esp --bootloader-id=grub --recheck

and get back

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

I've been following the wiki and everything has worked fine until now.

Last edited by sg3616 (2016-01-10 16:12:17)

Offline

#2 2016-01-09 17:54:24

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED]Can't install grub

arch wiki wrote:

First, tell GRUB to use UEFI, set the boot directory and set the bootloader ID. Change $esp to your efi partition (usually /boot):

Did you do this?


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

#3 2016-01-09 18:08:45

sg3616
Member
Registered: 2016-01-09
Posts: 5

Re: [SOLVED]Can't install grub

I forgot to change $esp to /boot. I did that and now i get

grub-install: error: efibootmgr: not found.

Offline

#4 2016-01-09 18:15:06

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED]Can't install grub

arch wiki wrote:

Install the packages grub and efibootmgr. GRUB is the bootloader, efibootmgr creates bootable .efi stub entries used by the GRUB installation script.

Did you install the "efibootmgr" package?

Maybe you need to read that section of the wiki again.

https://wiki.archlinux.org/index.php/GRUB#UEFI_systems

Last edited by 2ManyDogs (2016-01-09 18:17:16)


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

#5 2016-01-09 18:24:45

sg3616
Member
Registered: 2016-01-09
Posts: 5

Re: [SOLVED]Can't install grub

I'm really slipping today. Sorry to bother you with such trivial issues. I don't know how I missed that.

Offline

Board footer

Powered by FluxBB