cm0002@lemmy.world to linuxmemes@lemmy.world · 3 months agoWhat can I say, I didn't want to wait on my provider lollemmy.worldimagemessage-square46fedilinkarrow-up1603arrow-down110file-text
arrow-up1593arrow-down1imageWhat can I say, I didn't want to wait on my provider lollemmy.worldcm0002@lemmy.world to linuxmemes@lemmy.world · 3 months agomessage-square46fedilinkfile-text
minus-squareCroquette@sh.itjust.workslinkfedilinkarrow-up17·3 months agoRAM 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.
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.