Files
homelab/active/os_arch/help.md
ducoterra ef9104c796
All checks were successful
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Successful in 14s
moving everything to active or retired vs incubating and graduated
2025-04-19 18:52:33 -04:00

1.5 KiB

Help

Remove unused packages

Make sure to use the -Rs flag when removing. This will clean up deps.

pacman -Rs package

To see a list of packages that are orphaned you can run:

pacman -Qtdq

To remove those packages you can run

pacman -Qtdq | pacman -Rns -

Update Grub

  1. grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=BOOT
  2. cp /boot/EFI/BOOT/grubx64.efi /boot/EFI/BOOT/bootx64.efi

Downgrading Kernel

You can find old kernel versions at https://archive.archlinux.org/packages/l/linux/

You can find old kernel-header versions at https://archive.archlinux.org/packages/l/linux-headers/

If you want to downgrade to a previously installed kernel you can use pacman cache:

  1. cd /var/cache/pacman/pkg
  2. pacman -U linux-x.x.x.arch1-1-x86_64.pkg.tar.zst linux-headers-x.x.x.arch1-1-x86_64.pkg.tar.zst
  3. reboot

If you want to downgrade to a kernel that wasn't previously installed:

  1. Download linux... and linux-headers... from above
  2. pacman -U linux-x.x.x.arch1-1-x86_64.pkg.tar.zst linux-headers-x.x.x.arch1-1-x86_64.pkg.tar.zst
  3. reboot

Set Plymouth Background Image

  1. sudo cp image.png /usr/share/plymouth/themes/spinner/background-tile.png
  2. sudo plymouth-set-default-theme -R spinner