Friday, January 23, 2009

Ubuntu: How to create a bootable USB drive from ISO file

I no longer trust CDs, it's time we phase out CDs and put it in the category we created for floppies.

So, if you have a Ubuntu iso file (if not, get it from here) how do you get it installed using your flash drive?

Step 1: Get UNetBootin
  • add the following lines in /etc/apt/sources.list
    http://ppa.launchpad.net/gezakovacs/ubuntu hardy main
    deb-src http://ppa.launchpad.net/gezakovacs/ubuntu hardy main
  • sudo apt-get update
  • sudo apt-get install unetbootin
  • if you run into dependency issues, run 'sudo apt-get -f install'
  • if you are installing from windows/mac, download the corresponding version of unetbootin from here.
Step 2: Launch UNetBootin
  • click on the Diskimage radio button, and add path to the iso file
  • select Type as 'USB Drive' from the drop down menu, and add the Drive letter in the next drop down.
  • for linux users, you have to check the 'Show all drives' checkbox and select the appropriate one (do a 'mount -l' to confirm)
  • it will now extract the files to the USB and make necessary configurations to make it bootable
  • select 'reboot now' option to install on the same machine, or unplug the USB and boot with it on another machine

No comments: