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

  • Salesforce To Acquire Informatica in $8 Billion Deal

    Salesforce announced on Tuesday it plans to acquire data management firm Informatica for $8 billion.

  • An image of planes flying around a globe

    2025 Microsoft Conference Calendar: For Partners, IT Pros and Developers

    Here's your guide to all the IT training sessions, partner meet-ups and annual Microsoft conferences you won't want to miss.

  • Microsoft Gives Orgs More Power to 'Tune' AI Agents

    At its Build 2025 conference this week, Microsoft unveiled significant advancements aimed at empowering enterprises to create more sophisticated AI agents.

  • Build 2025: Microsoft Charts Wider Path for AI Agents

    At Build 2025, Microsoft unveiled its strategic vision for the future of AI agents, emphasizing the development of autonomous systems capable of performing complex tasks across various applications.