6

I want to install Ubuntu on a usb stick and run the OS from it and also use the same usb as main drive, like everything i install it's kept on there so then I'm able to run like "my user" on another computer. It's possible?

3 Answers3

3

Yes it is possible. when you install the OS make sure to install the OS in the USB drive of your choosing.

1) when you install the OS go to something else option

2) select the drive that you want to install the OS (In your case your USB drive)

3) select USB drive as root partition (/)

4) after that change boot-loader install location to your USB Drive

5) click continue

now if the installation successful then your USB drive is now bootable.

and don't forget to override the boot order inside the BIOS when you want to use that USB drive.

2

What you describe is called persistent live installation. You can achieve this in two ways:

  1. favourite option: https://unetbootin.github.io/ (you can also partition the USB storage in two parts with gedit
  2. alternative option: create a casper-rw "virtual partition" (it's nothing but a file in fact) for the persistent data storage. (see How do I get a live-USB to use a partition for persistence?)
Andrea Borga
  • 1,100
1

You could try mkusb https://help.ubuntu.com/community/mkusb and its persistent live system. But keeping such a system up to date cab be problematic.

jarno
  • 6,175