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?

  • hperrin@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    2 years ago

    If nothing else, your files are all fine. You can mount your drive on a different system (like a live USB) and copy all your files.

  • 257m@lemmy.mlOP
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    Thank you all for offering advice. I did eventually get it working and repaired all the packages.

  • breadsmasher@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    Assuming you have access to a secondary computer to make a LiveUSB

    • boot a live disk/USB on your PC and copy the data you want off. Then reinstall the OS.

    • If you haven’t got a drive you can move data to, from the live OS, partition your disk and move the data to the new partition CAUTION ON PARTITIONING

  • PlusMinus@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    2 years ago

    Boot a live Linux, chroot into your system, run pacman again and fix your systemd boot to include a fallback option for the next time this happens.

  • Zloubida@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    Other people will probably give you better answers, but I think the solution is quite easy: chroot and relauch the update.