Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way where I can install Ubuntu on my pendrive / USB stick, and then have my files, settings, etc. saved across reboots?

I want the files to be easily accessible from other computers, so they should be directly on the pendrive partition, not inside a persistence file. That way, I can use my computer to copy files to /home/ubuntu/Desktop and then be able to see them on my desktop when I boot from the pendrive. This is how Puppy Linux works if you install it on an ext2/3/4 filesystem.

If it's not possible, then can I create another partition on my pendrive an use it for /home/ubuntu in my live system?

share|improve this question
up vote 2 down vote accepted

You can build a flash drive using persistent partitions not limited to the 4GB of FAT32 files.

Partition an 8GB or larger drive first half FAT32, second half ext2, label the ext2 partition casper-rw, (you can make a third partition named home-rw if you want a seperate home).

Install to the first partition using usb-creator, (Startup Disk Creator), or UNetbootin, allowing minimum persistence space. when done delete the casper-rw file located in root.

To make a folder easily accessable from other computers, create a folder in filesystem/cdrom. You will see this folder in the flash drive root when plugged into a running Linux or Windows computer.

You can not access the casper-rw file where /home/ubuntu/Desktop is located from a Windows machine, (easily).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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