Bootcamp os x/win 7
Answers (7)
However, I feel I am extremely close. Here is what I did:
Built a full image with OS X & Bootcamp Windows 7
Captured both the OS X partition and Bootcamp partition
Boot to Kbox OS X boot environment. Have a preinstall task set to partition the drive into two parts... HFS and FAT32, with the FAT32 set to 80 GB and the HFS set for the remainder of the drive. HFS is in partition 02 and FAT32 is in 03 (with the EFI being in the first portion).
Load up the OS X image, then reboot into Windows Kbox environment from a boot CD
Preinstall task under Windows is set to use the convert command to convert the FAT32 drive to an NTFS partition, and then it deploys the Windows partition.
The Mac sees the Windows partition under Startup Disks, however if I hold option on boot it does not show up on the boot menu, and if I try to boot to Windows I get a Disk not Found black screen error.
I have a feeling it's some kind of MBR issue... I feel I am so close to solving this with that minor issue. Any assistance would be welcome as I really need to get a solution for deploying this dual boot image for our organization ASAP.
I haven't tested this, but I wonder if it would work. Reading the original reply here gave me the idea, so I certainly can't take all the credit if this works. When I have a bit of time here I'm going to test this and see what happens.
- Setup the source Mac with both operating systems
- Capture the OSX partition by itself in it's own image
- Boot the Mac into a Windows KBE via a CD
- Capture the Windows partition
- On the destination computer, deploy OSX on a single partition
- Once the image is complete, run the Boot Camp setup. I think this is required to get the MBR setup properly on the drive so it can recognize the bootable Windows partition. Let the utility partition the drive, but don't install Windows.
- When the Mac shuts down, boot it to the Windows KBE again from the CD
- Deploy the captured Mac Win 7 image to the newly created NTFS partition.
I got it to work! I was able to use my existing PC Windows 7 Pro 64 bit images on the Bootcamp partition of an Apple MacBook Pro. Here is what you will need:
- An Apple computer
- Windows operating system disc (for me, I used Windows 7 Pro 64 bit. I would assume Windows 8 would work as well, but I have not tried)
- A boot CD or bootable USB drive of your Windows 64 KBE
- A captured Windows image. I use WIM images but I believe K Images should work too.
- A Postinstallation Mid-Level task to run a DiskPart script (detailed below)
LIST DISK SELECT DISK 0 SELECT PARTITION 3 ACTIVE EXIT
On my computer the last partition was number 3, but you may want to check your systems to make sure. Now, create a new Postinstallation task of the type "Application". Upload the script.txt file, and put the following in the Command Line box:
diskpart.exe /s script.txt
Make sure in the Postinstallation Task Detail window you choose "K2000 Boot Environment (Windows)" as the Runtime Environment.
Now, just add this new task to the image. I made it the last thing that runs.
It's time to deploy! Here are the basic steps I took:
- Setup the source Apple computer as a single boot Mac OSX machine
- Once everything in the OSX system is set as you like, capture the image by netbooting the Mac into the Mac KBE.
- You can now deploy the Mac image to another Apple computer, or continue using the source computer.
- Boot the Apple computer into the Mac OSX (not the KBE, just off of the hard drive)
- Run the Bootcamp Utility and partition the drive however you like. I used 50-50. Make sure you have a Windows operating system disc in the drive.
- After the drive is partitioned, the computer will automatically reboot. While it is booting back up hold down the Option key on the keyboard to bring up the boot menu.
- Eject the Windows Operating system disc and insert your boot CD or bootable USB drive of your Windows 64 KBE. Boot the system off of the CD or the bootable USB drive.
- Once the KBE has booted, deploy your Windows image as you normally would on a PC. It will format the drive as NTFS, deploy the image, and then run the DiskPart utility to make the Windows partition active.
- Reboot the computer. It should boot into Windows.
Comments:
-
Hi!
When I booted from the KBE USB i created it imaged/.reformated the HD into 1 NTFS partition. It did not give me an option to select the bootcamp partition. What step am I missing? - Chadg001 11 years ago-
Make sure you do not have a preinstallation task that partitions the drive. On most of my Windows images one of the first preinstallation tasks I have is "Create Single Partition". If you are deploying to a Mac computer you want to make sure you do NOT have that task set, otherwise it will wipe out the Mac partition. - MisterVertigo 11 years ago
-
Ok that was it. Now I did it again and it looks like it pushed e image but when I try and boot to it it says Bootmgr missing Press CTRL+ALT+Delete. I am thinking I did the Disk Part Post installation task wrong. I created an Application Post Installation task. I put it in the mid level task area. The only other reason I can think it failed is the original image had aC and D partition.
Chad - Chadg001 11 years ago-
Yeah, if your Windows image had two partitions then you may need to set up your diskpart postinstall task differently. My example is for a single partition Windows install.
You may want to boot the computer to the KBE and go to the command prompt and use diskpart to see how the partitions are laid out. It could be that since you have more than one windows partition your partition number for the script may be different than mine. On my systems I use "SELECT PARTITION 3" but yours may be different. - MisterVertigo 11 years ago
-
Edited this post as I made a mistake in the previous one. Sorry!
I've been using this again lately and I came across a couple of other issues that others may have encountered. I believe I have found a way to make it work so I wanted to share with everyone.
On my older intel Macs I followed the above steps and put the Windows image on the BOOTCAMP partition. However, when I tried to boot I got a blinking cursor in the corner and the BOOTCAMP partition did not appear as a bootable option when I'd hold down the Option key at boot time. Here is how I fixed it:
1. I made a copy of the "Install Vista/2008/7/8/2012 MBR" Preinstallation Task.
2. Edit the new Preinstallation task with the following:
bootsect.exe /NT60 c: /mbr
3. I set my Windows image to have this the last Preinstallation Task.
This should fix it so the Windows partition is bootable. I hope that helps! - MisterVertigo 11 years ago
so that the conversation will remain readable.