layer8.space is one of the many independent Mastodon servers you can use to participate in the fediverse.
Welcome to the 8th Layer of Madness Most topics are related to Linux, Anime, Music, Software and maaaany more PS: BSD is also welcome 😜

Administered by:

Server stats:

310
active users

What i like about ; i can just specify 1 EFI partition (necessary for booting in UEFI/non-CSM mode), and 1 LUKS-crypto partition.

It "kinda" just wörks!

Quirk: if LUKS password contains UMLAUT, you need to remember how to translate QWERTZ to QWERTY, as en_US seems to be the default layout.

You might need a separate /boot partition, if you want to dual-boot Windows, though. I usually install Windows 1st, then resize with Gparted/partedmagic, then install . Mileage varies.

🧵 2/2 (untested) i guess, if you'd create 3 partitions during install (EFI, /boot, and /), POST would hand-over to GRUB, which would be configured with your LOCALE/KB-layout …then, grub would handle the password input.

(dual-boot windows would just be another grub menu entry - it's usually fine - never failed on my boxes)

Multi Purr Puss :verified:

🧵 3/3 next time i install i'll have at least 4 partitions.

1) EFI
2) /boot
3) swap on LUKS
4) / (compressed btrfs on LUKS)

EDIT: apparently i CAN have a on , after all. [partitions 2) and 3) aren't required, then]

👉 btrfs filesystem mkswapfile --size 4g --uuid clear /swap/swapfile

👀 wiki.archlinux.org/title/Btrfs via @sirber (thanks, mate👍)

wiki.archlinux.orgBtrfs - ArchWiki

@platymew can you hibernate with the swap encrypted?

@sirber i'm not sure, i don't hibernate. 😅

I can't have swap on COW storage, though. And btrfs is the only option with compression that isn't "ZedFS" - both are COW.

Afaik, XFS still doesn't support compression.

btrfs is kinda neat, but i wouldn't use it for storage arrays - i know enough about ZFS, so i don't need to learn more about btrfs in order to confidently run arrays.

@platymew there's a way to have a swap file on btrfs. I've done it before. I don't remember how though, best search for it

@sirber well, i might need to look a bit harder, then.

I've found something with mount options, "nodatacow".

Currently that'd apply to the / (root) - i'll try creating a subvol and mounting that.