If I use a LiveUSB, non persistent mode, with the -toram command added to the boot options, will the USB's lifespan be reduced significantly? As far as I understand, LiveUSB runs entirely off the RAM, so the USB does not suffer from excessive write cycles, right?
1 Answer
The non-persistent LiveUSB does run entirely off RAM with the toram
boot option. It doesn't use read/write cycles of the LiveUSB.
Without the toram
boot option, I just tested to confirm. I pull the USB out during a session. None of the items would load after then, including the Ubuntu Dash search. Also, when I exited out of Firefox it crashed.
Also, the shutdown failed to complete successfully.
With the toram
option all all test performs as normal with the LiveUSB removed after the desktop is loaded.
Details for adding the toram
option can be found at:
Can I boot a Live USB fully to RAM, allowing me to remove the disk?.
-
Good answer with testing to back it up! To add on it, I think that Ubuntu has a balance of reading from the USB for necessary files and loading assets into RAM. For it to be completely run off RAM wouldn't be very efficient for the operating system or computer it's running on.– TheOddOct 25, 2016 at 21:24
-
Did you try the toram command in the boot options? I found that the toram command let's me unplug the usb after a full boot, with no repercussions. Thus demands more research! askubuntu.com/questions/829917/…– ArctusOct 26, 2016 at 12:14
-
-
I used multisystem, and it added the toram option, now I know what it means!– QuidamApr 26, 2020 at 15:39
toram
). This is why you can run Ubuntu from a read-only live medium such as a DVD.