0

Is it possible to install Ubuntu in a USB device? Don't want a live version, I want to install it like it was in a partition, install programs and save files. If so, how can I do it? I haven't found anything that makes me feel comfortable. Thank you guys!

Fcrtes
  • 1

1 Answers1

1

You can just point the installer to your usb drive and it should work. Exactly the same as a normal install.

Notice that you can also create a live usb with persistence that can be used as an installer and to store your files and install packages.

Daniel
  • 558
  • If I don't misunderstand, can I use LiveUsb with the posibility to save files and packages like if it was installed in a laptop? – Fcrtes Jul 12 '16 at 17:27
  • Correct, you can. Either create a file(using dd) named casper-rw on the root of your usb drive and format it as a device, with mkfs.ext4 casper-rw or create a partition on your usb drive and label it casper-rw, then format it with mkfs.ext4 /dev/sdXX. You can find more detailed instructions on: http://askubuntu.com/questions/138356/how-do-i-get-a-live-usb-to-use-a-partition-for-persistence and http://askubuntu.com/questions/321302/xubuntu-live-usb-persistence-how-to – Daniel Jul 12 '16 at 17:32
  • Ok, I just had a new question. Is it possible to "make a copy" of the system I have installed in my computer in a USB? Like install Ubuntu from Ubuntu in my computer. Is it possible? – Fcrtes Jul 12 '16 at 17:47
  • It is possible, but it is a lot harder to do, and generally not worth the effort. It's faster and easier to copy just the files you care about to a new ubuntu install. – Daniel Jul 12 '16 at 17:51
  • 1
    @Fcrtes https://help.ubuntu.com/community/MakeALiveCD/DVD/BootableFlashFromHarddiskInstall – Nick Weinberg Jul 12 '16 at 19:12