this post was submitted on 20 Jul 2023
48 points (92.9% liked)

Arch Linux

7777 readers
1 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

This covers obtaining the ISO, connecting to Wi-Fi, partitioning, formatting, mounting, installing, setting up encryption and installing GRUB, in one article. Also includes some tips, like quickly mounting from install medium. Maybe this helps someone.

top 18 comments
sorted by: hot top controversial new old
[–] WheelcharArtist@lemmy.world 5 points 1 year ago (2 children)
  1. with GRUB you can go full disk encryption
  2. why should i use your guide of instead of the wiki?
[–] vepro@lemmy.world 3 points 1 year ago

I wrote this more or less for fun; it is slightly more extensive than the installation guide geared for a more advanced setup. The wiki is mentioned in the article as well and is encouraged to be used too

[–] refurbishedrefurbisher@lemmy.sdf.org 1 points 1 year ago (1 children)

AFAIK GRUB itself cannot be encrypted.

[–] vepro@lemmy.world 1 points 1 year ago

The Bootloader itself cannot be encrypted afaik, but the Kernel and initrd can reside on a LUKS Volume (GRUB_USE_CRYPTODISK). But, in order to prevent having to input your passphrase twice, you need to use a keyfile, and I have no experience with that, so I have gone another route. I don't think that a kernel and initrd necessarily need to be encrypted

[–] g7s@lemmy.ml 4 points 1 year ago

Honestly, the best thing I learned was: Need to fix your system through the install medium? Save yourself keystrokes of mounting by just mounting the root subvolume (to /mnt) and then type: mount -aT /mnt/etc/fstab --target-prefix /mnt. This reads your fstab and mounts everything for you.

Thank you so much for it :D

[–] wviana@lemmy.eco.br 1 points 1 year ago (1 children)

Nice birds part. Where did you learned that?

[–] vepro@lemmy.world 1 points 1 year ago (1 children)

What do you mean with "birds part"? Learned from YouTube Videos, Arch Wiki, and experimenting on bare metal and in Virtualbox. Hardest part for me when installing Arch 1st time was partitioning and bootloaders

[–] wviana@lemmy.eco.br 2 points 1 year ago (1 children)
[–] vepro@lemmy.world 2 points 1 year ago

It was from a GitHub Gist but idk which exactly it was, there are multiple. Keep in mind some files need to have copy-on-write deactivated (swapfile, VirtualBox disk images). The Arch Wiki mentions when copy-on-write should be turned off for a file

[–] Molecular0079@lemmy.world 1 points 1 year ago (1 children)

The biggest problem I have with full disk encryption is that there's still no way to include /boot into the BTRFS root partition for snapshotting. Having your kernel images separate from your system snapshots makes rolling back massively painful.

[–] vepro@lemmy.world 3 points 1 year ago

You might install an older kernel version from /var/cache/pacman/pkg and then regenerate the initramfs. If not using NVIDIA, it's very easy to have multiple kernels installed (e. g. linux, linux-lts) to have another option if one kernel causes trouble.

I'd generally recommend having the lts or mainline kernel additionally if you use custom kernels, like zen or self compiled

[–] housepanther@lemmy.goblackcat.com 0 points 1 year ago (5 children)

With btrfs and zfs virtually being neck and neck in terms of capabilities, is there a reason or application where one should be chosen over the other?

[–] evadzs@lemmy.world 4 points 1 year ago

I use BTRFS for the Snapper backup/bootable snapshots

BTRFS is included in the kernel and due to licensing issues, ZFS is distributed as a DKMS module that takes forever to build.

[–] axzxc1236@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

Less likely to break when you perform kernel upgrade. (new major version)

[–] vojel@feddit.de 2 points 1 year ago (1 children)

Google ZFS licensing and you know why choose btrfs over zfs

Okay, so it came down to a licensing issue rather than one that is technical. I can definitely get behind that as somebody that will always value true open source, even when then the proprietary solution might be the better one in the short term. Something that is open source can only get better.

[–] vepro@lemmy.world 1 points 1 year ago

In the Gentoo wiki it is also mentioned that "While it is true that Btrfs is still considered experimental and is growing in stability, the time when Btrfs will become the default filesystem for Linux systems is getting closer.". I don't know how many distros out there use Btrfs by default (never distrohopped), but it seems to become much more widely adopted than zfs.

https://wiki.gentoo.org/wiki/Btrfs#Features

load more comments
view more: next ›