1

When we manually deploy dual-boot Apple devices, this sequence of steps works well:

  1. Install OS X image over the network
  2. Use Boot Camp to prepare the disk for Windows
  3. Use a Windows XP installation disc to install vanilla Windows
  4. Stop the installation where the setup wizard begins
  5. Format the Windows partition and install our WIM image with ImageX

Why are steps 3 and 4 necessary? Why can't we just install our WIM? In fact, it would seem easier just to use Disk Utility to create a second partition and install Windows there. In this case, there wind up being three partitions, including a 200MB partition at the front of the disk.

Update: Just reproduced this again. Here are the steps so far. If anyone wants to chime in on why this behaves this way, I'd love to hear your theories.

  1. Installed OS X image
  2. Ran Boot Camp Assistant
  3. Selected "Quit and Install Later" rather than inserting a Windows disc
  4. Rebooted into WinPE
  5. Applied my WIM
  6. Rebooted to BootPicker screen
  7. Selected the Windows installation
  8. Machine reboots (to disk0s3 per BootPicker) to a black screen with blinking cursor.

Booting with the Option key held does not list a Windows volume.

In Diskpart, the volumes are all listed and the appropriate files are on C:. I checked boot.ini and ensured that it was configured correctly and set the partition as active.

Doug Chase
  • 753
  • 3
  • 12
  • 22

5 Answers5

6

The XP install disk puts the needed magic spice in the MBR on the disk. Until this is done the windows bootloader never runs.

eriko
  • 140
  • 2
4

Winclone from TwoCanoes software is what we use for deploying XP images, and it works flawlessly with no Boot Camp required.

user6622
  • 186
  • 1
  • 1
  • I'll give this a shot now (but I'm still curious about how this stuff works). – Doug Chase Jun 03 '09 at 14:54
  • The Casper Imaging Beta documentation ( http://jamfsoftware.com/products/imagingSuite.php ) briefly mentions that Casper can deploy a dual-boot Mac, using a Winclone disk image; it must therefore be possible, and it would seem that Winclone would do it. – Clinton Blackmore Jun 23 '09 at 20:10
2

Just ran into this today while experimenting with dual-booting using our WDS server. Had to pop in an original XP media, run the recovery console and run the fixmbr command. That worked, now if I can figure out how to bring the fixmbr command over to my PE environment...

  • I've looked into that too, but couldn't figure out how to do it. If you find out let us know! – Doug Chase Jun 23 '09 at 18:50
  • This seems to work, http://www.sysint.no/nedlasting/mbrfix.htm, someone's self-made MBR program. Used that program's fixmbr /vista and fixbootsector dos6 options worked for me, should be easy enough to script in PE –  Jun 24 '09 at 19:58
2

I have now been using DeployStudio to apply both sides of these machines with great success for a couple months. Really great product and I can't recommend it enough for those of you deploying dual-boot Macs!

Doug Chase
  • 753
  • 3
  • 12
  • 22
1

Are the third and fourth steps really necessary? I'm familiar with neither ImageX nor WIM, but assuming it's a bootable disk, you can just use Boot Camp to create the Windows partition, and then boot from ImageX instead of the Windows disk.

When you reboot after creating the partition in Boot Camp, the partition is empty. It seems silly to begin installing Windows, only to format the partition later.

Zr40
  • 156
  • 3
  • Nah, that doesn't work for some reason! Hence this question. – Doug Chase May 29 '09 at 18:22
  • Can you use WIM/ImageX on non-Apple computers without having to resort to the XP installation medium? – Zr40 May 29 '09 at 18:35
  • Yep, if we wipe out, say, a Dell box with diskpart/clean and apply the WIM, it works fine. – Doug Chase May 29 '09 at 19:18
  • Since diskpart /clean erases the MBR, having it work means it does install the boot loader. Strange that it doesn't work if you apply the WIM after going through Boot Camp. But note that creating the partition with Boot Camp is different than creating the partition with Disk Utility. Macs use a GPT partitioning scheme, which AFAIK isn't compatible with Windows. Boot Camp creates a mirrored partition scheme in the MBR format, so it works with Windows. Are you sure you went through Boot Camp before applying the WIM, rather than creating a partition in Disk Utility? – Zr40 May 29 '09 at 19:33
  • Yep... but I should try it again. I'm going to try to recreate it on my bench and see if I can interrogate it more thoroughly. – Doug Chase May 29 '09 at 20:12