Linux Pre-Install and Install
Advanced Track: Lecture 3
Edric Xiang
(slides partially adapted from Christopher Cooper)
This week we’ll be installing...
Why Arch?
m i n i m a l: Relatively little included by default, user configures what they want.
Rolling-release: Install once, frequently updated afterward.
Arch User Repository (AUR): Repository of community-maintained packages for Arch.
Arch Wiki: Probably the most comprehensive documentation of any distribution.
Learning opportunity: More involved installation process deepens your understanding!
… ok, then why NOT Arch?
Stability*: Things may break. Are you willing to spend time to learn how to tinker and fix problems that may arise?
Difficult installation: No GUI installer; installation is done 100% through the shell.
* You get newer versions of packages faster, which is a double edged sword: you may experience bugs/instability, but you also get bug fixes earlier.
What makes Arch different?
Let’s compare it to another popular Linux distro:
Arch vs Ubuntu
Installation Concepts
Booting the Installation Media
Installation Concepts
Initial Setup
Installation Concepts
Partitioning: What is it?
Dividing a storage device into different sections:
/dev/sda1
/boot or /efi
EFI System Partition
512 MB
/dev/sda2
/
Linux x86-64 root (/)
4 GB
/dev/sda3
[swap]
Linux swap
512 MB
/dev/sda
Partitioning: More technical details
Partitioning: Naming conventions
Partitioning: Partitioning schemes
Installation Concepts
Filesystems
Filesystems: Formatting
Installation Concepts
Disk Encryption
Installation Concepts
Mounting
Installation Concepts
Installation: Basic packages needed for Arch
What does the pacstrap command do?
Installation Concepts
Configuration
Configuration cont.
I’ve finished installation, what now?
Notes on this week’s lab
How does booting actually work?
Booting the Installation Media
Some Initial Stuff
Partitioning
Setting up Filesystems
Encrypting your Filesystem