Quick Way to Create/Mount ISO Image in SLED and SLES using GNU/Linux Basic Commands

By: dhardik

January 20, 2008 11:39 pm





Many of you are wondering how to create/mount an ISO image of a CD/DVD in SLED/SLES. You can use K3b, but you can easily use the SLED/SLES GNU/Linux Basic Commands, like DD and CAT. Then simply mount it using the MOUNT command like you have it in your CD/DVD ROM!

We are assuming that you already have a CD/DVD in your SLED/SLES base machine. Now we want to create ISO image of that CD/DVD.

Using DD[1] command:

person@NOVELLDESK:~> dd if=/dev/cdrom of=SLED.iso


After executing the above command, you will get an ISO of your CD/DVD in your current directory.

Using the CAT[2] command you can achieve same thing. Yes using CAT! it’s easier than DD.

person@NOVELLDESK:~> cat /dev/cdrom > SLED.iso


Same as above, you will get your CD/DVD ISO in your current directory.

Now, you can use the MOUNT[3] command to mount the CD/DVD ISO to your SLED/SLES machine, and enjoy it like you have it in your CD/DVD ROM.

We are assuming that you are in same directory in which you have created the ISO of your CD/DVD.

First make the mount directory.

person@NOVELLDESK:~> sudo mkdir /mnt/ISO

person@NOVELLDESK:~> sudo mount SLED.iso -o loop /mnt/ISO

That’s it!

The above commands would also work fine with other Linux distributions.

1 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 5 (1 votes, average: 5.00 out of 5)
You need to be a registered member to rate this post.

Tags: ,
Categories: SUSE Linux Enterprise Desktop, SUSE Linux Enterprise Server, Technical Solutions

Disclaimer: As with everything else in the SUSE Blog, this content is definitely not supported by SUSE (so don't even think of calling Support if you try something and it blows up).  It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.

1 Comment

  1. By:markgharvey

    I think this is the correct command format to mount a .iso file on loopback.

    sudo mount -o loop SLED.iso /mnt/ISO