USB-Creator: A Great New Tool in Ubuntu’s Arsenal

November 8, 2008

usb-creator-menuUSB-Creator is a new tool that comes pre-installed in Ubuntu 8.10, the Intrepid Ibex.  It allows you to install any Ubuntu installation CD to your USB Disk (or SD card in a USB Card Reader), and makes it bootable. In Ubuntu 8.10, USB-Creator can be found by going to System > Administration > Create a USB Startup Disk.

Using this tool instead of burning CDs each time you need to make a new install disk is a great idea.  USB disks are faster than CDs, so the live image boots faster, installs faster, and has generally better performance.

If you are having problems getting an older computer to boot from USB, you will need to create a GRUB Boot Disk.  Instructions for making a GRUB Boot CD can be found here.  After creating the iso, you’ll need to edit the menu.lst file to add the option to boot from your USB drive.  In Intrepid, you can simply right click an iso, and go to Open With > Archive Mounter.  You will see the drive pop up in the Nautilus sidebar.  Open it up, and edit the file boot/grub/menu.lst file with a text editor.  Add this section to the end of the file:

title    Boot USB drive (1 Internal Hard Disk)
root     (hd1,0)
chainloader +1
boot

If the computer has two internal hard drives, you will need to change “(hd1,0)” to “(hd2,0)”.  When you are finished, just save the file, unmount the iso, and burn it to a CD!  Easy, huh?

USB-Creator can also make your Live USB Stick persistent, which means that after you boot into the live image, you can make changes to the system (such as getting your wireless working or installing Flash), and the changes will stick around after a reboot.  Having a Persistent LiveUSB in your pocket is like carrying around your own tiny, private computer.  It’s a great option for doing online banking while you are at work, or on any computer you don’t own.

Last but not least, USB-Creator is REALLY easy to use.  It will take an Ubuntu image from an installation disk you already have, or from an iso image you downloaded.  Also, it’s designed to coexist happily with existing files on your USB Stick, formatting only when absolutely necessary and after warning you first, so you can still use the rest of the space on your USB drive for storing files.

In the next release of Ubuntu, the Jaunty Jackalope, expect new versions of USB-Creator for KDE and for Windows.  Also planned is support for installing directly to SD cards, without the need for a USB Card Reader, for those of us with internal SD Card slots.  The developers also plan to integrate Ubuntu’s Add/Remove Software GUI into USB-Creator, so people can customize what software gets pre-loaded onto their Live USB.  Also, USB-Creator will gain the ability to overwrite the Master Boot Record (MBR), which is sometimes required to get the USB Stick to boot properly.

I had some problems getting my USB Drive to boot after running USB-Creator, and I was given a great workaround in #ubuntu-installer on IRC.  Before you use this command, understand that the program you will be using can be dangerous if used improperly, so be sure you understand exactly what you are doing before you proceed.  Executing this command will likely erase any data you have on your USB Stick, so back it up! To replace the MBR on your USB Disk, in a terminal run the following command, all on one line, replacing the x with the appropriate letter for your USB drive:

sudo dd if=/dev/zero of=/dev/sdx bs=512 count=1; sudo blockdev –rereadpt /dev/sdx; usb-creator

So, give USB-Creator a try.  I’m sure you’ll find it quite useful.  If  you have any problems getting my instructions to work, or if this helped you out, leave me a comment to let me know!  Thanks for reading!

About these ads

10 Responses to “USB-Creator: A Great New Tool in Ubuntu’s Arsenal”

  1. Steven Says:

    I disagree that USB sticks (or atleast sdcard readers in my experience) are faster than live cds. During the initial boot there is a lag that seems to always take place for me.
    Most modern cdrom drives read atleast 6-8 MB per second if not more which is about all you’ll get from a fair usb stick ( or, again, sd card reader like I use.) BUt hey, you save a cd!

  2. Don Birdsall Says:

    Very Useful’

    Equally useful is the link to directions on how to make a GRUB Boot CD. Those following that link will find they need a file called “stage2_eltorito.” Unfortunately, it does not seem to be included in the Ubuntu distro.

    For those who need it, I have uploaded it to:

    http://dl.getdropbox.com/u/283829/stage2_eltorito

    Have Fun!

  3. omegamormegil Says:

    Thanks Don!

  4. Steven Says:

    Are you not greatful for my comment?

  5. omegamormegil Says:

    I’d be grateful for some benchmarking :)
    It does actually seem a lot faster for me, and the live environment seems to have better performance. I’ve also heard other sources claim that a USB install is significantly faster, but I haven’t seen any hard data, or done any timed tests myself.

  6. omegamormegil Says:

    Also, when I wrote that USB Installs were faster, I wasn’t basing it on testing or on my own opinion, but on the opinion of Evan Dandrea, the guy who wrote USB-Creator. To quote Evan “usb-creator was started out of the need to provide an installation medium for systems without a CD-ROM drive and as a way of providing a much faster installation.” Much of the information in this post was obtained from the 11/08 Ubuntu Open Week session on USB-Creator, which can be found here: https://wiki.ubuntu.com/MeetingLogs/openweekintrepid/UsbCreator


  7. […] on the stick is of the “Live USB system” type, basically what you get when you use the USB-Creator tool that ships with Intrepid. Oversimplifying things, I’d say it is a LiveCD with boot scripts to […]


  8. […] my BIOS when I change the device or slot that I am booting from. Instructions can be found here and here. I can boot the flash drive directly or indirectly(via the CD-ROM) depending on the […]


  9. […] USB-Creator: A Great New Tool in Ubuntu’s Arsenal « Omegamormegil’s W… […]


  10. helpful stuff, thank you. myself I have just found this cool CD for booting Windows at at windowsbootcd.com, testing it right now.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: