Creating an ISO in ESX from a mounted CD/DVD

Posted by : on

Category : esx   vmware


I can’t remember where I found this article. But it too is being repeated so that I have a permanent copy of it.

Article: Creating an ISO in ESX from a mounted CD/DVD

I am using VMware ESX Server 3.5.0 to host a number of test machines, and I needed to mount the SharePoint Server 2007 CD-ROM so that I could install it. I used PuTTY to connect to the ESX server and mounted the CD at the command line as follows…

sudo mkdir /media/cdrom [enter] sudo mount /dev/cdrom /media/cdrom [enter]

That seemed like a good idea at the time, but now I either have to leave the CD in the drive, or run the physical media into the datacenter every time I need it going forward. Having plenty of disk space, I wanted to create an ISO file and save it to the server. While I could create an ISO on my client PC and load it up to the server, I already had the media mounted on the ESX server and figured there must be a way to do this.

There is.

Assuming the disc is mounted to /dev/cdrom, and that there is a directory called /vmwareiso and you want to name the ISO file image1.iso

sudo dd if=/dev/cdrom of=/vmwareiso/image1.iso [enter]

Viola! Just don’t forget to retrieve the disc or you will be looking for it a month from now and wondering who stole it!


About Sam Aaron
Sam Aaron

Father, Husband, Geek. Workaholic.

Email : mail@micronauts.us

Website : http://micronauts.us

About Sam Aaron

Father. Husband. Geek. Workaholic. US Marine Corps Veteran.

Sam Aaron is a Senior Consultant in the Professional Services Organization for Entelligence, bringing over a decade of expertise in enterprise cloud automation and infrastructure. Sam has spent almost eleven years at VMware leading cloud automation initiatives using VCF Automation (formerly Aria Automation & vRA) and designing scalable, multi-tenant environments with VMware Cloud Director (vCD).

Sam holds multiple certifications including VCF-Architect 2024, VCIX-CMA, and dual VCPs (DCV & CMA), and is a recognized contributor to VMware’s certification exams. As a VMware Hands-On Lab (HOL) Captain and content author from 2015-2025, Sam played a key role in educating and mentoring the global VMware community. He helped to create and develop the automation challenge and troubleshooting labs for VMworld and global virtual forums.

When Sam is not working, he has several hobbies, among these are 3D printing Star Wars robots and turning them into animatronics.

Launched in April 2010, micronauts is Sam's online presence. Here, he has been blogging and sharing knowledge with the virtualization community. This blog acts as a central repository to retain the resolutions and other trivial knowledge that Sam has discovered.

** No information provided here was reviewed or endorsed by VMware by Broadcom, Microsoft, or anyone else for that matter. All information here are opinions based on Sam's personal experience. Use this knowledge at your own risk. **

Star
Useful Links