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?

  • SALT
    link
    fedilink
    English
    21 year ago

    Is this work for every system? Like Fedora?

      • SALT
        link
        fedilink
        English
        21 year ago

        Thank you. Seems it’s fun to delve into. Thanks!

    • icedterminal
      link
      English
      41 year ago

      Yup. Mount your disk and chroot into it.

    • @[email protected]
      link
      fedilink
      21 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