Skip to content

Instantly share code, notes, and snippets.

@PierreZ
Created June 23, 2018 23:54
Show Gist options
  • Save PierreZ/017b16e449090af681b2acf188e0e51d to your computer and use it in GitHub Desktop.
Save PierreZ/017b16e449090af681b2acf188e0e51d to your computer and use it in GitHub Desktop.
restore
cryptsetup luksOpen
cd /mnt/arch # or where you are preparing the chroot dir
mount -t proc proc proc/
mount -t sysfs sys sys/
mount -o bind /dev dev/
chroot .
mkinipcipio -p linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment