Saturday, August 25, 2007

ISO creation and CD/DVD burning from terminal

How to create ISO images from terminal?
How to create CD/DVD ISO image of files/folder from terminal?
How to create CD/DVD ISO image of CD/DVD disk from terminal?
How to burn ISO image file into floppy or CD/DVD disk from terminal?
How to burn ISO image file into floppy or CD/DVD disk from Gnome F7?
How to burn DVD .IMG file to DVD disk from terminal?
How to blank fast and erase files from CD-RW/DVD-RW disk from terminal?
How to mount/unmount ISO image from terminal?
How to create MD5 checksum of ISO image file from terminal?
How to verify MD5 checksum of ISO image file from terminal?

This blog entry assumes these below topics:

a. creation and verification of ISO image files
b. CD/DVD burning of ISO/IMG image files
c. mounting and unmounting of ISO image files

Here you go, straight questions and answers.

How to create ISO images from terminal?

Creating ISO images from terminal begins with the mkisofs and/or dd linux commands.

How to create MD5 checksum of ISO image file from terminal?

# md5sum myISOfile.iso > myISOfile.iso.md5


How to verify MD5 checksum of ISO image file from terminal?

# md5sum -c myISOfile.iso.md5

How to create CD/DVD ISO image of files and/or folder from terminal?

For creating ISO image from folder
# mkisofs -r -o myisofile.ISO myfolder

For creating ISO image from file

# dd if=mybigfile of=myisofile.ISO

or

# mkisofs -r -o myisofile.ISO mybigfile
# mkisofs -r -o myisofile.ISO *.mp3


How to create CD/DVD ISO image of CD/DVD disk from terminal?
How to create an ISO copy CD/DVD disk from terminal?

For non-bootable and data ISO image file, just mount the CD/DVD disk first like so
# mount /dev/cdrom /mnt/myCDdrive
# mount /dev/dvd /mnt/myDVDdrive


And create the ISO image file from CD disk like so
# mkisofs -o myCDiso.ISO /dev/cdrom

And from DVD disk
# mkisofs -o myDVDiso.ISO /dev/dvd

An alternative would be done with the below command and without the need of mounting the disk as shown below.
This is also preferrable for creaing bootable CD disk.
# dd if=/dev/cdrom of=myCDiso.ISO

And for DVD disk
# dd if=/dev/dvd of=myCDiso.ISO

How to burn ISO image file into floppy or CD/DVD disk from terminal?

For floppy
# dd if=myfloppyISOfile.ISO of=/dev/floppy

For CD/DVD
# dd if=myCDISOfile.ISO of=/dev/cdrom

or

# dd if=myCDISOfile.ISO of=/dev/cdrom-sr0


and for DVD

# dd if=myCDISOfile.ISO of=/dev/dvd

How to burn ISO image file into floppy or CD/DVD disk from Gnome F7?

Go to Gnome > Places > CD/DVD creator. Copy and paster files and folder and click Write to Disc

How to burn DVD .IMG file to DVD disk from terminal?

# growisofs -Z /dev/dvd=myDVDimagefile.IMG

How to blank fast and erase files from CD-RW/DVD-RW disk from terminal?
This was also mentioned here.

CD-RW
# cdrecord dev=/dev/cdrom blank=fast

DVD-RW
# cdrecord dev=/dev/dvd blank=fast

How to mount/unmount ISO image from terminal?

To mount CD
# mkdir /mnt/cdrom
# mount -t iso9660 -o loop /dev/cdrom /mnt/cdrom


To unmount
# umount /mnt/cdrom

You might be interested on using the right click mouse button to open a link in background in a new browser window or separate tab with the below boxes in black.

That's it for now. Thanks!

Related Posts:

Linux CD/DVD Burnind Software - Brasero

Nero Burning Software in Linux

K9Copy - CD/DVD Disk Copier and Burner

0 comments:

Sign up for PayPal and start accepting credit card payments instantly.
ILoveTux - howtos and news | About | Contact | TOS | Policy