admin punk and python junk ...

HowTo create a multiversion Windows 7 ISO-Image on Mac

  1. Use Homebrew to install mkisofs:

    $ brew install cdrtools
    
  2. Create a new directory:

    $ mkdir win7 && cd win7
    
  3. Download the Windows 7 DE SP1 ISO-Image:

    $ wget http://msft.digitalrivercontent.net/win/X17-24289.iso (x64)
    $ wget http://msft.digitalrivercontent.net/win/X17-24288.iso (x86)
    
  4. Mount the ISO-Image and copy it’s content to disk:

    $ hdiutil mount X17-24289.iso
    /dev/disk4  /Volumes/GRMCPRXFRER_DE_DVD
    $ mkdir copy
    $ cp -a /Volumes/GRMCPRXFRER_DE_DVD/* copy/
    $ cd copy/
    
  5. Delete the ei.cfg file:

    $ rm -f sources/ei.cfg
    
  6. And make a new and bootable ISO-Image:

    $ mkisofs -o ../win7.iso -b boot/etfsboot.com -no-emul-boot \
      -c BOOT.CAT -iso-level 2 -udf -J -l -D -N -joliet-long \
      -relaxed-filenames .
    $ cd ..
    
  7. Now burn it to a DVD with:

    $ hdiutil burn win7.iso
    

Comments