Skip to main content

Posts

Showing posts from November, 2017

ArchLinux Installation EFI

Installing ArchLinux with UEFI

The official ArchLinux installation page is very good, but obviously cannot cover all installation scenario.

I had to install with EFI and steps are not straight copy/paste of that page.

I will make the log story short but just pasting the commands and indicate what is needed and not in the guide.

ping archlinux.org timedatectl set-ntp trueUse parted instead of fdisk
parted /dev/sdaPrint existing partitions and clear them all:
(parted) print (parted) rm 1 (parted) rm 2 (parted) rm ...Create the EFI partition and fill the remaining
(parted) mklabel gpt (parted) mkpart ESP fat32 1MiB 513MiB (parted) set 1 boot on (parted) mkpart primary btrfs 513MiB 100% (parted) print (parted) quitNote that in "parted", "quit" also saves (in "fdisk", "quit" does not)

Format and mount created partitions
mkfs.fat -F32 /dev/sda1 mkfs.btrfs /dev/sda2 mount /dev/sda2 /mnt mkdir -pv /mnt/boot/efi mount /dev/sda1 /mnt/boot/efiHere is just a smal…