Arch Linux UEFI Install – Learn Arch Linux 2019 PART1



In this video, I will install Arch Linux UEFI installation options.
Always check the Arch Linux installation guide for changes:
https://wiki.archlinux.org/index.php/Installation_guide

This is the complete install script
Direct after the boot:

ping archlinux.org
timedatectl set-ntp true

Show you disks in your system:
fdisk -l

Partition the disk:

EFI 512M
Root the rest

Format the partitions:

EFI
mkfs.fat -F32 /dev/sda1
Root
mkfs.ext4 /dev/sda2

Mount the partitions for root and home (second disk):

mount /dev/sda2 /mnt
mkdir /mnt/home
mount /dev/sdb1 /mnt/home

Install the basic OS on the root partition:

pacstrap /mnt base base-devel linux linux-firmware nano vim

Generate your fstab file:

genfstab -U /mnt /mnt/etc/fstab

Chroot into your installation and perform the following steps:

arch-chroot /mnt
ln -sf /usr/share/zoneinfo/Region/City /etc/localtime
hwclock –systohc

Uncomment en_US.UTF-8 UTF-8 and other needed locales in /etc/locale.gen, and generate them with:
locale-gen

Create the locale.conf file, and set the LANG variable accordingly:

nano /etc/locale.conf
LANG=en_US.UTF-8

Create the hostname file:

nano /etc/hostname
myhostname

Add matching entries to hosts:

nano /etc/hosts
127.0.0.1 localhost
::1 localhost
127.0.1.1 myhostname.localdomain [myhostname]

Set the root password:

passwd

Install the networkmanager:

pacman -S networkmanager
systemctl enable NetworkManager

Install grub and the efi boot manager:
pacman -S grub efibootmgr

Create the efi directory and moun it to the efi partition:

mkdir /boot/efi
mount /dev/sda(1) /boot/efi

Install grub:

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

Configure grub:

grub-mkconfig -o /boot/grub/grub.cfg

Exit the chroot environment by typing exit or pressing Ctrl+D.

Reboot

———————————————————————————————-
Let me know what you would like to see on this channel, place your questions, suggestions below in the comments.

Have fun using Linux.

=======================================================
Please like comment and subscribe for more of these kind of videos.
https://goo.gl/a9JwXB

Like my Facebook page:
https://www.facebook.com/tondoeslinux

#linux #linuxtutorial #linuxdesktop #linuxos #arch #ubuntu #debian #UEFI #uefi

2 thoughts on “Arch Linux UEFI Install – Learn Arch Linux 2019 PART1

Leave a Reply

Your email address will not be published.