Skip to content

Instantly share code, notes, and snippets.

@rvente
Created January 22, 2018 02:38
Show Gist options
  • Save rvente/c2f5faa349d132475358bc2bd0c5e1ca to your computer and use it in GitHub Desktop.
Save rvente/c2f5faa349d132475358bc2bd0c5e1ca to your computer and use it in GitHub Desktop.
mkdir /mnt/arch
vgscan
mount dev/sda{2,4} /mnt/arch
swapon -a
cd /mnt/arch
mount -t proc proc proc
mount -t sysfs sys sys
mount -o bind /dev dev
mount /dev/sda1 boot
chroot . /bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment