2

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
    If you're not using persistence, my understanding is that there should be no write cycles whatsoever occurring on the device (regardless of whether or not you use toram). This is why you can run Ubuntu from a read-only live medium such as a DVD. – Nick Weinberg Oct 27 '16 at 9:37
2

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. – Owen Hines Oct 25 '16 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/… – Arv Oct 26 '16 at 12:14
  • @Arv Thanks. I'll update the information to the answer. – L. D. James Oct 27 '16 at 8:59

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.