-
All replies
-
Helpful answers
-
Aug 25, 2016 1:14 PM in response to Loner Tby Alexbagirian,I don't know! But I did not upgrade the computer for a very long time. how I can find it out?
-
Aug 25, 2016 2:03 PM in response to Loner Tby Alexbagirian,★HelpfulI don't know! But I did not upgrade the computer for a very long time. how I can find it out?
-
Aug 25, 2016 4:37 PM in response to Alexbagirianby Loner T,We need to assume the following partitioning, to allow Windows to come up.
GPT 3 Start GPT 3 Size GPT 3 End NTFS Start Sector Offset NTFS Size NTFS End Sector Offset (MB) NTFS(Gb) Disk End Disk Difference 1558614240 1269536 1559883776 1559883776 0 393637888 1953521663 - 187.70 1953525168 3505 -
Aug 25, 2016 4:40 PM in response to Alexbagirianby Loner T,This requires a bit more work. We will need to create the GPT2, 3, and 4 entries. Do you have a backup of OSX?
-
Aug 26, 2016 12:05 AM in response to Loner Tby Alexbagirian,Thanks allot for your help. NO, did not find a backup!
-
Aug 26, 2016 5:13 AM in response to Alexbagirianby Loner T,Do you have an external disk on which you can back up OS X? We need to change the GPT and a back up would be good to have, in case we run into any issues. You will need an external disk, which is about 1.5 larger than the current size of OS X partition.
-
Aug 26, 2016 6:39 AM in response to Loner Tby Alexbagirian,Loner Hello. Yes, I did the back up) What do we do next?
-
Aug 26, 2016 6:45 AM in response to Alexbagirianby Loner T,I need to be away from a computer for a couple of hours. I will post the detailed steps once I come back to my Mac.
-
-
Aug 26, 2016 10:03 AM in response to Alexbagirianby Loner T,This is non-standard setup. Normally, only the GPT4 entry is manipulated as shown in El Capitan has deleted my bootcamp windows partition .
Install GPT Fdisk (aka gdisk). Leave your Testdisk display and start a new Terminal Window. You need to use the following steps. If you see any error messages during the following steps, please stop and post back here with the error message. The following steps have values from your Testdisk output (and you can verify) in Steps 7 and 8. Please notice the'+' sign in step 8 (this is called offset notation). The text in parentheses is for informational purpose to describe the action being taken. Gdisk has one-character commands except when entering numbers.
Rebuild GPT4 using start/end offsets
- Sudo gdisk /dev/rdisk0
- P (print the full list of parts)
- D (Delete)
- 2 (OSX part)
- D (Delete)
- 3 (Recovery HD)
- D (delete)
- 4 (Bootcamp part 4)
- N (new part)
- 2 (OSX part 2)
- 409640 (Start)
- 1558614239 (End - No offset notation)
- AF00 (OSX JHFS+)
- N (new)
- 3 (Recovery HD - Part 3)
- 1558614240
- +1269536 (End - Offset notation)
- AB00 (Recovery HD type)
- N (New)
- 4 (Bootcamp - Part 4)
- 1559883776 ( - Start offset in sectors or the start point for Bootcamp part)
- +393637888 ( - Size offset, as opposed to End offset)
- 0700 (Windows part type)
- P (print list of all parts just to see what changes will be made)
- W (Write the new GPT)
- Y (Yes! really write the new GPT)
This will delete and re-write the GPT partition info for /dev/disk0s4.
Rebuild MBR to match the new GPT information thus resetting the Hybrid MBR. Use defaults for other questions (like partition codes). The only values that need modifications are the Boot flags and step 10. Accept all other defaults that Gdisk offers. Please see the sample Q&A as an example. These steps can be repeated if you make a mistake before you get to Step 12, otherwise start from Step 1 for these steps. Step 6 has numbers which are typed with a space between the numbers. Please see the sample Q&A before you execute these steps.
- Sudo gdisk /dev/rdisk0
- P (Print list of parts)
- R (Recover)
- O (print current Hybrid MBR)
- H (chooses Hybrid)
- Partitions numbers to be hybridized: 2 3 4
- Y (Good for GRUB question)
- N (part 2 boot flag)
- N (part 3 boot flag)
- Y (part 4 boot flag make NTFS bootable partition)
- O (print current Hybrid MBR)
- W (Write the new MBR)
- Y (Yes! write the new MBR)
- Reboot
Here is sample Q&A for this section. Please notice the Press Enter/Return.
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): Press Enter/Return
Set the bootable flag? (Y/N): N
Creating entry for GPT partition #3 (MBR partition #3)
Enter an MBR hex code (default AB): Press Enter/Return
Set the bootable flag? (Y/N): N
Creating entry for GPT partition #4 (MBR partition #4)
Enter an MBR hex code (default 07): Press Enter/Return
Set the bootable flag? (Y/N): Y
Test 1 - Does Bootcamp Volume show up in Finder?
Test 2 - Can you see files in Bootcamp Volume?
Test 3 - Can you select Bootcamp in System Preferences -> Startup Disk?
Test 4 - If Test 3 is successful, select Bootcamp and Click Restart.
-
Aug 26, 2016 11:06 AM in response to Loner Tby Alexbagirian,Dear Loner, did as everything above. But still no success. test 1-4 nothing. Tryed to reboot with alt key. Windows window showed up. Pressed it, and it showed BOOTMGR IS MISSING.
-
Aug 26, 2016 11:09 AM in response to Alexbagirianby Loner T,Please post the output of
sudo gpt -vv -r show /dev/disk0
sudo fdisk /dev/disk0
-
-
Aug 26, 2016 11:37 AM in response to Alexbagirianby Loner T,Does Finder in OSX show any files in the Bootcamp volume?
What is the output of
sudo dd if=/dev/rdisk0s4 count=1 2>/dev/null | hexdump -C
-

