Yosemite Upgrade with Bootcamp

I am starting this thread in an effort to help others with upgrading Yosemite OS with a bootcamp Windows partition. Here's what has been said so far.


My experience of the upgrade process not being as straight foreword as it should be was going from Mountain Lion to Mavericks. I ended up doing the "Nuke and Pave" option. I really don't want to go that direction again. Windows installs can be rather challanging. Especially when you reach the "limit" of times that you are allowed to install after a disk crash etc. I think I saw a post from you stating that Apple may eventually fix the destruction of bootcamp after upgrading to Yosemite in a later update. But I would like to have all of my apple computers on the same version of OS without having to "Nuke and Pave"? How do I keep my windows install in bootcamp? I found a very knowledgable person on another thread helping people after the fact. Here is what he suggested.

This is what I would recommend.


1. Check if you are using a traditional Bootcamp windows using sudo fdisk /dev/diskN (where N is your Bootcamp disk). If you see more than one entry (usually four entries), then you are using a Hybrid MBR, if you see a single entry, then it is an EFI installation and is on a pure GPT disk. Your GPT should have at least 4, most likely 5 entries (EFI/ESP, OSX, Recovery HD, MSR, MSD) for an EFI installation. An EFI installation is supported on UEFI models, which are typical late 2013+ Macs.

2. Download Winclone 4.4 from https://twocanoes.zendesk.com/hc/en-us/articles/202758785 . It is probably the best USD29.99 you will spend on a non-Apple product, if you are a Windows user on a Mac.

3. Create a Winclone image of every Bootcamp/Windows installation that you want to run on Yosemite, on a non-Yosemite machine. Make a second copy on an external disk for safekeeping. Winclone supports Finder drag-and-drop to make such copies. Shrink all such images.

4. Use Bootcamp Assistant on the pre-Yosemite machine and remove Bootcamp/Windows.

5. Upgrade to Yosemite.

6. Create a FAT32 partition on Yosemite machine which is about 4-8GB larger than the size of the original Bootcamp/Windows. This is done via Disk Utility (not Bootcamp Assistant). BA does extra work with a Hybrid MBR which conflicts with a Winclone restore.

7. Restore Bootcamp/Windows from step #3 to the now Yosemite machine. Test.

8. Create a thread on the forum, if you run into any issues.

9. I have not seen any reports of Yosemite+EFI Windows running into any issues. All have been Hybrid MBR installations, so far.


My response.


OK, so I am new to the apple hardware community. I am trying to upgrade a 2012 MBP. I have one large partitioned hard drive with OS X on one partition and Bootcamp on another. I assume that N=0 because I only have one hard drive. It had four entries. That means I am using a hybrid MBR (Master Boot Record). Winclone cautions to check the disk for errors before creating an image. Disk Utility reports that the EFI installation is error free. This is confusing based on what you said about an EFI installation. I have four entries but and EFI installation? Winclone also suggests to run SysPrep prior to creating the image. Is that in the bootcamp assistant utility? Do I need to perform that step? One of the steps is to create a FAT32 partition. The current Windows partition is NTFS. Is that going to be a problem?

So, that I don't hijack the other thread I am starting a new pre-upgrade discussion to help prevent others from falling into the upgrade trap. Thanks for the help.

Posted on Oct 19, 2014 6:41 PM

Reply
10 replies

Oct 19, 2014 10:04 PM in response to Motleymongoose

I just successfully installed Windows 8.1 Update 1 on BootCamp on Mac OS X Yosemite. Here is a step by step I just wrote, hope it helps y'all:


How to successfully install Windows 8, or above, on Mac OS X Mavericks or above:


Requirements:

1- Windows OS ISO Image file

2- An 8GBs USB Flash Drive

3- A good Internet connection as you will need to download the Windows compatible drivers for your Mac


Steps:

