Install ubunto un usb stick

is it possible to install ubuntu on a flash drive ?
what i need is to install ubuntu on a flash drive (32)gb, boot from the flash dribe and use it to work on android studio
sami tarawnehAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dr. KlahnPrincipal Software EngineerCommented:
Yeah, it can be done ... but here's the thing; that flash drive is likely to have a short lifetime.

https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-ubuntu

It used to be that flash memory had a lifetime of hundreds of thousands of cycles.  That was SLC memory with the old technology, and it almost never wore out.  But then somebody got the idea to store multiple bits per cell, which knocked the usable lifetime down to tens of thousands of write cycles.  And new technology came along that was cheaper, but it reduced the usable lifetime again down to a few thousands of write cycles.  So now flash memory actually does wear out, and in an environment where there are significant numbers of writes (e.g., swap file, program development) it can wear out in only a few months.

And USB flash drives don't give any indication of when they're about to fail.

If you want to put Ubuntu on USB, a better choice would be a genuine SSD installed into a cheap SATA drive enclosure.  You can then use S.M.A.R.T. and the drive manufacturer's standard wear-monitoring programs to see how close the SSD is to failure, and switch to a new drive well before it happens.
0
nociSoftware EngineerCommented:
The CDROM based distribution can be put on USB, the will stay readonly and can be used for standalone use.
0
Prabhin MPEngineer-TechOPSCommented:
Hi,
Download etcher which makes your USB bootable pendrive. It's easier


Hope this will help you
0
Chris HarteThaumaturgeCommented:
LInuxLive USB creator. This does exactly what you are asking for. You can pick any version of linux as well
https://www.linuxliveusb.com/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Chris HarteThaumaturgeCommented:
No further input from the OP
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Installation

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.