Linux Tutorial Series [1] - Burning Ubuntu Linux installation .iso file to CD, DVD or USB

in #linux7 years ago (edited)

How to burn Ubuntu Installation .iso file to CD, DVD or USB.

In this tutorial I will be showing you how to do that with Ubuntu link, but you can burn any OS .iso this way.

  • Start off by downloading the .iso image from the official Ubuntu website: Ubuntu Downloads

  • Now you need to either write it to a DVD or USB flash Drive.
    Good tools for Windows systems are Win32 Disk Imager for burning .iso images to USB flash drives and CDBurnerXP that can be used to burn a DVD or CD. If you are running Linux flavor, I will be showing the use of dd for USB drives and growisofs for the CD burning.

Win32DiskImager:

After you install the software, it is pretty straight forward to run it and browse for the .iso image*, select the USB device that you want to write the image to and click Write:

Afte the write process finishes, you are ready to go and boot up from the installation USB flash drive.

*Sometimes there is an issue browsing to the .iso, in that case you browse to the .iso image with windows explorer and copy the path. Then paste the path under the image file field with the name of the .iso

CDBurnerXP:
Select Burn ISO image, browse for the .iso image, and select the CD/DVD drive:

Once the process of burning finishes, you are ready to go and boot up from the CD/DVD*

*Note that Ubuntu Desktop does not fit on CD. You will need a DVD.

dd:
dd is a command line tool that works as a charm and is very easy to use.
Make sure that the flash drive is at least 4GB.
Insert the USB drive and list the block devices to see what the device name is (sda, sdb, sdc, etc.)

$ lsblk

the output will be something like this:

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 1 29,3G 0 disk
└─sdb1 8:17 1 29,3G 0 part
sda 8:0 0 232,9G 0 disk
├─sda2 8:2 0 1K 0 part
├─sda5 8:5 0 7,8G 0 part [SWAP]
└─sda1 8:1 0 225,1G 0 part /

In my case it is sdb , so the dd command will be:

$ sudo dd bs=4M if=ubuntu.iso of=/dev/sdb conv=fdatasync

growisofs:
growisofs is a great tool for burning CD and DVD's

To burn an iso file to to a disk , it is as easy as :

growisofs -Z /dev/sr0 -r -J /path/to/iso_file

Where sr0 is the DVD ram drive , that you also can see with lsblk command.

I hope this tutorial is useful for you guys, please let me know what do you think down in the comments and what other tutorials would you like me to write for you.

Up-vote & re-steem, please!

Disclaimer: Using the methods described above are at your own risk. I do not take responsibility of any damage you may cause to your hardware.

Coin Marketplace

STEEM 0.21
TRX 0.25
JST 0.039
BTC 95882.33
ETH 3347.19
USDT 1.00
SBD 3.21