Difference between revisions of "Linux arch install"
From John Freier
(Created page with "Here are my steps. 1. Boot in to Arch ISO. 2. Update date time. timedatectl set-ntp true 3. Setup Partitions 3.a Use lsblk or fdisk -l to find the path of the harddisk....") |
(No difference)
|
Revision as of 09:48, 22 June 2022
Here are my steps.
1. Boot in to Arch ISO.
2. Update date time.
timedatectl set-ntp true
3. Setup Partitions
3.a Use lsblk or fdisk -l to find the path of the harddisk.
/dev/sda
3.b Start up fdisk to format a harddisk.
fdisk /dev/sda
Remember to change the type for swap to hex '82' or swap
sda1 - primary - Linux - boot - 1gb sda2 - primary - Linux swap - swap - 1.5 x memmory sda3 - primary - Linux - root - The rest.
3.c When all the partitions are setup use 'w' to apply the changes.
w
4. Format the new partitions.
mkfs.ext2 /dev/sda1 mkswap /dev/sda2 mkfs.ext4 /dev/sda3
5. Mount the new file partitioned file systems and turn swap on.
mount /dev/sda3 /mnt mount --mkdir /dev/sda1 /mnt/boot swapon /dev/sda2