Skip to content
Léo MERCIER edited this page Aug 5, 2024 · 2 revisions

Live system debugging

If you need to access to your system with a live environment after you messed up, follow those steps

First connect to your live session. Shutdown your computer, plug the USB containing your live environment, use the boot menu to select the USB drive. If you're using artix, use the default credentials

username: root
password: artix

Next open your luks partition if your drive is encrypted

cryptsetup luksOpen /dev/your-disk-lvm-partition alpha

And activate the logical volumes

vgchange -ay

Then mount the root volume

mount /dev/alpha/volRoot /mnt

Optionally you can mount your EFI partition using this command

mount /dev/your-disk-efi-partition /mnt/boot/efi

Finally you can access to your system

artix-chroot /mnt /bin/bash

When you're done with whatever, run

umount -R /mnt
vgchange -an
cryptsetup luksClose alpha
reboot

You can then unplug your USB key and hopefully you're good to go!

Update your LUKS passphrase

Here is the command to update your passphrase

cryptsetup luksChangeKey /dev/your-disk-lvm-partition -S 0

Debug your Wayland

You can use the tool called wev to test your key presses and more

doas pacman -S wev
Clone this wiki locally