1k Use Live Arch ISO as a Rescue Media

Created Wednesday 09 August 2023


By: Farhan Hasin Chowdhury
Use your live USB drive as a rescue media. To do so, reconnect the bootable USB to your computer and boot into the live environment. Once there, configure the time, keymaps, and fonts if you want to.


Then use fdisk to list out all your partitions and locate the one holding your Arch Linux installation. In my case it's the /dev/sda2 partition. Mount the partition like you did before:
mount /dev/sda2 /mnt


Now use Arch-Chroot to log in as the root user.
arch-chroot /mnt


Now uninstall the bad package you installed or go back to a kernel version that used to work in the past and so on. Once done, exit the Arch-Chroot environment, unmount the partition, and reboot:
exit
umount -R /mnt
reboot