![]() ![]() 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 &> /Volumes/Images/MacImages/%NAME%.log Then.Ĭreate Mac Image script (via Automation): mkdir /Volumes/Images Messy, but it works.Ĭonfigure a Mac with bootcamp, etc, just the way you want it. A lot of the renaming nonsense is partly due having the option " synchronize display names with computer names" checked, which means it is easy to lose the correct computer names unless you are using the native imaging methods (with the configuration event) but since we can't use any of that we end up needing to store the computername in nvram and a physical file on the computer. This assumes all the prerequisite NetBoot server and Automation Image is all set up and working. Here is what we've come up with so far for trying to create and deploy Mac images using Altiris.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |