Skip to content

Instantly share code, notes, and snippets.

@uniomni
Created March 25, 2011 05:09
Show Gist options
  • Save uniomni/886394 to your computer and use it in GitHub Desktop.
Save uniomni/886394 to your computer and use it in GitHub Desktop.
Create large bootable USB stick
Jaunty (9.04) onwards provide USB Startup Disk Creator system tool. It uses the usb-creator to create USB bootable startup disk on USB drive. You may also start the application from the terminal with :
gksudo usb-creator-gtk
Then choose the desired ubuntu .iso image, the usb device you want to use, erase the disk and set the degree of persistence (the slider) you need. Note that the maximum space that can be allocated for persistence is limited to 4GB (maximum file size on a FAT32 filesystem is 4GB). This limit can be overcome and is explained later on. If you do want a larger degree of persistence, set persistence to 128mb for now and continue. Hit Make Startup Disk and wait till it finishes. You are now in possession of a USB drive that can be used to run/install ubuntu on most computers. Persistence gives you the freedom to save changes, in the form of settings or files etc, during the live session and the changes are available the next time you boot via the usb drive.
To make the persistence larger (> 4GB), while still on your normal Ubuntu Installation, mount the pendrive if it is not mounted already. View the files in the FAT32 partition of the pendrive. You will now be able to see a file called casper-rw. It will be the same size as the value set on the slider. Delete this file. Open gparted :
gksudo gparted
select the live usb. There will be a single partition only. Resize it so that you can have two partitions. You only need the current partition to be as large as it is already. You can safely move the resizing slider all the way to the left until there is just enough breathing space between the slider and the end of the first partition (coloured block). Make the newly created free space an ext4 or ext3 or ext2 partition and label it "casper-rw" without the double quotes. Hit apply changes. So now you have two partitions, the fat32 partition and the ext4 partition called casper-rw. This partition can be of any size and will be responsible for saving your data between boots. You can now boot using the usb drive and any changes you make will remain.
Copy link

ghost commented Nov 12, 2016

Here is the tutorial "How to bootable usb pendrive with CMD step by step easy tutorial".
in this tutorial i was show , how you can make your pendrive bootable for windows setup with easy step .
Watch it and comment blew . its easy or not . video => https://www.youtube.com/watch?v=dd69WxjlWkc

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment