I’ve lost everything and I don’t know how to get it back. How can I repair my system all I have is a usb with slax linux. I am freaking out because I had a lot of projects on their that I hadn’t pushed to github as well as my configs and rice. Is there any way to repair my system? Can I get a shell from systemd?
I’ve never used Slax but it should, boot the liveUSB and enter terminal.
The general process is:
https://wiki.archlinux.org/title/Chroot
I tried chroot /media/sda2/@/root and it tells me /bin/bash not found.
If you boot to an Ubuntu iso, you can use arch-chroot to set up everything you need correctly. Done this many times when I borked my Arch boot process
https://manpages.ubuntu.com/manpages/focal/man8/arch-chroot.8.html
Can I install arch-chroot on slax? I have apt.