It was also actually pretty fun!

  • @cm0002OP
    link
    881 month ago

    Not really, I pulled it together from a bunch of random posts lol

    Maybe I should write one, but in essence you:

    • Stop all non-OS essential services

    • Create a filesystem in a chunk of RAM

    • Pull essential OS files from the installed OS into it recreating needed directories (Though you could probably just use a tiny pre-built distro but meh)

    • Pivot root into it

    • Reload services (when they restart they’ll be restarted in the context of where you pivot rooted, prior they’re still running under the context of the installed OS)

    • Unmount the boot drive

    • Then do what ever you need to do

    • ???

    • Profit