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?

  • pastermil
    link
    fedilink
    arrow-up
    38
    ·
    1 year ago

    Not an endavour/arch user, but have been in similar situation.

    What I did:

    • boot into live USB
    • mount the problematic rootfs
    • chroot to it
    • run pacman update

    Archwiki has a nice article on chroot

      • pastermil
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        You may need to adapt the last part to your needs.

        Example:

        • for Fedora, you’d use dnf instead of pacman
        • if your bootloader is broken, you’d want to run grub-install or grub-mkconfig
        • if your initramfs doesn’t recognize your new partition, you’d want to regenerate it with the current fstab or crypttab