A little secret to rock your YouTube subscribers
Get Free YouTube Subscribers, Views and Likes

Arch Linux Installation Guide 2020

Follow
DistroTube

I haven't made a video in awhile due to a major catastrophe in my area and I felt like I needed to do this video. After all, an Arch Linux installation is relaxing and therapeutic. I install Arch inside VirtualBox, so install VirtualBox if you want to follow along.

NOTE: I did this as a UEFI installation. If you want to see this done using MBR, check out the 2019 Arch Linux Installation Guide, but be aware the pacstrap commands have changed since that video (be sure to pacstrap /mnt base linux linuxfirmware):
   • Arch Linux Installation Guide (2019)   Arch Linux Installtion Guide 2019

SOME COMMANDS I RAN:
Using fdisk:
fdisk l (lists out the partitions)
fdisk /dev/sda
In fdisk, "m" for help
In fdisk, "o" for DOS partition or "g" for GPT
In fdisk, "n" for add new partition
In fdisk, "p" for primary partition (if using MBR instead of GPT)
In fdisk, "t" to change partition type
In fdisk, "w" (write table to disk)

Make filesystem:
mkfs.fat F32 /dev/sda1
mkswap /dev/sda2
swapon /dev/sda2
mkfs.ext4 /dev/sda3

Base Install:
mount /dev/sda3 /mnt (mounts it to mnt on live image)
pacstrap /mnt base linux linuxfirmware
genfstab U /mnt TWO GREATER THAN SIGNS /mnt/etc/fstab (YouTube doesn't allow angle brackets)

Chroot:
archchroot /mnt (change into root directory of our new installation)
ln sf /usr/share/zoneinfo/REGION/CITY /etc/localtime
hwclock systohc (sets the hardware clock)
pacman S nano
nano /etc/locale.gen
localegen
nano /etc/hostname
nano /etc/hosts

Users and passwords:
passwd (set root pass)
useradd m username (make another user)
passwd username (set that user's password)
usermod aG wheel,audio,video,optical,storage username

Sudo:
pacman S sudo
EDITOR=nano visudo

GRUB:
pacman S grub
pacman S efibootmgr dosfstools osprober mtools (if doing UEFI)
mkdir /boot/EFI (if doing UEFI)
mount /dev/sda1 /boot/EFI #Mount FAT32 EFI partition (if doing UEFI)
grubinstall target=x86_64efi bootloaderid=grub_uefi recheck (if doing UEFI)
grubmkconfig o /boot/grub/grub.cfg

Networking:
pacman S networkmanager
systemctl enable NetworkManager

Reboot:
exit the chroot by typing "exit"
umount /mnt (unmounts /mnt)
reboot (or shutdown now if doing this in VirtualbBox)
Remember to detach the ISO in VirtualBox before reboot.

REFERENCED:
https://www.archlinux.org/
► https://wiki.archlinux.org/index.php/...

WANT TO SUPPORT THE CHANNEL?
Patreon:   / distrotube  
Paypal: https://www.paypal.com/cgibin/webscr...
Amazon: https://amzn.to/2RotFFi
Teespring: https://teespring.com/stores/distrotube

SOCIAL PLATFORMS:
Mastodon: https://mastodon.technology/@distrotube
IRC: irc://freenode #distrotube
Reddit:   / distrotube  
LBRY: https://lbry.tv/$/invite/@DistroTube:2

DT ON THE WEB:
Website: http://distrotube.com/
Gopherhole: gopher://distro.tube
GitLab: https://gitlab.com/dwt1
Audio Podcasts: https://www.buzzsprout.com/1263722

FREE AND OPEN SOURCE SOFTWARE THAT I USE:
Brave Browser https://brave.com/dis872
Open Broadcaster Software: https://obsproject.com/
Kdenlive: https://kdenlive.org
GIMP: https://www.gimp.org/
Audacity: https://www.audacityteam.org/
VirtualBox: https://www.virtualbox.org/
Doom Emacs: https://github.com/hlissner/doomemacs

Your support is very much appreciated. Thanks, guys!

posted by rakyTauttyrahfk