User:Altercation/Bullet Proof Arch Recovery

From ArchWiki


Scenario: DRIVE GOOD, NEW MACHINE

A mainboard replacement or moving the main drive to new machine will result in two main issues:

1. EFI boot entry will be gone 2. Keys will be missing for secure boot

We will add entries using efibootmgr to both manage keys and boot the system.

1. Boot arch iso USB drive 2. {ic|lsblk -o +PARTLABEL,LABEL} to identify the system drive and partitions 3. Unlock the cryptsystem partition to a container named system 3. Mount the system container to /mnt 4. "Boot" that partition with "systemd-nspawn -bD /mnt" 5. examine the /etc/commandline entry