Install Artix or Arch Linux (Encrypted system)

preview_player
Показать описание
Here's how you set up Artix and Arch Linux with an encrypted root/home drive. I cover not just encryption, but installation for legacy BIOS and UEFI machines, but also what differences you'll encounter on Artix's different init systems. I also talk about automatic logons and such.

Note that the only thing different between Arch and Artix are renamed commands (pacstrap vs. basestrap and genfstab vs. fstabgen and artix-chroot vs. arch-chroot). Artix can come with either runit, openrc, s6 or dinit as an init system and setup for all is the same except for the desired package is installed initially as is the command to enable the network interface.

If you want to lazily copy, the programs I installed with basestrap were:
base base-devel runit elogind-runit linux linux-firmware grub networkmanager networkmanager-runit cryptsetup lvm2 lvm2-runit neovim vim

00:00 Intro and Background
01:26 Download and Create and ISO
05:05 On the Artix and Arch Install Scripts in the Repositories
07:28 Reboot and Boot from the ISO
08:26 UEFI vs Legacy Boot
09:38 Formatting the Drive and Partitions
14:34 Making an Encrypted Partition (luksFormat)
17:37 Mount Partitions
18:24 Choosing Mirrors for Speed (Optional)
19:02 Install the Operating System and Programs
22:06 Chrooting into the New Operating System
23:03 Settings: Timezone, locale, LANG, hostname
26:13 Enable NetworkManager and internet/wifi
27:17 Passwords and users (optional autologin)
30:59 Grub configuration with UUIDs to decrypt
32:08 Generating an fstab file
32:28 Finishing up the GRUB configuration
36:32 Grub installation and grub-mkconfig
39:13 Finalizing
39:47 Checking our work
41:44 On graphical environments
42:30 LARBS
45:45 On xinit and starting desktop environments or window managers

BTC: bc1qd20r7phdct3t0e0z6jqs55ulectg25pngt7hyl
XMR: 89yML3AtqnTNdo3wNuoaW44D94Zx1kBZNSBc9SyNxGdaKEZwZNdVzvy9zpbzJMzysiWZEU3b5LwjQ3XwWuQsknCF8JK73yv

OR affiliate links to things l use:
Рекомендации по теме
Комментарии
Автор

00:00 Intro and Background
01:26 Download and Create and ISO
05:05 On the Artix and Arch Install Scripts in the Repositories
07:28 Reboot and Boot from the ISO
08:26 UEFI vs Legacy Boot
09:38 Formatting the Drive and Partitions
14:34 Making an Encrypted Partition (luksFormat)
17:37 Mount Partitions
18:24 Choosing Mirrors for Speed (Optional)
19:02 Install the Operating System and Programs
22:06 Chrooting into the New Operating System
23:03 Settings: Timezone, locale, LANG, hostname
26:13 Enable NetworkManager and internet/wifi
27:17 Passwords and users (optional autologin)
29:30 Preparing decryption on boot, mkinitcpio.conf
30:59 Grub configuration with UUIDs to decrypt
32:08 Generating an fstab file
32:28 Finishing up the GRUB configuration
36:32 Grub installation and grub-mkconfig
39:13 Finalizing
39:47 Checking our work
41:44 On graphical environments
42:30 LARBS
45:45 On xinit and starting desktop environments or window managers

LukeSmithxyz
Автор

There's also one thing I'd recommend when using this kind of setup (Btrfs + encryption)
-- in your /etc/fstab, You can add a "compress=zstd" option to each of the btrfs entries

This may benefit You in 2 ways:
- First, the data is compressed on the fly, so you can fit it much more of it onto your drive,
with the only cost being minor CPU usage increase (for me it's ~10% usage when writing).
- Second, the crypt-device has less physical data to encrypt, so the net CPU-time needed
might actually **go down**, resulting in a higher total disk throughput ^_^ ❤

pekkakoskinen
Автор

Not only is Luke back, he is back with Linux videos?? Wow 💪😁

ArniesTech
Автор

20:31 linux is not included in base anymore to allow lightweight container installs, as containers rely on host's kernel instead of shipping with their own

nierodwirski
Автор

Great video. Good for intermediates stepping into Arch. The only thing you could add in this video is x86_64v3 v4 kernel support and io schedulers, but those two things can be had elsewhere.

greycell
Автор

Good vidya. Graphical Artix ISOs can do full encrypted installs (including /boot), and btrfs is setupd by default with proper subvolumes so that it can work with snapshot tools like timeshift without any user intervention. While it's not difficult to setup subvolumes, it usually requires some command-line deviations during the install (e.g. Debian/Devuan) which is not documented that well. Really great feature to have on the graphical iso's, once again proving that Artix is a great just werks arch distro.

trickdickle
Автор

Holy shit he's back from larping irl to larping in front of the screen, I love it!

gitgudchannel
Автор

Look at this mad lad pulling USB drives while running dd

BASeD

spaceghost
Автор

I can confirm: I don't want to install Arch / Artix Linux yet this video works for me.

sigriston
Автор

Bruh you forgot to add „…in 2023” at the end of the title

zidanian_pilgrim
Автор

Hey Luke, thanks for the vid, it was a useful starting point. Unfortunately, you neglected setting up your btrfs subvolumes, which pretty much defeats the purpose of using btrfs over ext4 as your filesystem.

The fact that subvolumes and snapshotting is possible on btrfs is the whole reason why the added complexity (and thus, the lower performance and increased instability) may be worth it.

pyrus
Автор

Time to watch the arch installation guide from the manually installed arch

gssfaw
Автор

I had a really hard time doing this about 1 and a half years ago, in my defence6was a complete noob at that point I used a weekend. I really wish I had this video back then but I got it done, eventually. Been daily driving it ever sins, have never had this smooth of a computing experience before also cut about 3 sec off my boot time👌

andreaswahl
Автор

btw on arch iso, reflector is now installed by default so you can just run reflector -c [country] to update your mirrorlist

rdangdev
Автор

Is it just me or is Luke looking younger and younger with each video he posts?

ifohancroft
Автор

18:24 There is a neat tool that automates this, it's called reflector. You provide it with a sorting method and with a list of countries and you redirect the output to the mirrors file.

milutinke
Автор

It's been now a little more than a year since I decided to jump from windows to Artix without knowing anything about it, I had many hardships in my path doing that, but looking back now it was all worth it.

seyadeodin
Автор

Bro you are KILLING it with these uploads lately

MunitionsDudTester
Автор

It helped me to install windows, thanks sir!!!

arsensemen
Автор

Luke: Fug the optics I'm the vanguard now.

wallylasd
join shbcf.ru