I accidentally removed a xubuntu live usb from the computer while it was running but it seems to be working just fine. I can even launch applications that werent already open.
Is that expected? I have always thought you need to be careful to avoid bumping the usb drive or otherwise disturbing it.
Where is everything being stored? In RAM? Is the whole contents of the usb copied into RAM or just some parts?
Edit: tried it with manjaro and it fell apart. All kinds of never before seen errors. Replacing the usb didnt fix it. Couldnt even shut down the machine, had to hard power off.
remove live usb while running from it
Why are you running from it? There’s no need to be scared, it doesn’t normally bite
What if it’s plugged into a Terminator.
Disguised as a Wall-E…
Fair point
normally
tell me, which USB hurt you?
Not me, but I thought UnRelatedBurner might have had a reason
A lot of live images will run entirely from RAM, flash drives are typically quit slow so it makes the experience much nicer.
That’s because at booting time this live USB is loaded into your RAM and it is safe to remove it once you complete the boot process.
deleted by creator
The main reason to “eject” flash memory is if it is in the middle of a write operation because they are rather long due to how entire pages must be erased and rewritten. Depending on how this write process is managed and how the hardware is constructed it can cause corruption from removing something the wrong way.
I’m not sure about how the larger distros work, but with something like OpenWRT, everything is running in RAM. I’m pretty sure that is how Live USB always works.
I’m pretty sure even the distros that can run from USB with persistence are running an immutable OS that runs from RAM and then using an extra partition on the USB drive for persistent storage. The immutable nature hints that it is likely running in RAM.
Liveusb sistems do get stored in RAM since it’s so much faster and reliable. Also I’m pretty sure most liveusb are read-only so it’s Hardee to modify data. Manjaro must be loading small parts into Ram, or you didn’t had enough ram, so when you took it out it only had the data on RAM which wasn’t enough for it to process any command
Its only fine if you use the toram kernel parameter (some distros ignore it)
Yep, I’ve done that. Just hard power off and I would recommend reformatting the drive. You can usually still get your files back by mounting it on a functional computer.