gedankensplitter/archlinux.md
2022-08-02 21:06:29 +02:00

1.4 KiB

keywords
IT

Archlinux

clean system from old files

paccache -r
paccache -ruk0
paccache -rk1

yay -Ycc
flatpak uninstall --unused
journalctl --disk-usage && journalctl --vacuum-size={size}M

or prepare the file/etc/systemd/journald.conf and this value:SystemMaxUse=50M

customize fresh system

git use credential store

https://gist.github.com/maelvls/79d49740ce9208c26d6a1b10b0d95b5e

gnome thumbnail raw picture

https://support.system76.com/articles/fix-raw-image-previews/

failure recovery

  1. boot from archlinux usb stick
  2. mount LUKS Container cryptsetup luksOpen /dev/nvme0n1pX luksDev
  3. temporary dir mkdir tmpmnt
  4. mount mount -o subvol=@ /dev/mapper/luksDev tmp
  5. arch-chroot tmp bash
  6. mount /dev/nmve0n1p1 /boot
  7. fix stuff
  8. mkinicpio -p linux
  9. sync, unmount boot and tmp
  10. cryptsetup luksClose luksdev