How to create a persistent USB in Ubuntu with mkusb: quick and easy

Who I am
Catherine Le Nevez
@catherinelenevez
EXTERNAL REFERENCES:

vgr.com gamedesigning.org Reddit.com

Author and references

Ubuntu it is a fairly versatile open source operating system that allows you to have many tools that you can take full advantage of. The tools you can count on range from knowing the weather forecast to having all kinds of office or scheduling extensions and programs.

How to create a persistent USB in Ubuntu with Mkusb: easy and fast

Thanks to the fact that this system is one of the most secure and customizable, you won't have to worry about it being infected with a virus. Since viruses are usually programmed to attack other more vulnerable operating systems. However, you can install Comodo for Linux for added protection. But that's not all, you can also create one Persistent USB with Ubuntu, in this article we will guide you.



      What does a persistent USB installer do?

      These Unix USBs, like the Universal USB Installers, allow you to create the necessary bootable files on a partition. This same partition is formatted with FAT32 and, due to limitations in FAT32 itself, the file size is 4G at most.

      Now, if what you want is more persistent storage space, you can replace it with a partition whose storage limit will be the same as the USB storage you are currently using.

      You can use the GParted partition manager where you can resize the FAT32 partition and thus have more space for a new one largest EXT4 partition to enjoy more storage space.

      The persistent file you have can be deleted and when you turn your computer back on, the Ubuntu OS will automatically select the persistent partition with the most space.



      But while everything sounds great so far, there is one small problem, Ubuntu itself can't change its own active boot partition, so you'll need another Ubuntu system to do that. You can use a second USB stick containing Ubuntu Live. We will show you below what are the steps to follow.

      How to create persistent USB in Ubuntu?

      This time we will use 32bit version of Ubuntu 13.10, if you don't know your Ubuntu system version you can do it easily, instead to create a persistent USB you have to follow the following steps:

      • The first step to follow is to install Ubuntu on two USB devices and do a small configuration on them so that both have a persistent memory of at least 100 MB.
      • You should open or run Ubuntu from one of the drives and keep the other drive offline.
      • You have to look for the GParted Partition Editor option and Ubuntu Dash and open it. The same is installed by default in 13.10
      • This is when you should insert the other USB device and, after a few seconds, update it in GParted, which you can open using the Ctrl + R command. When you do this, you should see a new device added to the list. You need to check that the size matches that of your USB and select it.
      • You should now check the mount point (/media/ubuntu/UUI)
      • You should now open the terminal window using the command Ctrl + Alt + T and remove the persistent files using the following command: rm -v /media/ubuntu/UUI/casper-rw
      • Update GParted again and check the changes that have been made to Used
      • Now, place the cursor on the partition and right click and select the unmount option. If you followed the steps to the letter, you will notice that the mount point it is no longer reflected on the screen.
      • Right click on the partition again, but this time select the Resize/Move option and you will be able to see the assigned partition.
      • It's time for you to create a new partition for persistent storage and choose the partition you didn't allocate and right click it and select the New option.
      • Now choose il filesystem ext4 where you will label casper-rw and click add.
      • Verify that all parameters are correct and once done, press the green button to verify and apply all pending operations.
      • Already the penultimate step is to shutdown Ubuntu and remove the first USB device and reboot from the second USB device
      • Finally open a terminal with the command Ctrl + Alt + T and type the following command: df . –hy check that the Avail size matches the persistent partition you created.
      add a comment of How to create a persistent USB in Ubuntu with mkusb: quick and easy
      Comment sent successfully! We will review it in the next few hours.