Created
February 26, 2018 02:38
-
-
Save CarbonChauvinist/4ae5028f19eb51a285fea83fefd803fd to your computer and use it in GitHub Desktop.
arch-linux-rescue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Open LVM | |
cryptsetup luksOpen /dev/sda2 lvm | |
## Mount root | |
mkdir /mnt/oldarch | |
mnt /devmapper/lvmvg-root /mnt/oldarch | |
## Mount var | |
mnt /devmapper/lvmvg-var /mnt/oldarch/var | |
## Mount boot | |
mnt /dev/sda1 /mnt/oldarch/boot | |
## Change root | |
arch-chroot /mnt/oldarch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment