Installing Arch from scratch: LVM + LUKS

Installing Arch from scratch: LVM + LUKS

Cepheus

54 года назад

514 Просмотров

If you are familiar with terminal already, then skip to this part: 9:10
Notes and video corrections can be found at the bottom of the description!

Check out the Discord! https://discord.gg/ENvVsPyP8U

Find easier alternative operating systems to learn linux!
Kubuntu - https://kubuntu.org/
Lubuntu - https://lubuntu.me/
Linux Mint - https://linuxmint.com/

Follow the video using a virtual machine which can be downloaded here!
https://www.oracle.com/ca-en/virtualization/technologies/vm/downloads/virtualbox-downloads.html

Necessary Resources:
Download Arch! https://archlinux.org/download/
Make an install disk with Balena Etcher! https://www.balena.io/

Linux Learning Resources:
Arch install guide - https://wiki.archlinux.org/title/Installation_guide
Linux man pages - https://man7.org/linux/man-pages/index.html
Encryption through Luks - https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system
Learn more about LVM - https://wiki.archlinux.org/title/LVM

Optional Resources:
Install chaotic aur! - https://aur.chaotic.cx/
Learn more about the lynx browser here! - https://lynx.invisible-island.net/

Microcode Install:
https://wiki.archlinux.org/title/Microcode

GPU Install:

Nvidia:
Nvidia hooks script here, including the list of dependencies needed for nvidia!
https://github.com/Cepheus001/nvidia_arch_hook/blob/main/nvidia.txt

AMD:
https://wiki.archlinux.org/title/AMDGPU

Chapters:
0:00 Intro
3:23 Setting up Wifi
7:15 Knowing the basics of terminal
9:10 Understanding lsblk and gdisk
15:42 Using pvcreate, vgcreate and lvcreate
19:55 Encrypting and formating our root partition
24:51 Creating mounting points and pacstrapping
27:35 Generating fstab and ranking mirrors
31:13 Setting hwclock and generating locale
34:12 Enabling multilib support (32-bit support)
35:01 Installing Chaotic-aur (Optional step)
42:27 Configuring mkinitcpio hooks
43:50 Making root password
44:15 Installing GRUB bootloader
45:54 Encrypting HOME and creating its key
50:16 Formating SWAP + HOME and mounting HOME
52:30 Mapping encrypted ROOT to GRUB
56:28 Creating a user profile, adding wheel support
59:49 Installing xorg server and login manager
1:02:46 About CPUs and Graphics Cards
1:05:57 Making system symbol links
1:07:19 Setting up crypttab and fstab
1:10:02 Installing the Desktop environment
1:11:28 Booting into Arch
1:14:08 Outro

Video Notes/Corrections:
- As described at 9:56, nvme devices are sorted differently and have three parameters as oppose to VDa or SDA block devices. You can learn more about them here: https://www.ibm.com/docs/en/linux-on-systems?topic=servers-non-volatile-memory-express-nvme
And you can learn more about their namespaces here: https://www.ibm.com/docs/en/linux-on-systems?topic=nvme-namespaces

- Just to note, at 22:37 there was a problem with my install disk, I just got a new one. This is unlikely to happen to you!

- When pacstrapping at 26:33, you should add man-db and man-pages to the list of applications to install as these will give you the required manuals to read up on when you need to learn certain command line tools.

- At 48:56 I said "-d" option is for device. That is incorrect, the -d paramter is used to input the file path to your key file for decryption. Read more at https://man7.org/linux/man-pages/man8/cryptsetup-luksformat.8.html

Тэги:

#educational #computer #tech #linux #guide #arch
Ссылки и html тэги не поддерживаются


Комментарии: