Yes, it is completely possible. Assuming that you have created a bootable USB, you will need a minimum 8GB+ drive, plug in the USB and boot your computer from the USB. Now you’re in the Ubuntu Live system, plug in the 8GB+ USB stick. Then launch Gparted from the Unity Dash.
In the top-right drop-down box select the USB drive (16GB in my case), and you should see something like below:select USB stick
I have two USB flash drives plugged in the computer, the Hard Disk is /dev/sda, 4GB Live USB is /dev/sdb, and the 16GB USB drive is /dev/sdc.
From the right-click context menu, un-mount partitions on the USB drive and then delete them. Click the green checkmark button to apply changes, finally, you have an unallocated flash drive, like:
USB stick deleted
clear
green chechmark
When done close Gparted partition manager.
Click the desktop shortcut “Install Ubuntu” to bring up the Ubuntu installation wizard.
Follow the wizard until it asks you to choose where to install Ubuntu. Select the last option “Something else” and click Continue to bring up partition table.
something else
In the partition table, scroll down and highlight the “free space” under the USB drive (/dev/sdc in the case) and click the plus sign to create below partitions one by one:
A FAT32 (or fat16) partition (required)
must be /dev/sdc1 (or sdX1)
mount point /NAME_HERE (/UDISK in the case)
set the memory size by yourself, it can be used for normal data storage.
leave others default.
A EXT4 partition for Ubuntu (required)
A swap partition (optional).
- You can skip this if RAM is large enough and you don’t need hibernation feature.
And very important is select install boot-loader to the USB flash drive (/dev/sdc in the case).
partition table
When everything’s done, click Install Now and confirm to format the partitions (Pay attention on which partitions to be formatted).format partition
Click continue and finish the wizard. Once the installation complete, restart your computer and boot with the ‘Ubuntu To Go’ USB drive.
Hope this works for you.