Bootcamp thread for yi_D with Yosemite issues
Please post the output of the following...
diskutil list
diskutil cs list
sudo gpt -vv -r show /dev/disk0
sudo fdisk /dev/disk0
Please post the output of the following...
diskutil list
diskutil cs list
sudo gpt -vv -r show /dev/disk0
sudo fdisk /dev/disk0
Please do not post your serial number on a public forum.
You need to erase the NTFS partition (not remove it) and format it as FAT32. Clean the MBR, otherwise the installation will not work.Then use the Bootcamp Assistant created USB with W7 ISO and BC drivers to install it on this FAT32 partition.
Thank you for reminding me that.
How to clean the MBR?
1. You can convert the volume to FAT32 - diskutil eraseVolume FAT32 BOOTCAMP disk0s3
2. Use GPT Fdisk (http://sourceforge.net/projects/gptfdisk/) and put GPT 2,3,4 in the Hybrid MBR.
3. Install Windows on GPT 3.
Thank you. I just downloaded the GPT Fdisk but I don't know how to do the second step you listed. BTW I have limited knowledge about it, so I will be very appreciated if you teach me how to do that.
Steps for recreating Hybrid MBR. Your 'p' output will look different than in this example. In your case GPT3 is the equivalent of GPT4 in the example, use defaults as suggested by Gdisk.
sudo gdisk /dev/disk0
GPT fdisk (gdisk) version 0.8.10
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Partition table scan:
MBR: hybrid
BSD: not present
APM: not present
GPT: present
Found valid GPT with hybrid MBR; using GPT.
Command (? for help): p
Disk /dev/disk0: 490234752 sectors, 233.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 59BDFEEB-1EB4-4529-94FE-3CBC2C3CD513
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 490234718
Partitions will be aligned on 8-sector boundaries
Total free space is 2604 sectors (1.3 MiB)
Number Start (sector) End (sector) Size Code Name
1 40 409639 200.0 MiB EF00 EF
2 409640 401060383 191.0 GiB AF05 Macintosh HD
3 401060384 402329919 619.9 MiB AB00 Re
4 402331648 490233848 41.9 GiB 0700 Microsoft basic data
Command (? for help): r
Recovery/transformation command (? for help): h
WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,
just hit the Enter key at the below prompt and your MBR partition table will
be untouched.
Type from one to three GPT partition numbers, separated by spaces, to be
added to the hybrid MBR, in sequence: 2 3 4
Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): y
Creating entry for GPT partition #2 (MBR partition #2)
Enter an MBR hex code (default AF): AF
Set the bootable flag? (Y/N): n
Creating entry for GPT partition #3 (MBR partition #3)
Enter an MBR hex code (default AB): AB
Set the bootable flag? (Y/N): n
Creating entry for GPT partition #4 (MBR partition #4)
Enter an MBR hex code (default 07): 0B
Set the bootable flag? (Y/N): y
Recovery/transformation command (? for help): w
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!
Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/disk0.
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Warning: The kernel may continue to use old or deleted partitions.
You should reboot or remove the drive.
The operation has completed successfully.
Now Reboot and verify the output of fdisk again.
I still don't know how to use GPT Fdisk. There are a lot file in the folder.
Can you start Gdisk using
This is Gdisk
type gdisk
gdisk is /usr/sbin/gdisk
To start Gdisk
sudo gdisk /dev/disk0
Password:
GPT fdisk (gdisk) version 0.8.10
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Partition table scan:
MBR: hybrid
BSD: not present
APM: not present
GPT: present
Found valid GPT with hybrid MBR; using GPT.
Command (? for help): p
Disk /dev/disk0: 500118192 sectors, 238.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 22749ACF-207D-458E-B255-5DF02C39DC2D
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 500118158
Partitions will be aligned on 8-sector boundaries
Total free space is 1325 sectors (662.5 KiB)
Number Start (sector) End (sector) Size Code Name
1 40 409639 200.0 MiB EF00 EFI System Partition
2 409640 250801735 119.4 GiB AF05 OSY-MBP13
3 250801736 252071271 619.9 MiB AB00 Recovery HD
4 252071936 500117503 118.3 GiB 0700 BOOTCAMP
Last login: Mon Nov 10 19:27:18 on ttys000
Yidings-MacBook-Pro-3:~ yi_D$ gdisk is /usr/gdisk
-bash: gdisk: command not found
sudo /usr/gdisk /dev/rdisk0
Yidings-MacBook-Pro-3:~ yi_D$ sudo /usr/gdisk /dev/rdisk0
Password:
sudo: /usr/gdisk: command not found
If you downloaded the package and ran the installer, it should be in /usr/sbin/gdisk.
ls -l /usr/sbin/gdisk
If it does not show up try the following command
sudo find / -name gdisk -print -exec ls -l {} \;
I download a installer. it works. I went to the this step in your reply: "
Enter an MBR hex code (default AF): AF
Set the bootable flag? (Y/N): n
Mine is :
Creating entry for GPT partition #2 (MBR partition #2)
Enter an MBR hex code (default 07): 07
Should I enter the default value 07? and which partition should I set the bootable flag?
Number Start (sector) End (sector) Size Code Name
1 40 409639 200.0 MiB EF00 EFI System Partition
2 411648 117598207 55.9 GiB 0700 DATA
3 117598208 195459071 37.1 GiB 0700 DOS_FAT_32_Untitled_2
4 195721216 488965175 139.8 GiB AF00 Macintosh HD
5 488965176 490234711 619.9 MiB AB00 Recovery HD
Since you have two MS Data partition, DATA can be 07, but GPT#3 should be 0B. Once you install windows on GPT#3, The Installer should mark it as bootable in the MBR.
I have finished the creation of hybrid MBR.
Is this fdisk output right?
Yidings-MacBook-Pro-3:~ yi_D$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Microsoft Basic Data DATA 60.0 GB disk0s2
3: Microsoft Basic Data BOOTCAMP 39.9 GB disk0s3
4: Apple_HFS Macintosh HD 150.1 GB disk0s4
5: Apple_Boot Recovery HD 650.0 MB disk0s5
Yidings-MacBook-Pro-3:~ yi_D$ diskutil cs list
No CoreStorage logical volume groups found
Yidings-MacBook-Pro-3:~ yi_D$ sudo gpt -vv -r show /dev/disk0
gpt show: /dev/disk0: mediasize=251000193024; sectorsize=512; blocks=490234752
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 490234751
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 2008
411648 117186560 2 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
117598208 77860864 3 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
195459072 262144
195721216 293243960 4 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
488965176 1269536 5 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
490234712 7
490234719 32 Sec GPT table
490234751 1 Sec GPT header
Yidings-MacBook-Pro-3:~ yi_D$ sudo fdisk /dev/disk0
Disk: /dev/disk0 geometry: 30515/255/63 [490234752 sectors]
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: EE 0 0 2 - 25 159 6 [ 1 - 411647] <Unknown ID>
2: 07 25 159 7 - 1023 254 63 [ 411648 - 117186560] HPFS/QNX/AUX
*3: 03 1023 254 63 - 1023 254 63 [ 117598208 - 77860864] XENIX /usr
4: AF 1023 254 63 - 1023 254 63 [ 195721216 - 293243960] HFS+
Yidings-MacBook-Pro-3:~ yi_D$
This entry should be a '0B' not a '03'.
*3: 03 1023 254 63 - 1023 254 63 [ 117598208 - 77860864] XENIX /usr
Bootcamp thread for yi_D with Yosemite issues