VMware
9 Replies Last post: May 24, 2005 6:22 AM by osde.info  

Copying ISO image from CD to ESX server posted: Mar 14, 2005 7:38 AM

Click to view momin's profile Enthusiast 42 posts since
Feb 9, 2005
Hi,
I am newbee to vmware world.

I wanted to copy the Mandrake iso image from the CD to a directory on ESX server.

but when on service console i mount the CDrom, mount /mnt/cdrom and then check the content of the cd, it is something different than what i have on Cd rom.

where am i wrong? and how to correctly copy the content of Cd rom to esx server.

Thanks

Re: Copying ISO image from CD to ESX server

1. Mar 14, 2005 7:40 AM in response to: momin
Click to view JohnnyB's profile Enthusiast 68 posts since
Aug 13, 2004
Hey there,

Don't mount it, easier to just dump it.

type this in:

dd if=/dev/cdrom of=./mandrake.iso

Make sure you are in the directory that you want the ISO to be placed in, the "./" means current folder. So it'll do a "disk dump" of the device "/dev/cdrom" and write it to the ISO file in current folder called "mandrake.iso".

That's it! :) Quick and dirty, anyway.

Re: Copying ISO image from CD to ESX server

2. Mar 14, 2005 7:48 AM in response to: JohnnyB
Click to view JohnnyB's profile Enthusiast 68 posts since
Aug 13, 2004
Oops... misread your question. Sorry about that.

What do you mean by its showing something different? What does it show on the mounted device?

Re: Copying ISO image from CD to ESX server

3. Mar 14, 2005 7:49 AM in response to: JohnnyB
Click to view grasshopper's profile Master 1,459 posts since
Jul 1, 2004
yep... that's all you need. Here's a link to a KB for more detail:
http://www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=1002

You can also cook the iso on your windows workstation/laptop using freeware such as winimage and then copy the iso to your ESX host using WinScp (more freeware). You may also want to run an md5sum against your iso to confirm that the source and destination match.

Re: Copying ISO image from CD to ESX server

4. May 11, 2005 9:23 AM in response to: JohnnyB
Click to view CarterEnergy's profile Novice 16 posts since
May 11, 2005
Don't mount it, easier to just dump it.

type this in:

dd if=/dev/cdrom of=./mandrake.iso


does the 'dd' command work for making floppy images (typically seen as .flp), or is there a different tool? I've gotten by with a VM running DOS with 2 floppy drives configured: one points to /dev/fd0 and the other points to a new image that I create using the remote console. I boot the VM, use "diskcopy" to copy the floppy to the image, and shut down the vm. Being able to do it in the console would be MUCH nicer.

Re: Copying ISO image from CD to ESX server

5. May 11, 2005 11:10 AM in response to: CarterEnergy
Click to view dominic7's profile Virtuoso 2,134 posts since
Jan 11, 2005
CarterEnergy: Yes, it will work to create .flp images as well.

Re: Copying ISO image from CD to ESX server

6. May 11, 2005 7:31 PM in response to: dominic7
Click to view grasshopper's profile Master 1,459 posts since
Jul 1, 2004
since I don't like to get up from my desk if I don't have to, I like to use WinImage to cook floppies or iso's. I must say, MagicISO is pretty slick too.

Re: Copying ISO image from CD to ESX server

7. May 12, 2005 11:07 AM in response to: JohnnyB
Click to view ccostan's profile Novice 35 posts since
Nov 3, 2004
cat /dev/cdrom > mandrake.iso will create the ISO as well.

CARLO

Re: Copying ISO image from CD to ESX server

8. May 12, 2005 11:18 AM in response to: ccostan
Click to view yorkie's profile Expert 490 posts since
Dec 11, 2004
Better still, put your ISOs on a shared volume on the network and mount that from ESX rather than putting ISOs on the ESX hosts. ISOs on an ESX host works when you have one or two hosts, but any more than that and you're busted.

For example, if you have a NAS server or just another Windows box with a share on it, assuming it's called "filer" and has a share on it called "iso" and assuming your ESX server is DNS aware (if it aint, use the IP for "filer" instead of the name):

[code]
ESX1# mkdir /filer
ESX1# mount -t smbfs //filer/iso /filer
[/code]

Check out the man pages for smbmount, as you can enter the uername/password on the command line.

Even better, use an NFS server rather than SMBFS/CIFS...

Cheers
Steve

Re: Copying ISO image from CD to ESX server

9. May 24, 2005 6:24 AM in response to: yorkie
Click to view osde.info's profile Expert 829 posts since
Jan 25, 2005
on W2K we use

http://uranus.it.swin.edu.au/~jn/linux/rawwrite.htm to create floppy images
and
http://www.isobuster.com/ to create CD iso images

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities