Tips

DDon’t You Love ISOs?

(No, that's not a typo....)

I do, especially when they’re used with virtualization. Though one problem I’ve had with ISO files -- those that need to be bootable -- is finding an ISO creation application that consistently creates one that works.

Tools like WinISO and Nero can create ISO files out of existing CD and DVD media. But I’ve had issues with consistently getting their ISOs to boot inside my virtual machines. One tool that consistently works, though, is the Unix command, “dd.”

The dd command has been around in Unix since 1975, and was originally used for low-level copying and conversion of files as well as reading and writing to block-based media like tape drives. For our purposes, we can use it to do a block-level transfer from a mounted CD-ROM into an ISO file.

Most Linux distributions include dd as part of the native command set. So, use of this tool will require a Unix or Linux server in your environment. If you’re using VMware ESX, its Linux-based operating system already includes the tool.

To use dd, do the following:

Put the CD in the drive.

Enter less /etc/fstab and check the results for the path to your CD-ROM drive. Depending on the configuration of your server, that path may resemble “/dev/cdroms/cdrom0”.

Type mount /dev/cdroms2/cdrom0 /mnt/cdrom to mount the drive. You’ll need to do this if you’ve not configured the server to automount the CD-ROM device as its inserted.

Enter dd if=/dev/cdrom of={Name of ISO} to create the ISO file.

Using dd, the process of ripping even DVDs to ISOs is remarkably quick, taking only a few minutes to complete. The extra bonus of using this command directly on your ESX server is that you can save the extra step of having to copy the resulting file to its target location.

About the Author

Greg Shields is Author Evangelist with PluralSight, and is a globally-recognized expert on systems management, virtualization, and cloud technologies. A multiple-year recipient of the Microsoft MVP, VMware vExpert, and Citrix CTP awards, Greg is a contributing editor for Redmond Magazine and Virtualization Review Magazine, and is a frequent speaker at IT conferences worldwide. Reach him on Twitter at @concentratedgreg.

Featured

  • Microsoft Appoints Althoff as New CEO for Commercial Business

    Microsoft CEO and chairman Satya Nadella on Wednesday announced the promotion of Judson Althoff to CEO of the company's commercial business, presenting the move as a response to the dramatic industrywide shifts caused by AI.

  • Broadcom Revamps VMware Partner Program Again

    Broadcom recently announced a significant update regarding its VMware Cloud Service Provider (VCSP) program, coinciding with the release of VMware Cloud Foundation (VCF) 9.0, a key component in Broadcom’s private cloud strategy.

  • Closeup of the new Copilot keyboard key

    Microsoft Updates Copilot To Add Context-Sensitive Agents to Teams, SharePoint

    Microsoft has rolled out a new public preview for collaborative "always on" agents in Microsoft 365 Copilot, bringing enhanced, context-aware tools into Teams channels, meetings, SharePoint sites, Planner workstreams and Viva Engage communities.

  • Windows 365 Cloud Apps Now Available for Public Preview

    Microsoft announced this week that Windows 365 Cloud Apps are now available for public preview. This aims to allow IT administrators to stream individual Windows applications from the cloud, removing the need to assign Cloud PCs to every user.