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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

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.
nociSoftware EngineerCommented:
The CDROM based distribution can be put on USB, the will stay readonly and can be used for standalone use.
Prabhin MPEngineer-TechOPSCommented:
Download etcher which makes your USB bootable pendrive. It's easier

Hope this will help you
Chris Harte2015 Top Expert (Most Article Points)Commented:
LInuxLive USB creator. This does exactly what you are asking for. You can pick any version of linux as well

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 Harte2015 Top Expert (Most Article Points)Commented:
No further input from the OP
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

From novice to tech pro — start learning today.