How to burn an image file to USB in Ubuntu Linux?
This is a quick tip. In Windows, we’ve lot of free and paid alternatives to write an image file to USB device(e.g ImgBurn, Win32DiskImager). Let me explain my requirement. If I get a bootable ISO image file of an operating system like Ubuntu or moblin how would you do that if you’re in a Linux environment? A byte-exact copy of the ISO image must be placed on the USB drive. It is not sufficient to simply copy the image file to the drive.
It’s quite simple to do that
unmount the USB device if it’s automatically mounted to the system.
Step 1
You can either use # umount <usb-drive> command or directly unplug using your nautilus file manager(windows shell equivalent)
Step 2
Image Writer is a small python executable script that detects your USB drive and writes the image to it. The advantage of using image writer is that it will not inadvertently overwrite your system hard drive. Download Image Writer. Navigate to the desired location where you kept the image writer and change its permission to execute.
# cd <directory with downloaded image-writer file>
# chmod a+x ./image-writer
# ./image-writer <image file>
Now you’re done!
There’s a alternative method using ‘dd’ which you can see in the following link. But it’s very risky. It may erase your whole system files if it’s not used carefully.
Source: moblin help

