It was also actually pretty fun!

  • Croquette@sh.itjust.works
    link
    fedilink
    arrow-up
    17
    ·
    4 months ago

    RAM is still memory, so you can put anything in there, like an OS.

    With pivot_root, you can change where the root is. So you pivot into your OS in RAM, which becomes the root of the system.

    At that point, you can do pretty much anything you would normally do with your OS, like unmount a HDD.

    I’ve never personally done it, but that’s a simplified explanation of what OP did.