SUSE Conversations


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



By: dhardik

January 20, 2008 11:39 pm

Reads:4230

Comments:0

Rating:5.0

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

[1] http://linux.die.net/man/1/dd

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

[2] http://linux.die.net/man/1/cat

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.

VN:D [1.9.22_1171]
Rating: 5.0/5 (1 vote cast)
Quick Way to Create/Mount ISO Image in SLED and SLES using GNU/Linux Basic Commands, 5.0 out of 5 based on 1 rating

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

Disclaimer: As with everything else at SUSE Conversations, 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.

Comment

RSS