roam/20240115122530-fixing_my_arch_linux_bootloader.org

15 lines
429 B
Org Mode
Raw Normal View History

2024-01-15 22:33:05 +00:00
:PROPERTIES:
:ID: 56e7fe03-8f0e-4699-bcec-7ef33a379d89
:END:
#+title: Fixing my Arch Linux bootloader
[[id:a5f8aa86-b03c-494e-85fa-d9483950d2fb][Reason]] occasionally has issues where, when it reboots, it cannot find its boot
drive.
* Prepare an Arch Linux bootable USB drive
* Mount the system
: mount /dev/sda2 /mnt -o subvol='@'
: mount /dev/sda1 /mnt/boot
: arch-chroot /mnt
* Restore the bootloader
: bootctl install