You are not logged in.
Hello.
I try install ArchLinux with official guide, but I get error during grub-install.
I have this layout:
/dev/sda1 EFI System
/dev/sda2 Linux root
/dev/sda3 Linux home
/dev/sda4 Linux swap
During installation, I wrote this commands:
mkfs.ext4 all /dev/sda without sda4
mkswap and swapon to sda4
mount /dev/sda2 /mnt
mkdir /mnt/boot
mount /dev/sda1 /mnt/boot
Should I have written mkdir /mnt/boot/efi and mount/dev/sda1 /mnt/boot/efi instead of those commands?
I install grub with pacman -S grub.
I get this:
cannot open /boot/grub/device.map
failed to get canonical path of /boot/efi
Thanks for help!
Welcome to the forums Sm1Th ![]()
Why did you format sda1 as ext4 instead of FAT?
https://wiki.archlinux.org/index.php/EF … _Partition
Offline
Oh, I am idiot, I forgot on this.
Should I format all sda to fat instead of ext4?
What do you prefer?
I am prefering ext4, but I will share a few files with Windows, but I read somewhere, that ext4 has a better handling with partitions.
Do you think, that the wrong format is the problem or /boot/efi instead of only /boot too?
Sorry for my English, I am still learning it.
What do you want to use as the ESP /boot or /boot/efi ?
Offline
Only the EFI boot partition (sda1) should be formatted as FAT, ext4 is fine for the rest.
Mounting sda1 as /boot is correct (you can use /boot/efi but it makes things more complicated).
Offline