shirwa’s blog

November 18, 2007

Howto make iso image

Filed under: GNU/Linux, Howto — shirwa @ 12:07 am

To make an ISO from your CD/DVD, place the media in your drive but do not mount it. If it automounts, unmount it.

# umount /dev/cdrom

Create iso image with dd comman:

# dd if=/dev/cdrom of=/tmp/cdimage.iso

  • if = input file (/dev/cdrom).
  • of = output file (cdimage.iso)

To make an ISO from files on your hard drive, create a directory which holds the files you want. Then use the mkisofs command. mkisofs -o /tmp/cd.iso /tmp/directory/

This results in a file called cd.iso in folder /tmp which contains all the files and directories in /tmp/directory/.

Advertisements

2 Comments »

  1. Ho do you make iso image of a removable media which is not a CD or DVD ?
    For example if you want to make an iso image of a device whose file system is known but for any reason it’s not mountable so I can’t use mkisofs.

    Comment by spam.wax — May 23, 2008 @ 5:26 pm

  2. find out first device name in /dev.
    # fdisk -l ( -l = list devices)

    then use dd comment to create iso image.

    # dd if=/dev/device_name of=myiso.iso

    if= input file
    of= output file

    Comment by shirwa — May 25, 2008 @ 5:06 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: