Arch Linux Installation Guide (2019)

DistroTube
233 followers
Oct 25, 2024
arch linux arch linux is one of the most
popular Linux distributions out there
but for a lot of people Arch Linux is
kind of scary the installation seems
like it is very difficult to some people
and maybe it's above their skill set but
I promise you the Arch Linux
installation is not that difficult and
if you follow me step by step through
this quick Arch Linux installation video
I'm about to do I promise you at the end
of this video you will have a working
arch linux install and you will be able
to proudly say by the way I use arch
let's get started
[Music]
so I did an Arch Linux installation
video actually I've done two of them in
the past I did one pre-recorded Arch
Linux install and I did a live stream
one time of a Arch Linux install but
both of those videos are more than a
year old so I thought we needed to do a
more up-to-date Arch Linux installation
guide but really the catalyst for me
wanting to do an Arch Linux install
video this week is because over on Big
Daddy Linux live that particular show
every Saturday night Rock Oh Big Daddy
Linux they do a really nice livestream
every Saturday night and one of the
things they do every week is a pick a
distro to review the next week so
everybody installs whatever distribution
and they review it
the following week well this past week
they chose Arch Linux for the next big
Daddy Linux live show and some people on
the show and a lot of the viewers of the
show are kind of fearful that they may
or may not be able to get through and
Arch Linux installation I promise you
guys though it's not that hard and if
you follow me step-by-step today you
will have a working Arch Linux
installation so first things first
to install Arch you need to go grab the
ISO so you need to go to Arch Linux org
and right here on the home page go to
the download tab click the download tab
and then down here BitTorrent download I
would just grab the BitTorrent link and
download the ISO through a BitTorrent if
you want to though I think they have
some mirrors you can search through the
mirrors for an ISO if you prefer to
download it over HTTP anyway I've
already got the ISO downloaded it's not
very big just a few hundred megabytes
and then after that you need to go to
the arch wiki if you go to the arch wiki
the one of the very first things you see
here is installation guide you need to
click that and once we have the
installation guide open we're ready to
begin now the installation guide is not
long I've got it zoomed in a little bit
I've got the text a little bigger so
hopefully you can read it but still if I
page down how many times would I have to
page down to get to the end 1 2 3 4 5
six seven eight nine ten ten times and
that is with me zoomed in the pond is
about 120 percent normal sized pond I
may have to pace down I don't know half
a dozen times it's not a very long page
and most of what's on the page or will
involve steps that we really don't even
have to do so it's not it's not a scary
install people imagine that the arch
install is a lot scarier and maybe a lot
lengthier as far as time commitment then
it really is so today I'm going to
install Arch Linux inside a virtual
machine I'm gonna install Arch Linux
inside VirtualBox rather than installing
it on physical Hardware I've installed
it on physical Hardware many times in
the past I've actually run it on my main
production machine before but it's hard
to record these installations when
you're doing the install on physical
equipment plus if you guys are new and
I'm coming at this really to help you
guys that are brand new to installing
Arch Linux I suggest you actually do run
through the installation in a vm before
attempting it on real hardware
especially if you only have one computer
you don't want to wipe out your main
production machine and try to install
Arch Linux for the very first time
without having gone through it in a VM
you know two or three times to kind of
get your feet wet a little bit maybe run
through the installation in VirtualBox
half a dozen times to get really
comfortable and then yeah go ahead and
blow away your main machine and try it
on physical hardware so today again I'm
gonna do this in VirtualBox I suggest
you do this in VirtualBox with me if
this is your very first time installing
arch so we need to create a virtual
machine I'm gonna go to the machine menu
here I'm gonna click new and we need to
create a new virtual machine what are we
gonna name it I'm going to name it Arch
Linux and VirtualBox is smart enough
that when I type the name Arch Linux it
knows that the type of the operating
system is Linux and the version is Arch
Linux 64-bit so I don't have to do
anything else there and a click Next we
need to give this virtual machine some
RAM the default setting is one gig of
ram now you can bump it up however much
ram your machine has now my host machine
has 32 gigs of ram so I can give the via
as much RAM as I want really I'm just
gonna bump it up to four gigs four gigs
is plenty for four what we're doing I I
don't imagine you would need more than
four gigs because I'm not going to get
into anything that's gonna eat a ton of
ram installing the base Arch Linux
install click Next and do we need to add
a virtual hard disk yes we are going to
create a virtual hard disk for our
virtual machine so click create and then
it's going to ask you what type of hard
disk VDI is the default the per toolbox
disk image I would just stick with that
no need to change that do we want this
the virtual hard drive do we want it
dynamically allocated or do we want it
fixed to a specific size dynamically
allocated is the default I suggest
leaving that on now how big do we want
to create this virtual machine by
default most Linux VM VirtualBox
suggests 8 gigs of space me personally
because I have plenty of storage on this
machine I like to bump that up a little
bit I like to create 15 gig VMs standard
15 gigs is more than enough for about
95% of the Linux installs I ever do it's
rare that I come across a Linux
installation that requires more than 15
gigs of space so 15 gigs 24 for what
we're doing alright so we've created our
new VM down here called Arch Linux now
right-click on it and go to settings
before we get started there's some
things I want to do now I'm going to
click on system and go to processor many
of you guys have multiple core
processors and if you do by default the
VM is only using one core so if you want
to bump it up here is where you do it
I'm going to give this VM two cores of
my 12 core or 24 thread CPU so I'm gonna
bump it up give it a little bit more
processing power then I'm gonna click
the display tab video memory is kept at
128 megabytes that's not very much video
memory I suggest just going ahead and
maxing that out every time you create a
VM and VirtualBox graphics controller by
default
set to VM SVG I like setting it to V box
VGA that's just me personally if we end
up getting into installing a graphical
environment later that particular driver
tends to work better for me
acceleration do we want to enable 3d
acceleration yes tick that on again we
may not get to installing a graphical
environment today but if we did having
3d acceleration enabled is kind of
something that's important click the
storage tab here and now this is where
we need to attach the ISO so controller
IDE click the add optical drive here and
choose disk and then wherever you
downloaded the arch ISO find it click on
it hit choose and you see the Arch Linux
ISO is now appearing under controller
IDE the only other thing I'm going to do
and you guys can ignore this I'm going
to go to the user interface tab and tick
that off and tick that off and this gets
rid of some of the extra cruft inside
these VMs I don't want it like the top
menu of my DMS to show I don't want the
bottom sis tray in the VMS to show I
just want the VM nothing else click ok
so we're ready to get started go ahead
and launch the VM so I'm gonna go ahead
alright so fired up the VM and we get to
the boot menu here and we have some
options here we have boot Arch Linux
boot existing OS run yum test hardware
information reboot and power off the
very first option boot Arch Linux is
what we want to do so we have booted
into the live environment and it
automatically logs us in as the root
user there's only one user on the system
right now it's the root user we're
automatically logged in what do we do
all we have now is the prompt now this
is where a novice Linux user might get a
little afraid what do you do now well
this is easy you go back to the
installation guide and I will help you I
mentioned that we really don't have to
read a lot of this installation guide I
will
scroll down scroll down quite a bit on
the installation guide because the first
paragraph is just basically an overview
of what we're gonna do download the ISO
verify the GPG key of the ISO we should
have done that but that needed to be
done on my host machine not here in the
VM that's something you should probably
do just for safety reasons all right
this keyboard layout here's the
beautiful thing about keyboard layout
the default key map is a u.s. keyboard
so I don't have to change this we don't
actually have to run this step verify
the boot mode in the VM here I'm not
going to worry about that verifying the
boot mode is if you efi mode is enabled
on a UEFI motherboard then the arch iso
will boot arch linux accordingly the
system to boot and you run this command
just to make sure everything is alright
with that but then whatever not
necessary in this vm we also need to
check and make sure we have working
internet now I will do that because on
the off chance that internet is not
working we really can't do much here
so let's ping I'm going to ping
google.com and hit enter and we have
Internet you see it's pinging Google so
you get something returned Internet is
working ctrl C on the keyboard to kill
the ping that's standard with a lot of
shell commands you know that run over
and over again ctrl C will kill them the
next thing we need to do is go back to
the arch installation guide it asks us
to update the system cloth we need to
make sure the system clock in the live
environment is set correctly so let's
get back to the virtual machine and I
need to run the following command
time/date CTL all one word space set -
NTP space true run that command hit
enter and then to verify everything is
good run time date CTL space status hit
enter and if everything the time and
date looks good you're good all right so
really the first you know 20% of the
installation guy as stuff that is not
necessary really the first thing that is
absolutely necessary is partitioning the
disk now how do you partition the disks
they suggest using the command-line
utility fdisk I don't like fdisk I it's
confusing to me I always have to read
the man page to figure out how to use F
disk CF disk is a command-line utility
used to create your partition tables and
it's a lot easier to use in my opinion
than F disk I'm gonna use CF disk I'm
not going to use what the arch wiki
recommends so if I go back to the
virtual machine now the first thing you
would want to do if this was on physical
hardware is you might want to run like a
LSB okay so and see you know what drives
and partitions you have now in this VM I
can tell you SDA it's pretty much all
we've got this is going to be the disk
that we're going to be writing to so CF
disk that's what we need to run cu disk
and select label type now in this VM dos
is what we're gonna choose on physical
Hardware you might do GPT but GPT is
meant for UEFI systems Doss is meant for
legacy BIOS system I typically stick to
Doss and legacy BIOS actually on my
physical machines I'm just I'm just like
that in a VM it always makes sense just
to do DOS
so this is CF disk it tells us how much
space we have again I created a 15 gig
virtual machine here alright so let's go
ahead and create this new partition from
all the available free space that we
have so right now new is highlighted at
the bottom that's correct so let's go
ahead and hit enter partition size you
know what let's go ahead and do two
partitions the main partition the big
partition for our file system and then
let's also create a swap partition even
though the swap serves no purpose really
in this VM I normally wouldn't create it
you guys that are gonna go
going to do this eventually on physical
Hardware may want to create a swap
partition so let's go ahead and do that
but let's do the big partition first so
15 gigs let's give 13 gigs to the big
partition it needs to be a primary
partition we need to make it bootable
move over to the bootable of tab there
hit enter and you will see that in the
screen here boot now has the little
asterisk under it that means that
partition is mutable and that's very
important all right and now we still
have some free space to play with so
let's move down to the free space this
lift which is two gigs and again create
new so hit enter partition size is two
gigs now primary or extended primary is
fine let's go over to type because this
needs to instead of being type Linux by
default which is what it will be
by default we need to change this from
linux to swap and I believe 82 type
number 82 is linux swap and that is
correct
hit enter and now we have the big 13 gig
partition and then we have a two gig
Linux swap partition that all looks good
I think we're ready to write this so
move over to write hit enter type the
full word yes to write the partition
table to the disk so a word ye s hit
enter and we're done so now we can move
over to quit hit enter and quit out of
CF disk now let's get back to the
installation guide so this was
partitioning the disk and again it
recommends using F disk I did not do
that I use CF disk it's a much easier
tool to use if you want to use f disk
and you're comfortable with it that's
perfectly okay I mean though I didn't
bother now we're to the part where you
need to go ahead and format those
partitions we just created right so we
need to make a filesystem and it tells
you exactly how to make an extend for
filesystem if you wanted to make a
butter
file system that would be okay too or an
extend three file system extend four
tends to be the default on most Linux
distributions and to be honest it's the
one I typically go with myself because
extend four has been around for a while
and it's rock-solid stable that's why so
many Linux distributions use it by
default so let me clear the screen so
you see what's going on here so just
type clear hit enter you could control L
I think also control to clear the screen
- I like typing it usually in my videos
I know it notice a lot of you guys why
don't you just hit the hotkey for it
well I would like to see that you guys
get to see that I'm clearing the screen
instead of things just magically go away
all right so let's make the filesystem
MK f guess for make filesystem dot e xt
4 which is the filesystem type we want
to create and then space and then the
location of that partition slash dev
slash s da 1 it's pretty much the only
thing available because the only other
partition we created was going to be the
swap partition and we're not gonna do
extent 4 on that so hit enter now we
need to also make the swap and you know
what let's run LSB ok one more time just
to make sure so we ran the list block
command just to make sure we have our
partitions straight now we created to
SDA one which is the main partition the
extend for partition which we already
created SDA 2 is the swap partition so
that's very important that we get this
right all right to make the swap here is
the command in the arch wiki guide MK
swap make swap and then the location so
back to the VM MK swap if I can type
space and then of course slash dev slash
SDA too but we have made the swap and
then we need to run the command swap on
all one word space and then again the
location of that partition slash Dib SDA
to alright so that is creating our disk
now the next thing is we need to mount
the filesystem and basically the
installation guide the arch linux
installation guide here in the wiki is
very straightforward this is super easy
all you do is just copy and paste
commands for the most part it tells you
the you need to mount the filesystem and
it gives you the exact command the only
thing make sure you get the partition
right so in the commander it says SD x1
x would be SD a or SD B depending on how
many drives you have in your machine
that's why they have the capital X there
you need to make sure you put the
appropriate letter there so let's go
ahead and mount mount and then space up
I did not mean to get in or there let's
melt space and let me clear the screen
since that is kind of too much going on
there mount just [ __ ] type
well I'm struggling today alright slash
dev slash SD a1 is where we need to be
so this is the extend for filesystem
right we need to mount that we don't
need to mount the swap we're not doing
anything else with a swap space and then
/mnt
alright so that is mounted all right the
next part of the arch wiki is selecting
our mirrors now we need to edit our
mirror list so it gives you the location
of the mirrorless / etsy slash pac-man D
slash mirrorless that is where the plain
text file that lists all the mirrors
lives on the system now they tell you
you know you might want to go in and
edit that but they really don't tell you
how this is one of the things about the
Arch Linux installation guide that I
think could be better is they do assume
you have some basic knowledge of Linux
and the command line how would you edit
/ Etsy slash pac-man dot d slash mirror
list well you have to edit it of course
with a plain text editor do you know
what plain text editors are available in
the command line on Arch Linux well
there's two that are already installed
for us we could use either vim or nano
now assuming you're a newer Linux user
film is probably not an option
so we're gonna choose nano space and
then the name of that file / @ c /
pacman d / mirror list which i
misspelled mirrorless now that I'm
looking at it kid in her and this is our
mirror list and what you would do is you
would go in and just start deleting all
these lines ctrl K and nano deletes
lines and you would delete all the
mirrors that are not in the US in my
case because there they will be slow
they will slow the system down every
time I go to do update and I'm trying to
pull packages down from mirrors halfway
around the world it's gonna be crazy
slow so pick mirrors that are close to
you so I'm editing this so ctrl K
deletes lines and I'm just deleting
every line that has a server outside of
the US so say I'm on Canada here so I'm
when I control Kate it'll delete the
Canada server Macedonia and then I'm
back on a one that says United States
all skip over that and then I'll delete
Germany it okay
got one in the US move on down and after
I have half a dozen or so of these I'm
probably good we can always go back and
edit this you can get a new mirror list
from the Arch Linux website you can
always come back and delete mirrors if
some of these seem slow or you want to
add mirrors back that's not like you
can't come back and change this anytime
you want so again I'm just going to get
a few of these set so it looks like I've
got about seven or so so that's plenty
for purposes of this video so I'm gonna
ctrl K a million times until I get to
the end of the list okay this is taking
a long time say this I would have been
done had I chose of him via one key
binding boom done but I didn't want to
use vim today I don't want to scare away
the noobs with no slip all right ctrl X
to get out of Nano Y for yes to save and
yes so I went ahead and wrote that and
we are good as far as a mirror list
alright the next thing we need to do is
text wrap okay now this is where the
real installation begins this command
here pack straps space
/mnt space base we are about to install
the base system so Peck tac pack strap
all one-word /mnt space base hit enter
and this is going to take some time this
is going to install the base Arch Linux
system so I'm gonna pause the video I'll
be back once this is complete
alright the Peck strap command is
finished running so let's get back to
the installation guide and the next
thing is configuring the system FS tab
which is uh the FS tab is the filesystem
table and we need to run this command
here again it's mainly just reading the
wiki typing commands so we need to run
the command jen-jen
F s tab space - capital u space /mnt
space and then two Chevron's - greater
than symbol space and then /mnt slash
etsy /fs tab run that command alright
and then the next thing we need to do
and let's go back to the installation
guide the next step is our chroot slash
mount and that's a very important step
here wanted to make sure you guys got to
read that so arch - chroot space /mnt so
we're gonna - root into our newly
installed arch linux alright back to the
arch wiki alright we need to set our
time zone and it gives this lengthy
command here and let me show you this
actually in the terminal here so if I go
back I actually have to type this so L
in space - SF space and then basically
the location of our region and city
we're setting our time zone here which
is / user / share / zone info
and then slash region I know my region
America and if I type it right
slash city I know the city of the time
zone I want to go with Chicago is in the
central time zone in the US so that
works for me space slash Etsy slash
local time that is the command for me
now that might not be the command for
you depending on what part of the world
you live in how are you going to get
your region and city if you don't know
well I know this is right for me so I'm
just gonna go ahead and run that but if
if you're not sure about your region or
city I would run this command LS the
lists command / user / share / zone info
run that command and there are the
regions you have to choose from so you
see here America was in the list so
that's why I chose America or my region
now if you're not sure about the city
and up arrow one time to get my previous
command back here in the best shell or
actually zsh is the default shell in our
CH LS user share zone info and then
slash America to go one directory deep
so I know the region is America but what
cities are available hit enter and you
can see it lists all the cities Chicago
was in the list but again already knew
because I've done this a few times that
America Chicago is all my always my time
zone go back to the installation guide
now that we've set the time zone the
next thing we need to run is this
command HW o'clock so HW o'clock all one
word space and then - - si s T ohc hit
enter all right that was really easy the
next thing we need to do is localization
all we need to do again we're just
reading the the arch wiki run this
command locale
- gen run that
all right generating locales okay so we
generated all the locales then we need
to read this particular file after we
run locale gen we need to go to / XE /
locale comp and make sure the locale is
set correctly so Nano again we need a
text editor to edit one of these text
files so / @ c / lo can't type today
locale dot-com
alright it is empty what do we want to
do here now if I go back to the wiki
page you see that for English us which
of course is going to be my locale
laying equals English us utf-8 so it
gives me exactly what I need for English
us I'm going to go ahead and just write
that here
all right language equals en underscored
us dot UTF - 8 alright that looks good
make sure I copied it correctly yeah
everything looks good so I'm gonna
control X in Nano to save Y for yes all
right the next thing we need to do is
set the keyboard layout know the
keyboard layout by default is a u.s.
keyboard here in arch I mean that's why
everything is working for me now
so I don't think I have to change it I
think you only need to do this if you're
changing to something other then your
typical u.s. keyboard so I'm gonna skip
that network configuration alright now
we need to set our hostname so we need
to go to / Etsy slash hostname which is
a text file once again remember txt
files we need to use a text editor so
again Nano or vim if you prefer I'm
doing everything in Nano today so Nano /
XE / hostname hit enter it's an empty
file write whatever hostname you want
your host name for the computer
I'm gonna call my host name DT and ctrl
X to get out of Nano Y for yes to save
hit enter back to the installation guide
the
next thing we need to do is edit the
hosts file slash it's the slash host so
it's a plain text file so once again
Nano space / XE / hosts alright and this
is a empty file it's got two lines in it
but they've been commented out so I'm
going to arrow down a couple of times
and then all you really need to do is
just put these three lines that are in
the arch wiki put that in that file so
127 dot 0 dot 0 dot 1 and then tab over
and then write the word local host
that's the first line hit enter and then
colon colon 1 and then tab over local
host hit enter and then 127 dot 0 dot
one dot 1 tab over your host name my
host name again remember what we created
my host name DT dot the word local
domain all one word tab over and then
again my host name again remember my
host name is DT now the only thing that
you're gonna type differently is the two
places I type DT you're gonna type
whatever host name you chose control X
to exit out of Nano Y to save back to
the arch linux installation guide and it
Ram FS this is this step here it says
it's not usually necessary because m'kay
and yet cpio
usually takes care of that during the
pack strap command we did earlier so we
actually can skip this the next thing
setting a root password yeah we can't
skip that so I'm gonna clear the screen
here and I'm going to go ahead and
create a root password this is a
standard Linux command anytime you need
to create a password for a user has WD
hit enter it's gonna ask me for my new
password for this user that we're
logging in as we're logged in as root so
this sets the root password so I'm gonna
type a new root password
and it's gonna ask me to retype it gave
it something simple I can remember for
purposes of this VM let's go back to the
arch wiki installation guide guys I'm at
the end of the installation guide the
only section left it says reboot we're
not going to do that just yet because
there's a couple of problems with the
installation guide there's a couple of
things we need to do and I think we
should do that before we do the reboot
so the first thing we want to do is
there is a wiki page in the Arch Linux
wiki for network configuration you know
it never really talks about configuring
the network in the arch installation
guide but there's a separate kind of
lengthy page about configuring the
network you may want to read that
depending on whether you're doing a
wired Ethernet connection or a Wi-Fi
connection again my machines are all
plugged in on my host machine here it's
wired so the VM is wired here so I'm not
fooling with Wi-Fi at all no wireless so
all I need to do is enable the service
DHCP CD how do you do that well it's a
service that you have to enable with
system D the init system so as Ruud here
still route a torch ISO system CTO space
and then enable space and then DHC PCD
hit enter and it created that sim link
and now when we reboot into our freshly
installed Arch it should enable DHCP CD
automatically and I should have internet
alright the next thing we need to do is
there is a Arch Linux page in the wiki
for users and groups now you may not
need this
depending on how experienced you are
with the command line as far as adding
users and editing users on the system
but I went ahead and pulled it up I'm
gonna link to all these pages by the way
in the show description but the command
we need
matter of fact I may even leave the
commands in the show description by the
way that's Thunder I hope it doesn't
pick up on the mic there's a pretty bad
storm all of a sudden that just flared
up in the last few minutes anyway you
need this command here use
add space - iam and then the name of
your user so we're going to do user add
all one word space and - him and then
space and the name of my user I'm gonna
call my user Derrick alright and then we
need to create a password for Derrick
remember how we did the password for the
root user we need to create the password
for the Derrick user with passwd now
passwd without any other arguments is
simply going to change the password
again for the root user but to passwd
space and then give it this argument
Derrick we want to change the password
for the Derrick user now new password so
give it a password and confirm it
passwords updated successfully so now
we've done two things that were not
really in the installation guide we
enabled Ethernet and so when I reboot
hopefully I have internet on my freshly
installed arch and now we have the
Derrick home user with his new password
setup as well as the root user now
Derrick we also want to add him to some
groups for example he's gonna want to
have sudo privileges that way we don't
have always have to su over to the root
user to do anything that requires root
privileges so I want to go ahead and get
him added to the sudo worse file by the
way I don't think arch install sudo by
default so let's do a quick where is
space sudo and and nothing is returned
so sudo is not installed so actually
let's install it
peckmon space - capital s space sudo
this will install the sudo program
should just take a second alright the
next command I want to run is we need to
add the Derrick user to the sudo horse
file so first thing we need to do is add
Derrick to a group called the wheel
group that way he has root privileges so
let's go back to the user and groups
wiki page and right here this command
usermod space - lowercase a capital g
space additional groups space username
that's what we need to add direct to the
appropriate
oops so as route air still user mind
space and then - lower case a capital
Jeep space and then what groups do we
want to add the user - well the wheel
group is the important one that gives us
root privileges here an arch on some
Linux distributions you actually have to
add yourself to a group called pseudo
and arch and other Linux distributions
the wheel group gives you pseudo access
so the wheel group is the important one
Whitney did you also need to add audio
comma video no spaces with the commons
video comma optical comma storage now
there's probably a few more groups I'll
eventually add like the V box users a
group because I use VirtualBox on all my
installations and other groups but these
these are good enough just to get
started here so let's add that yeah I
forgot the last thing to do
usermod' and then all those groups and
the last thing space and then the of
course the name of the user work we're
modifying okay now that command is
finished now let's double check and make
sure we did that command correctly so
let's check what groups our users belong
to so if I type the command groups space
and then whatever user I want to check
on Derek in this case editor and there
we go Derek belongs to the wheel audio
optical storage video group and Derek
group he belongs to the Derek group by
default all right so being a part of the
wheel group derek has sudo privileges
but we still have to add him to a plain
text file called these pseudo where's
Bob and how you do this the safe way to
do this is with this command bi pseudo
all one word
ah the VI pseudo or specified editor vim
doesn't exist well you know what we can
Peck man - capital S Kim let's go ahead
and install them it just takes a second
all right well maybe more than a second
Tim is getting a little bloated these
days all right and then run the command
again VI sudo this opens our sudo whirs
fall at / Etsy / su dollors and for
those of you not familiar with them I
know this is gonna sound strange but to
go down with your cursor jay jay is down
k is up HS lift l is right the vim keys
anyway go down to this line using J I
could get there faster but those of you
that are not familiar with VI or vim you
know will just stick with going down
with the J key alright
and eventually you're gonna get to this
line right here it says uncomment to
allow members of group will remember
Derrick belongs to the wheel group to
execute any command meaning I have root
privileges so that you see my cursor
right now is under that pound symbol and
them X on the keyboard will delete the
character you're currently on
so just X and we uncommented that line
that's all we needed to do we need to
quit out of this to quit out of vim this
isn't very complicated : w for right Q
to quit hitting her all right
and I think that's it I think we could
reboot right now all right I really
think that we're close to being done
there's only one thing I know that we
have to do before we reboot we never
installed a bootloader I don't know did
I miss that in the installation guide
because it looked we were down to the
end of the installation guide reboot
actually right before it says reboot
bootloader you need to install a
bootloader it doesn't tell you how to it
just link links you to the bootloader
arch wiki page so boot loaders I can
tell you we're gonna install grub I will
make this easy just follow along with me
as I install grub and configure it so we
need to install grub so as the root user
pacman space - catalyst to install a
program name a program grub alright hit
enter and and we'll install the grub to
boot loader this may take a second
alright grub is installed one other
thing we need to do is run the command
grub - installed space and then the name
of the disk that we're
putting grub on and in my case at /dev /
SDA SDA not SDA 1 SDA - were just SDA
right yet in her and you can see it's
installing installation finished no
error reported one last command because
we installed grub but you do have to
configure it there has to be a grub
config file otherwise when you reboot
nothing's going to happen and to create
that grub config file you need to run
the following command so you need to run
grub - MK config space - lowercase o
space slash boot slash grub slash grub
CFG grub config basically hit enter then
it creates our grub config I think we
can reboot I think we can go ahead and
reboot and we will have a freshly
installed Arch Linux but the first thing
we have to do is in VirtualBox first of
all let's kill the VM so in the VM we
need to exit out of the chroot alright
and then we need to shut down now and
alright we shut down the VM I'm gonna
switch views here gonna go back to
VirtualBox remember our VM we created
Arch Linux right click on it go to
settings in settings you remember the
storage tab where we attach the ISO we
need to detach the ISO highlight it and
go down here to this red X where it says
remove selected storage attack
attachment and click on it and it
removes the ISO it detaches the ISO this
is the same as unplugging the USB stick
out of your machine now let's fire up
our VM and see if it works alright and
it boots up just fine it boots us into a
prompt DT login so it's asking for a
login we have two users on the system
remember we have root was already there
of course and then we created a user
called Derek let's see if we can log in
as Derek so it typed in Derek hit enter
or whatever user you created it's gonna
ask for Derek's password
all right and we are logging in you can
see Derek at DT my username at the host
name we created earlier so let's see if
we have working internet because this is
very important let's ping google.com
again we have working internet and we do
that's it we have our root user our home
user we have working Internet we're good
to go
that is use a base Arch Linux
installation in a VM if you followed
along to this point and you've gotten to
this point you are pretty much there
there's really nothing else to do I mean
nothing I'm going to do on this video
because where you go from here every
person is going to be different right
now from here is where you start
installing all your graphical
applications
what desktop environment do you want to
install now do you even want a graphical
environment if you do obviously you have
to have the xorg uh server on your
system do you want to do kinome KDE XFC
do you want to do window manager only
like open box fluxbox X monad cute oli 3
awesome and then of course all your
programs I mean what text editor you
want to use what file manager do you
want to use what web browser do you want
to use so everyone is going to be
different at this point so I'm not going
to go over this the only thing I will go
over is if you want a graphical
environment you do have to install X or
so since I know we want to do X org
pseudo because I'm logged in as Derek
now so I have to invoke sudo to install
or remove software sudo pac-man -
capitalist I'm just going to type one
word xorg it's gonna ask me for my sudo
password and what xorg programs do I
want there's 50 members of this group by
default it's gonna install all of it
yeah I want the whole X orden and
confirm this download is going to take a
couple of minutes but that's gonna get
us the X server the graphical server at
that point you need to dig into the arch
wiki and figure out how to install your
favorite desktop environment or window
manager for me let's say I want to
install I mean I'm just gonna throw
something out there the awesome window
manager all I would do at this point is
sudo
pac-man - capitalist awesome WM the
package name for awesome window manager
and I have my window manager I need a
login manager I strongly suggest if you
need a login manager like diem now if
you install genome or KDE like the total
package they have their own login
managers kind of bundled in it and in
with them you don't have to worry about
login managers with those desktop
environments but if you do more minimal
desktop environments and certainly if
you do window manager only you want a
probably a login manager again like diem
is what I would go with and that's it
that's all we're doing here that's the
base Arch Linux installation guide for
2019 if you've never installed Arch
Linux again just do it in a VM because
in a VM you can't mess anything up right
I mean you can mess things up but you're
not really doing it on your physical
machine you didn't wipe anything out you
know to try out orcs Linux and then oh I
filled now try it in a VM about half a
dozen times
I've been again the installation is not
very long if I go back to the
installation guide remember I mean this
is the installation guide at the top I'm
going to scroll back down when I scroll
down here
this is not a very long installation
guide now not everything is in here I
had to pull up along the way the arch
boot process page where we you might
want to read about it if you're not
familiar how to get in chrome installed
and configured I also pulled up the
network configuration page you're gonna
want to do this especially if you're
putting this on a laptop and need to
figure out how to get wireless up and
working you're probably gonna want that
page and then the users and groups page
I also pulled up I'm gonna link to all
of this in the show description I'm
gonna try to include all the commands
that I ran on camera in case there's any
confusion about them I'm gonna try to
put all of that in the show description
as well and good luck I think you guys
should be able to get this up and
running in no time and I think you know
from start to finish a brand new user I
mean you're going slow you're typing
carefully but from start to finish what
we did on this video today should take
you about an hour
in about an hour you should be done you
should reboot and be able to have
internet you should have your user
created and you should be able to tell
all your family and friends by the way I
use arch linux before I go this show was
made possible by Ansem chris the other
chris Douglas Dylan George Jack Lee or
Mitchell Phillip Rob Robert Sam Tony and
Willie they are the producers of the
show my highest tier patrons over on
patreon without these guys this Arch
Linux installation guide for 2019 would
not have been possible shows also
brought to you by all those other fine
ladies and gentlemen all those names you
see on the screen
those guys help support my work over on
patreon again without each and every one
of them this show wouldn't be possible I
want to sincerely thank those guys and
if you'd like to support the channel
please consider doing so you'll find me
at distro tube over on patreon alright
guys peace
[Music]
