Saturday, March 12, 2011

How to Convert a dmg over to an iso

This morning i downloaded the RedHat Enterprise linux 6 the 64 bit version, However when i downloaded it i noticed that i was in a .dmg file format which is a file type that runs only on MAC OSX (for those that dont know that is like .exe for windows). After playing around with the command line for like an hour i finally figured out how to convert a .dmg file over to iso from the command line in MAC OSX (snow leopard) but im sure this will work in other versions of MAC OSX. Anyway here are the steps that were taken in order to convert a .dmg over to an .iso file.

1. hdiutil convert /path-to-the-.dmg file/ -format UDTO -o /path-to-whatever you are going to name the .iso file

Example: hdiutil convert /Users/csh11/os_systems/redhat/RHEL_6.0x86_64.dmg -format UDTO -o /Users/csh11/redhat6.iso


2. Once the command has finished running you will see the following file redhat6.iso.cdr now all this means is that the file has been converted over to an dvd image all that needs to be done is rename the file from redhat6.iso.cdr to redhat6.iso


3. All done enjoy your new iso file.

No comments:

Post a Comment

Cracking Kerberos Service Tickets (TGS) Using Kerberoasting

As of late I've been spending a lot of time researching and learning different techniques when it comes to attacking Active Directory En...