Created
August 22, 2018 10:34
-
-
Save k0staa/15c6e65dba43549344988aa65db1ae14 to your computer and use it in GitHub Desktop.
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
| #Install arch on usb, it have script (arch-chroot) , its very usefull (adds /dev /proc /sys mounts and more) | |
| #When on live usb run: | |
| sudo pacman -S lvm2 | |
| sudo vgchange -a y | |
| #Now you are able to see LVM drives and mount them | |
| #Boot volume is on separte partition | |
| #Prepare and mount volumes: | |
| sudo mkdir /newroot | |
| sudo mount /dev/yourVG/rootLV /newroot | |
| sudo mount /dev/yourbootpartition /newroot/boot | |
| sudo arch-chroot /newroot | |
| #now you can do everything to your broken system, for example downgrade kernel: | |
| https://wiki.archlinux.org/index.php/Downgrading_packages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment