![]() ![]() ![]() Save computername into nvram (production osx): nvram computername=%NAME% In fact you can restore the Windows image without interrupting a user that happens to be on the computer! (not recommending you do that!) Reimaging an existing computer You can deploy these in a flexible fashion- for instance, you can deploy JUST the Windows partition to existing Macintosh computers without harming the Macintosh partition. I prefer Production whenever possible.Īt this point you have two distinct images, one for Mac and one for Windows. This script can run from Production just as well as from Automation. It looks very long because I had to put full paths to all the network locations of the tools. There is a perl script you can use as I did above to first shrink the device (first instance above), and then create the image (second instance above). usr/bin/perl -w /Volumes/Images/bootcamp/Winclone.app/Contents/Resources/winclone.perl -create -image_format special -disk_device /dev/disk0 -ntfs_partition /dev/disk0s3 -v -remove_pagefile -image_dir=/Volumes/Images/MacImages/%NAME%.winclone /Volumes/Images/bootcamp/Winclone.app/Contents/Resources/winclone.perl -gptrefresh_path=/Volumes/Images/bootcamp/Winclone.app/Contents/Resources -ntfstools_dir=/Volumes/Images/bootcamp/NTFSProgsĭownload winclone and ntfsprogs and make it available on your server. usr/bin/perl -w /Volumes/Images/bootcamp/Winclone.app/Contents/Resources/winclone.perl -create -image_format special -disk_device /dev/disk0 -shrink_device /dev/disk0s3 -ntfs_partition /dev/disk0s3 -v -remove_pagefile -image_dir=/Volumes/Images/MacImages/%NAME%.winclone /Volumes/Images/bootcamp/Winclone.app/Contents/Resources/winclone.perl -gptrefresh_path=/Volumes/Images/bootcamp/Winclone.app/Contents/Resources -ntfstools_dir=/Volumes/Images/bootcamp/NTFSProgs Mkdir /Volumes/Images/MacImages/%NAME%.winclone You'll need to create the unattend.xml file and copy it to the computer.Ĭreate Windows Image (via Production osx): mkdir /Volumes/Images Sysprep Windows (via Production Windows 7): c:\windows\system32\sysprep\sysprep.exe /quiet /generalize /oobe /unattend:C:\unattend.xml This creates a dmg of just the Mac Partition, pretty simple. ![]() Hdiutil create -skipunreadable -puppetstrings -verbose -srcfolder /Volumes/Macintosh /Volumes/Images/MacImages/%NAME%.dmg
0 Comments
Leave a Reply. |