diff options
| author | ivan-boikov <mail@ikboikov.net> | 2025-05-11 17:41:49 +0200 |
|---|---|---|
| committer | Ivan K. Boikov <mail@ikboikov.net> | 2026-07-26 20:48:58 +0200 |
| commit | 0d9d98337d0f7a424bcd6ac28a5d42eb58516786 (patch) | |
| tree | 25ffcf8a0ba611b2aef921dc82dfaf74b88f50df | |
| parent | e15bfe9a9cfa93acad12fcd5fa68810719daa051 (diff) | |
New nvme!
| -rw-r--r-- | dracut/dracut.conf.d/dracut.conf | 4 | ||||
| -rw-r--r-- | fstab/fstab | 13 |
2 files changed, 10 insertions, 7 deletions
diff --git a/dracut/dracut.conf.d/dracut.conf b/dracut/dracut.conf.d/dracut.conf index bb13ca8..2e9eba2 100644 --- a/dracut/dracut.conf.d/dracut.conf +++ b/dracut/dracut.conf.d/dracut.conf @@ -12,7 +12,9 @@ uefi="yes" # OpenRC does not care for /etc/crypttab, but dracut, being a Redhat's child (a therefore a systemd fanboy) will # instead of adding a /etc/crypttab just for dracut, we specify LUKS name # why this is not documented anywhere but the depths of forums - I have no goddamn clue; thanks, GlowHat -kernel_cmdline="rd.luks.name=96913e60-3790-4e7f-bb08-21186571d5b9=root root=/dev/mapper/root rd.lvm=0 rd.md=0 rd.dm=0" +kernel_cmdline="rd.luks.name=c1ba9db6-2065-4753-8130-fb3eff2abcba=root root=/dev/mapper/root rd.lvm=0 rd.md=0 rd.dm=0" +# mounting options can be passed this way +#kernel_cmdline="rd.luks.name=c1ba9db6-2065-4753-8130-fb3eff2abcba=root root=/dev/mapper/root rootflags=subvol=@,autodefrag,compress-force=lzo,noatime rootfstype=btrfs rd.lvm=0 rd.md=0 rd.dm=0" uefi_secureboot_cert="/etc/secrets/efi/db.crt" uefi_secureboot_key="/etc/secrets/efi/db.key" diff --git a/fstab/fstab b/fstab/fstab index c9d103e..2126dbd 100644 --- a/fstab/fstab +++ b/fstab/fstab @@ -23,12 +23,13 @@ # documentation for details on setting a label. To obtain the UUID, use # the blkid(8) command. -UUID=B36E-608F /boot vfat noatime 0 2 -UUID=6e72e954-c358-495c-90ae-48061ab0cbd8 / btrfs noatime,compress-force=zstd,autodefrag,subvol=@ 0 1 -UUID=6e72e954-c358-495c-90ae-48061ab0cbd8 /home btrfs noatime,compress-force=zstd,autodefrag,subvol=@home 0 2 -UUID=6e72e954-c358-495c-90ae-48061ab0cbd8 /.snapshots btrfs noatime,compress-force=zstd,autodefrag,subvol=@snapshots 0 2 -UUID=6e72e954-c358-495c-90ae-48061ab0cbd8 /.swap btrfs noatime,subvol=@swap 0 0 -/.swap/swapfile none swap sw,loop 0 0 +# btrfs compression is shared by the entire filesystem +UUID=64B1-97A7 /boot vfat noatime 0 2 +UUID=f98d6e1a-a1d2-436b-ab1e-dbfa8dcee9fb / btrfs noatime,compress=lzo,autodefrag,subvol=@ 0 1 +UUID=f98d6e1a-a1d2-436b-ab1e-dbfa8dcee9fb /home btrfs noatime,compress=lzo,autodefrag,subvol=@home 0 2 +UUID=f98d6e1a-a1d2-436b-ab1e-dbfa8dcee9fb /var/vm btrfs noatime,compress=lzo,autodefrag,subvol=@vm 0 2 +UUID=f98d6e1a-a1d2-436b-ab1e-dbfa8dcee9fb /var/cache/distfiles btrfs noatime,compress=lzo,autodefrag,subvol=@distfiles 0 2 +UUID=5ee2653c-67ed-4582-a9ac-2ebbe984bb28 none swap sw 0 0 # /tmp is not mounted as tmpfs automatically by OpenRC tmpfs /tmp tmpfs rw,nosuid,noatime,nodev,mode=1777,rootcontext=system_u:object_r:tmp_t:s0 0 0 |
