this post was submitted on 02 Aug 2024
595 points (98.4% liked)

linuxmemes

20762 readers
1810 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 

It was also actually pretty fun!

you are viewing a single comment's thread
view the rest of the comments
[–] Croquette@sh.itjust.works 17 points 1 month 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.