1- Open up Disk Utility and create an additional partition for Windows formatted as ExFat. 100GBs, or above, is recommended as update to the operating system, as well as Apps requiere space on your HD or SSD [This step can be done during Mac OS X's installation process]

2- Open up BootCamp Assistant

3- Make sure only the 'Create a Windows 7 or later version install disk' is checked and your USB Flash Drive plugged in and click 'Continue'

4- Click 'Choose' and select your Windows ISO Image file

5- Select the USB Flash Drive you will be using during the installation process and click continue to confirm

6- Once done, restart your Mac and hold down the 'alt/option' key on your keyboard to bring up the Boot Menu

7- Select the USB Flash Drive named Windows, not the UEFI Boot

8- Install Windows as you normally would

* Remember to press and hold the 'alt/option' key, and select the Windows Partition, whenever the installation process requires your Mac to restart

* http://msdn.microsoft.com/en-us/library/windows/apps/jj945423.aspx

* http://windows.microsoft.com/en-us/windows-8/install-windows-on-mac

Oct 20, 2014 12:58 AM in response to iPodtouch245

Intended for MotleyMongoose.


Thanks for starting this thread.

Motleymongoose wrote:



OK, so I am new to the apple hardware community. I am trying to upgrade a 2012 MBP. I have one large partitioned hard drive with OS X on one partition and Bootcamp on another. I assume that N=0 because I only have one hard drive. It had four entries. That means I am using a hybrid MBR (Master Boot Record).

Here is one of my 15" 2013 rMBP, with it's hybrid MBR.


sudo fdisk /dev/disk0

Password:

Disk: /dev/disk0 geometry: 121643/255/63 [1954210120 sectors]

Signature: 0xAA55

Starting Ending

#: id cyl hd sec - cyl hd sec [ start - size]

------------------------------------------------------------------------

1: EE 0 0 2 - 25 127 14 [ 1 - 409639] <Unknown ID>

2: AF 25 127 15 - 1023 54 16 [ 409640 - 1448624648] HFS+

3: AB 1023 54 17 - 1023 60 39 [1449034288 - 1269536] Darwin Boot

*4: 07 1023 87 51 - 1023 238 3 [1450305536 - 503904256] HPFS/QNX/AUX



All MACs switched from Apple Partition Map (APM) to GPT (GUID Partition Map) and EFI. Macs have had EFI 1.1 for quite some time.Think of UEFI as EFI1.1+

You are welcome to read some gory details http://www.intel.com/content/www/us/en/architecture-and-technology/unified-exten sible-firmware-interface/uefi-architecture-specification.html and http://www.intel.com/content/www/us/en/architecture-and-technology/unified-exten sible-firmware-interface/efi-specifications-general-technology.html


The first entry is where EFI/ESP is located (Rod Smith, the author of GPT Fdisk, also has a very concise page if you do not want to read my explanation - http://www.rodsbooks.com/bios2uefi/index.html). The second is the OSX file system HFS+, next is the Recovery partition, which enables local recovery if the primary OSX partition has issues. The last entry is Bootcamp/Windows. You can also look at the corresponding GPT as well.


sudo gpt -vv -r show /dev/disk0

Password:

gpt show: /dev/disk0: mediasize=1000555581440; sectorsize=512; blocks=1954210120

gpt show: /dev/disk0: Suspicious MBR at sector 0

gpt show: /dev/disk0: Pri GPT at sector 1

gpt show: /dev/disk0: Sec GPT at sector 1954210119

start size index contents

0 1 MBR

1 1 Pri GPT header

2 32 Pri GPT table

34 6

40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

409640 1448624648 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

1449034288 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

1450303824 1712

1450305536 503904256 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

1954209792 295

1954210087 32 Sec GPT table

1954210119 1 Sec GPT header



You can see a bit more detail in the GPT. GPT#1 is the EFI/ESP, the second is the OSX file system HFS+, next is the Recovery partition, which enables local recovery if the primary OSX partition has issues. The last entry is Bootcamp/Windows. You can see the "mapping" that exists between the GPT and the MBR. This "mapping" is called a Hybrid MBR. Traditional Bootcamp uses this Hybrid and a EFI compatibility layer called CSM-BIOS (emulates traditional BIOS on top of EFI). Late 2013+ Macs support UEFI fully as does W8+ (W8.1 is more reliable, than W8. W7 has some challenges in EFI). Since EFI is technically an interface between the OS and the platform HW, older Macs do not fully comply, even though I think Apple can retrofit any Mac that can run Mavericks/Yosemite to be UEFI compliant by releasing firmware updates.


What you see as EFI in regular OSX is the Mac EFI firmware. It is a FAT partition which can be mounted and looked at as follows (I do not recommend messing with this volume at all).


$ mkdir /Volumes/EFI

$ sudo mount -t msdos /dev/disk0s1 /Volumes/EFI

Password:

$ df -h

Filesystem Size Used Avail Capacity iused ifree %iused Mounted on

/dev/disk0s2 691Gi 427Gi 263Gi 62% 112017969 69060110 62% /

devfs 336Ki 336Ki 0Bi 100% 1165 0 100% /dev

/dev/disk0s4 240Gi 53Gi 187Gi 23% 124989 196488975 0% /Volumes/rMBPBCMP

map -hosts 0Bi 0Bi 0Bi 100% 0 0 100% /net

map auto_home 0Bi 0Bi 0Bi 100% 0 0 100% /home

/dev/disk0s1 197Mi 25Mi 172Mi 13% 0 0 100% /Volumes/EFI


$ cd /Volumes/EFI


$ ls

BOOTLOG EFI


$ cat BOOTLOG

SlingShot: Starting Local and Network Diags/Recovery Session at 07/22/2014 00:41.

Booting Recovery OS.

SlingShot: Starting Local and Network Diags/Recovery Session at 09/11/2014 14:41.

NetworkFinishOSRSHostInfoLookup: Resolved OSRS Hostname [osrecovery.apple.com] to 17.146.232.11, Port 80

GetStationAddressViaIpAgent: Client IP Address: 10.71.6.22

GetStationAddressViaIpAgent: Client Subnet Mask: 255.255.255.0

GetStationAddressViaIpAgent: Router IP Address: 10.71.6.1

GetStationAddressViaIpAgent: DnsServer 0 Address: 10.71.30.30

GetStationAddressViaIpAgent: DnsServer 1 Address: 10.71.30.61

GetStationAddressViaIpAgent: DnsServer 2 Address: 10.71.30.31


The primary challenge with traditional Bootcamp/Windows is maintaining the GPT and MBR to stay in sync. Many utilities fault to do that, and sometimes users throw away this delineation out of the Windows for a quick fix. This is a fairly common use case with tomes dedicated on fora where a user reduces the GPT via Disk Utility, and expands the MBR (which has a limit of 4 entries) and instantly loses Windows boot ability, and in some cases, data. This is the loaded gun that Apple freely gives consumers, but a little caveat does exist here - Boot Camp 5.1: Frequently asked questions about resizing and third-party disk utilities.


Typically N=0 in Laptops, but can be >= 0 on Desktops. Fusion Drives have N=1, but they can be built with N=10. The limit is (unofficially) 255-disk Fusion drive, but I have not found a machine to build such a Fusion drive.


Winclone cautions to check the disk for errors before creating an image. Disk Utility reports that the EFI installation is error free. This is confusing based on what you said about an EFI installation.

DU can verify catalog and disks, and repair file systems it supports. Apple NTFS, by default, does not support NTFS in read-write and hence cannot fix any issues with NTFS at all. It is better to address any disk errors/catalog issues before Winclone is used, otherwise it compounds future problems.


I have four entries but and EFI installation?


As I have shown, you have the legacy Hybrid MBR implementation.


Winclone also suggests to run SysPrep prior to creating the image. Is that in the bootcamp assistant utility? Do I need to perform that step? One of the steps is to create a FAT32 partition. The current Windows partition is NTFS. Is that going to be a problem?

Sysprep is used to remove any hardware specific information, if the Windows installation is being moved from one hardware platform to a different hardware platform . For example, it removes Apple drivers from Bootcamp/Windows, if you plan to move from, say, a 2007 MBP, to a 2014, rMBP. Wincolne converts the FAT32 partition to NTFS automatically and no manual intervention is required.


Here is an example of a pure EFI Windows implementation (GPT and MBR)


gpt show: /dev/disk0: mediasize=500277790720; sectorsize=512; blocks=977105060

gpt show: /dev/disk0: PMBR at sector 0

gpt show: /dev/disk0: Pri GPT at sector 1

gpt show: /dev/disk0: Sec GPT at sector 977105059

start size index contents

0 1 PMBR

1 1 Pri GPT header

2 32 Pri GPT table

34 6

40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

409640 487712920 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

488122560 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC

489392096 32

489392128 262144 4 GPT part - E3C9E316-0B5C-4DB8-817D-F92DF00215AE

489654272 487450624 5 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

977104896 131

977105027 32 Sec GPT table

977105059 1 Sec GPT header


$ sudo fdisk /dev/disk0

Disk: /dev/disk0 geometry: 60821/255/63 [977105060 sectors]

Signature: 0xAA55

Starting Ending

#: id cyl hd sec - cyl hd sec [ start - size]

------------------------------------------------------------------------

1: EE 1023 254 63 - 1023 254 63 [ 1 - 977105059] <Unknown ID>

2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

Oct 26, 2014 1:15 AM in response to Loner T

Loner T,

I finally had the time to follow your instructions to update my MBP. Thank you very much for helping me do this without having to resort to the "Nuke and Pave" option.


Interesting things to note:


Because my original BOOTCAMP partition was NTFS, when booting windows for the first time after restoring my image, the computer did a disk scan to check the disk for errors and index everything. After it completed it automatically did a reboot and came up without a hitch. It also did a couple of windows updates but it looks like everything is as it was before moving to Yosemite.


For some reason winclone did not allow the option of shrinking my images. Not to worry, it didn't matter in this case.


Even though I created a FAT32 partition with disk utility, when I look at the partition after restoring my image, it shows as a NTFS partition.


I know I had an Hybrid MBR installation on Mavericks. I assume that I still have the same based on the 4 sudo fdisk /dev/diskN entries that show now after upgrading.


I agree, winclone is a must have for anyone wanting to run windows on a mac.


One other question, it seems like I read somewhere that the bootcamp utility really doesn't install all of the necessary windows drivers for mac OS. That there is an additional step that needs to be performed after using the bootcamp utility to install windows to make sure that you have all of the proper drivers. Is that correct?


Again thanks for your help.


Where do you learn all of this stuff?

Oct 26, 2014 5:52 AM in response to Motleymongoose

Motleymongoose wrote:


Because my original BOOTCAMP partition was NTFS, when booting windows for the first time after restoring my image, the computer did a disk scan to check the disk for errors and index everything. After it completed it automatically did a reboot and came up without a hitch. It also did a couple of windows updates but it looks like everything is as it was before moving to Yosemite.


There is a chkdsk that is done right after the restore to ensure NTFS is "clean". The procedure is similar to moving a disk and performing a fsck in the Unix world.


Even though I created a FAT32 partition with disk utility, when I look at the partition after restoring my image, it shows as a NTFS partition.


Winclone will convert the FAT32 to NTFS.


One other question, it seems like I read somewhere that the bootcamp utility really doesn't install all of the necessary windows drivers for mac OS. That there is an additional step that needs to be performed after using the bootcamp utility to install windows to make sure that you have all of the proper drivers. Is that correct?


I am not aware of any "missing" drivers. If you can find the link that you read, I would be curious about it. From Boot Camp 5.1: Frequently asked questions

Drivers, Mac features within Microsoft Windows, and miscellaneous

Which drivers are included with the OS X Windows Support Software (drivers) download?
The Boot Camp 5.1 software includes these Mac drivers for Windows:

  • Apple Bluetooth
  • Apple Keyboard Support
  • Apple Remote Driver
  • Apple Trackpad
  • Atheros 802.11 Wireless
  • ATI Graphics
  • Boot Camp control panel for Microsoft Windows
  • Boot Camp System Task Notification item (System Tray)
  • Broadcom Wireless
  • Intel Chipset Software
  • Intel Integrated Graphics
  • iSight Camera
  • Marvel Yukon Ethernet
  • nVidia Graphics
  • Cirrus Logic Audio
  • Realtek Audio
  • SigmaTel Audio
  • Startup Disk control panel for Microsoft Windows
  • Thunderbolt
  • USB 3



Where do you learn all of this stuff?

There is a poster named Christopher Murphy. He has been involved in most of these OS X/Windows interoperability threads. I consider him the authority. Reading his posts, experimenting on your own a bit, blowing up some OS installations, along the way, one learns. It would be good if Apple documented some of this. Rod Smith's books are an excellent resource as well.

Oct 28, 2014 7:10 AM in response to Loner T

Loner T,


I have the same output from frisk command that you have mentioned right before:


Disk: /dev/disk0 geometry: 243201/255/63 [3907029168 sectors]

Signature: 0xAA55

Starting Ending

#: id cyl hd sec - cyl hd sec [ start - size]

------------------------------------------------------------------------

1: EE 1023 254 63 - 1023 254 63 [ 1 - 3907029167] <Unknown ID>

2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused


And I have no BOOTLOG in the /Volumes/EFI, only EFI folder.


Is there any way to fix the drive without wiping it out and restore the Bootcamp partition with Winclone?

Oct 28, 2014 7:26 AM in response to Loner T

Well I think this is the same topic. I'm trying to install Yosemite on my OS X 10.9.5 and it says it will corrupt the Windows partition.


Apples-iMac:~ Apple$ diskutil list

/dev/disk0

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *2.0 TB disk0

1: EFI EFI 209.7 MB disk0s1

2: Apple_HFS Macintosh HD 1.9 TB disk0s2

3: Microsoft Reserved 134.2 MB disk0s3

4: Microsoft Basic Data BOOTCAMP 120.0 GB disk0s4

/dev/disk1

#: TYPE NAME SIZE IDENTIFIER

0: GUID_partition_scheme *2.0 TB disk1

1: Apple_HFS ARC-MAC 1.9 TB disk1s1

2: Microsoft Basic Data ARC-PC 129.6 GB disk1s2


Apples-iMac:~ Apple$ diskutil cs list

No CoreStorage logical volume groups found


Apples-iMac:~ Apple$ sudo gpt -vv -r show /dev/disk0

Password:

gpt show: /dev/disk0: mediasize=2000398934016; sectorsize=512; blocks=3907029168

gpt show: /dev/disk0: PMBR at sector 0

gpt show: /dev/disk0: Pri GPT at sector 1

gpt show: /dev/disk0: Sec GPT at sector 3907029167

start size index contents

0 1 PMBR

1 1 Pri GPT header

2 32 Pri GPT table

34 6

40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

409640 3671982336 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC

3672391976 1752

3672393728 262144 3 GPT part - E3C9E316-0B5C-4DB8-817D-F92DF00215AE

3672655872 234373120 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

3907028992 143

3907029135 32 Sec GPT table

3907029167 1 Sec GPT header


Apples-iMac:~ Apple$ sudo fdisk /dev/disk0

Password:

Disk: /dev/disk0 geometry: 243201/255/63 [3907029168 sectors]

Signature: 0xAA55

Starting Ending

#: id cyl hd sec - cyl hd sec [ start - size]

------------------------------------------------------------------------

1: EE 1023 254 63 - 1023 254 63 [ 1 - 3907029167] <Unknown ID>

2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused

4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused


I suppose Windows 8.1 installation did this to my EFI structure. So if there is the way to fix it from the Mac it could be great.

Oct 28, 2014 8:12 AM in response to Vadim Tumanov

1. You do not have a Recovery HD. This can cause issues with Yosemite.

2. Your MBR is invalid, but you have an MSR partition, which usually indicates an EFI based installation and you are saying that W8.1 was installed. My guess is W8.1 was installed using the EFI Boot that showed during BC installation.

3. What is /dev/disk1? Is it an external drive?

4. Yosemite converts the Macintosh HD to a CoreStorage volume. I suggest you take a backup of Windows either using Winclone, or using an external drive which has a NTFS partition to store Windows backup files.

5. Please also backup OSX before you upgrade.

6. Download Gdisk, and use the "b" option to backup your current GPT, before the Yosemite upgrade.

Oct 28, 2014 9:16 AM in response to Loner T

Thank you Loner T for your help,

Right, Windows 8.1 is using EFI Boot.

Yes, /dev/disk1 is an external drive I'm using as backup storage for Mac and Windows backups.

Well, If I backup GPT using Gdisk, I'm not sure I can restore it back if something will go wrong. I'm not so experienced in this.

The question is if I backup Windows with Winclone and restore it back after Yosemite upgrade like Motleymongoose is suggesting, will it boot without its special "Microsoft Reserved 134.2 MB disk0s3" partition? Cause I don't see a Windows during startup, only Mac and EFI boot partition.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Yosemite Upgrade with Bootcamp

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.