Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save k0staa/15c6e65dba43549344988aa65db1ae14 to your computer and use it in GitHub Desktop.

Select an option

Save k0staa/15c6e65dba43549344988aa65db1ae14 to your computer and use it in GitHub Desktop.
#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