Tag Archives: Bootcamp

BootCamp – Imaging windows with winclone

Using a lab windows image on a dual boot mac —

  • Prepare a base windows image in Dell hardware and sysprep
  • Take an image with KACE/Ghost but don’t allow drive to boot after
    • With ghost you need to uncheck “Reboot” in the Misc Options before starting to take image
  • Physically remove hard drive from dell hardware and put it in a Mac Pro Tower but don’t let it boot yet
  • Use an external disk that has winclone loded on it to boot the mac
  • Take a winclone image
    • Before taking winclone image, set perferences to use the “special” format that is not mountable but is smaller and restores faster.

This image should then be restorable to any bootcamp windows partition using the external mac boot disk and winclone as above. After restore you’ll need to boot to the windows volume, letting sysprep complete and then run the bootcamp drivers disk for that mac model.

Add any additional software/settings, re-sysprep, and then take an image of the windows volume with DeployStudio.

Mac – Unmounting Windows (or any other) volume at startup

To umount a Macintosh volume at start-up (for example the windows bootcamp volume) you can create a startup item …

In:

/Library/StartupItems

Create a directory “Unmount”  in that directory you want to put 2 files:

Unmount

and

StartupParameters.plist

 

Unmount file is a shell script with the following contents:

#!/bin/sh
. /etc/rc.common
if [ “$1” == “start” ]
then
/usr/sbin/diskutil unmount /dev/diskXXX
fi

The /dev/diskXXX in this file you need to change.  My unmount command is actually …

/usr/sbin/diskutil unmount /dev/disk0s3

To find the correct information for your system run the command:

“diskutil  info /Volumes/Windows/”     —- or whatever the volume name is …

in the output you need to look for the “Device Node” .  Whatever it says for that Device Node is what you should put in the Unmount command in the shell script above.

 

StartupParameters.plist is a plist file that contains:

<?xml version=”1.0″ encoding=”UTF-8″?>
<!DOCTYPE plist PUBLIC “-//Apple Computer//DTD PLIST 1.0//EN”
“http://www.apple.com/DTDs/PropertyList-1.0.dtd”>
<plist version=”1.0″>
<dict>
<key>Description</key>
<string>Try to unmount the old disk</string>
<key>Provides</key>
<array>
<string>Unmount</string>
</array>
</dict>
</plist>

 

 

After creating the files, chmod them so that they are:

-rw-r–r–     StartupParameters.plist
-rwxr-xr-x   Unmount

Also, I set the owner and group to “root” and “wheel” respectively to match the other items in the /Library/StartupItems directory … (“chown -R root /Library/StartupItems/Unmount/” and “chgrp -R wheel /Library/StartupItems/Unmount/”)

 

For additional details see:

http://hints.macworld.com/article.php?story=2005052804075538

 

Bootcamp – Stop Bootcamp Help window popup

On a windows install using bootcamp on the Mac, users will see an annoying bootcamp help dialog box which isn’t really helpful at all to them. Lab users have no permissions to do anything with bootcamp so showing them this window is pointless.

From an admin login use:
msconfig (enter in the start search box)
to edit the start items and uncheck bootcamp …

Mac – DeployStudio and windows volume

When creating a workflow for taking a DeployStudio image of a windows NTFS volume — it is important to uncheck the box for use “mac tools for multicast” which then allows you to check the box for “try to shrink the NTFS volume before taking image”. If you do not shrink the volume the imaging process will fail with an error about not being able to change the partition size.

Watch for this setting since it can revert back to the default “multicast” setting, which does not work, when you upgrade the DeployStudio software

For more details see:
http://deploystudio.wikispaces.com/Creating+a+NTFS+Master+Image+on+Bootcamp+2.x

Bootcamp – Hiding Mac volume from Windows

Reports are that since Bootcamp version 3 or so you can now read and write to the macintosh partition from your windows environment. This is less than ideal in a shared computer lab.

Renaming the file:
c:\windows\system32\drivers\applemnt.sys
and then restarting should disable the mount of the macintosh partition in windows …

For more discussion and details see:
https://discussions.apple.com/message/11226479?messageID=11226479#11226479?messageID=11226479