Slashdot Mirror


Best Way to Image and Deploy Dual-Boot Macintosh?

macpulse asks: "What is the best way to image and deploy dual-boot Intel Macintosh desktops in an Educational environment? Our organization is getting ready to purchase dozens of new Intel Macs for each campus and we're not sure how to proceed. With Windows XP and Dell, we've simply used Symantec's Enterprise Ghost to deploy our images. Playing with the test Intel Macs we have, we are unable to get Ghost to work with the Mac. I've also played with Bombich's NetRestore product (which is FOSS!) but without much success. I'm curious how my fellow readers have resolved this issue. Thanks!"

9 of 124 comments (clear)

  1. What are you having trouble with? by delirium+of+disorder · · Score: 4, Informative

    As long as all your hardware is the same, deploying a uniform image should be possible using simple tools that have been a part of any *nix system for decades. I don't see why you would need to purchase "enterprise" anything. First install the OSes you want on one the Macs (OSX and Linux, Solaris and OpenBSD, whatever). Configure everything as you want it to be on the image. Then boot that Mac using some medium other than the disk you just did the install to (cd boot, network boot (I imagine x86 macs can use PXE just like most intel systems)). Mount a network drive and use dd to make an image of the disk you did the install on. Then write a script for doing the re-imaging. All it would need to do would be to mount that network drive and dd the image from there to the disk. You could do checksums to make sure the transfer worked if you want to get fancy. Store this script on the pxe server or boot cd, or whatever you choose to use to boot the Macs that are getting imaged. You can even set it to autorun so all anyone doing the re-imaging has to do is put in the boot cd and reboot, or connect the Mac to be re-imaged to the same LAN as the networked server and reboot. This seams like pretty much what you would do when setting up imaging for PCs, Sun workstations, whatever. Is there something in particular about Macs that make them more difficult to work with? (I'm not a Mac user)

    --
    ------ Take away the right to say fuck and you take away the right to say fuck the government.
    1. Re:What are you having trouble with? by Dwedit · · Score: 3, Informative

      DD can copy all partitions if you specify the hard disk itself (like /dev/hda) instead of a partition (like /dev/hda1).
      You might have problems if the hard disks aren't the same size. If the destination hard disk is bigger than the source, you get some unpartitioned space at the end. Don't try it if the destination hard disk is smaller than the source.

  2. DD by Bios_Hakr · · Score: 4, Informative

    At my office, we have a master image of our desktop configuration. The image sits in a Debian box next to my desk.

    When we get a new PC, we remove the drive and drop it into an external USB/IDE/SATA enclosure and connect ti to the Debian box. We DD the image onto the drive. It usually takes less than an hour per drive.

    We can also image a drive across the LAN, but it's slower and we have to be present at the user's computer to boot off a KNOPPIX disc.

    We have played with the idea of creating a DVD that has a cut-down debian distro and the image file. Then we can just drop in the restore disc and reboot. Come back an hour later and we're done.

    You could also drop the image on the portable drive and use a boot CD to image PCs without opening them.

    --
    I'd rather you do it wrong, than for me to have to do it at all.
  3. three words by TRRosen · · Score: 3, Informative

    Taget Disk Mode .... much faster than network imaging and much easier then pulling hard drives.

    By the way you can use Apple restore program ASR to create a disk that will automatically wipe and restore the machine its booted on.

    PS unless you have something that would require dual booting (ie 3D PC apps) it would be much easier and more secure to use a virtual machine to run windows. (parallels or VMware Fusion).

    PPS if your installing numbers of Macs in an educational setting you really have to look at Apple Remote Desktop its a one stop shop for all your Mac administration needs.

  4. Apple System Restore, Mac OS X Server, and NetBoot by Chris+Hanson · · Score: 4, Informative

    Mac OS X includes a feature called Apple System Restore. You can access it through Disk Utility and use it to create an image of a partition or a whole disk, and replicate that image to another partition or whole disk - even over a network. There's also a command-line version in /usr/sbin/asr. I think Mac OS X Server will even let you NetBoot a system on your network and have it automatically restore its local disk from an ASR image.

    I have not done this, but I assume you'd be able to set up a system exactly as you want it to be set up - with both Mac OS X and Windows partitions - and create an ASR image from that, which you can then restore and use at will.

  5. Don't Partition by ktappe · · Score: 4, Informative
    We had pondered this same question when we first got our Intel-based Macs. Then we tried Parallels and never looked back. It solves several problems:
    • No need to partition, an action which (to our knowledge) cannot be automated over netboot.
    • Both OSes can be included in a single, NetRestore-able disk image.
    • No need for end users to reboot to change OSes.
    So I strongly suggest you re-examine your decision to use BootCamp, and instead examine Parallels. By switching to Parallels you can use well-established tools such as NetRestore, RadMind, and other off-the-shelf solutions.

    I also must disagree with one of the other responders who recommended Target disk mode. While this is good for a few computers (and is a great tool for making your source .dmg you'll deploy using the above tools), it does not work well for reimaging hundreds of Macs that are widely distributed across a campus. It requires that each technician be equipped with a firewire drive, which tend to grow legs. Also, more and more security-conscious companies (and colleges) are locking down computers so that neither USB nor Firewire drives can be used and/or forbidding the use of such devices. And then you'll have the problem of keeping each Firewire drive up to date with exactly the same image instead of just updating a single, master .dmg on the server as you can when using NetRestore.

    True, it can be tricky to get NetBoot to work across subnets, but we got around that by putting multiple NICs in our NetBoot XServe, one for each subnet. (Yes, we tried Bombich's boot-across-subnets solution but could not get it to work, probably because of how our routers are configured.)

    --
    "We can categorically state we have not released man-eating badgers into the area." - UK military spokesman, July 2007
  6. From experience: DON'T by tbo · · Score: 3, Insightful

    I know from experience that supporting dual-boot is a huge pain. We have a bunch of dual-boot Win XP / Linux machines (with an Xserve running OS X Server providing file and authentication services). Supporting a dual-boot machine is harder than supporting two single-boot machines. Why? Because each machine will typically spend almost all its time in only one OS. This means that automatic software updates, virus def updates , daily/weekly/monthly cron jobs, etc., won't happen on the other OS, and you'll have huge maintenance nightmares.

    Figure out what OS each machine needs to run, and install that one only. Another poster suggested Parallels, which is a great way to handle things if you only occasionally need a non-OS X OS.

  7. Don't be quick to comment unless you've used macs by pete345 · · Score: 3, Informative

    The only way to do this is to copy the entire drive, bit for bit. If you clone each partition, you lose out on the wacky Apple GPT/MBR stuff, which means your copy of Windows will die. The guide on NetRestore seems adequate but highlights the complexity. It should be possible to copy a drive image for osx, windows, and then update the GPT and MBR manually to match it, though.

  8. CCCloner & Winclone by jeffasselin · · Score: 3, Informative

    I've done a certain number of these and tried a few solutions, in the end we used Carbon Copy Cloner (http://www.bombich.com) and Winclone (http://www.twocanoes.com/winclone/), although you could use ASR with an OS X Server for the Mac part, Winclone is definitely the best solution to image Bootcamp, works very well. You use the diskutil command-line version to partition your drive, then restore the Mac portion using CCC or ASR, then Winclone. It works with FAT or NTFS.

    --
    If he explores all forms and substances Straight homeward to their symbol-essences; He shall not die.