Windows doesn't appear at bootcamp menu after repartition
MacBook Pro (Retina, 13-inch, Mid 2014), OS X El Capitan (10.11.6), null
MacBook Pro (Retina, 13-inch, Mid 2014), OS X El Capitan (10.11.6), null
Can you post the output of
sudo dd if=/dev/rdisk0s5 count=1 2>/dev/null | hexdump -C
I recommend that you convert disk0s4 to Free Space. Extend Windows to absorb this space using GParted, and then we can create a standard MBR. This method is much faster than trying to do this twice, once in the current state, and once more after you add disk space to Bootcamp.
The following command must be run only once and will generate an error, because Free Space has no disk slices associated with it. If you run it more than once, you will lose data, including Windows.
diskutil eraseVolume free free disk0s4
Once you have Free Space, use using-parted-to-resize-your-windows-vista-partition to absorb it in Bootcamp. Windows will not work, till we recreate the MBR and run Startup Repair.
Post back once these two steps are complete.
Problem is, when I create free space I won't be able to boot windows as right now it doesn't appear in boot menu, will I?
>>>
Oh, I see.
Can I use flash as boot-CD?
tracer2535 wrote:
Can I use flash as boot-CD?
Yes, if your Mac is 2012 or later model. If you model has a built-in Optical drive, you will need to use a DVD.
Okay, done. What is next?
Can you post the output of
diskutil list
sudo gpt p-vv -r show /dev/disk0
before we go further?
Please try (I corrected my typo).
sudo gpt -vv -r show /dev/disk0
also,
sudo dd if=/dev/rdisk0s4 count=1 2>/dev/null | hexdump -C
There is a gap at the end of GPT4 which is about 670MB. Can you also post the output of the last dd command to show the NTFS header?
I'm sorry, could you simplify that? What command output would you like to get?
diskutil list
?
This command...
sudo dd if=/dev/rdisk0s4 count=1 2>/dev/null | hexdump -C
Looks clean. You will need GPT Fdisk to rebuild your MBR. You will also need to disable SIP temporarily by booting in Local Recovery and running csrutil disable in Utilities -> Terminal.
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 thesample 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.
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.
Windows doesn't appear at bootcamp menu after repartition