How to create ISO file from DVD/CDROM in Linux

by Eddy on

In Linux you can create ISO image file from CDROM/DVD using online command. If you haven’t ever tried converting CDROM into ISO file in Linux then you must check this out. There are various advantage of having an ISO file, imaging you have one Software CD to run installation on several servers you probably have to go through the manual process of ejecting CD-ROM from one server to mount the CD on rest of the servers.

So you get the point how useful it is to have an ISO image, all you have to do is copy the ISO file on rest of the servers or you can create NFS export for that ISO file, data read will be faster if you can mount the ISO image locally to perform installation compared to CDROM drive.

How to create ISO image file from CDROM in Linux:

1. Insert the CD onto your local Linux server CDROM drive.

Make sure cd is non mounted, use the mount command to check if CD is in mount or unmount state:

#mount

if you see cd is mounted then go ahead and unmount the cd on your Linux machine using unmount command

#unmount /dev/cdrom

Depending upon what kind of media you have you might have to try these commands for DVD or CDROM:

#unmount /dev/dvd for DVD media

#unmount /dev/scd0 for SCSI DVD/CD

2. Create CDROM/DVD ISO image with dd command in linux, dd stands for disk to disk copy

#dd if=/dev/dvd of=dvd.iso —> for dvd
#dd if=/dev/cdrom of=cd.iso —>for cdrom
#dd if=/dev/scd0 of=cd.iso —>if cdrom is scsi

You can also use mkisofs linux command to create an ISO of directories or backup directories and files on CD/DVD. To make an ISO from files located on your hard drive, create a directory to store the files you want. Then use the mkisofs command as listed in example below:

#mkisofs -o /tmp/cd.iso /local/oracle11i

News Tags:

Bookmark and Share

Related posts:

{ 1 comment… read it below or add one }

kerry June 16, 2009 at 9:36 PM

If you want to create ISO file from DVD in Mac OS X,I share you below website:
http://www.gleez.com/board/tech-corner/tips-tricks/how-create-iso-image-file-dvd-mac-os

Leave a Comment

Comment moderation is enabled. Your comment may take some time to appear.

Previous post:

Next post: