Windows Missing from Boot Screen
This thread is started in response to Loner T's advice on this thread: Repairing Boot Camp after creating new partition
I have a hard drive with a partition for Yosemite and an NTFS partition for Windows 10. I just resized the Yosemite partition, and now I can no longer boot into windows as it's not listed on the boot screen when holding "Alt". It does still show up as a boot option in Startup Disk and I can view the contents of the partition. When trying to boot windows from the Startup Disk option, I just get a blinking cursor.
sudo fdisk -e /dev/disk0
p
setpid 4
07
flag 4
p
write
y
Loner T, I'm guessing the above commands will work in my case as well, but would just like to verify before I destroy something. I've posted the output from the commands you requested in the original thread. Thoughts? Thanks in advance!
sh-3.2# fdisk /dev/disk0
Disk: /dev/disk0 geometry: 29185/255/63 [468862128 sectors]
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: EE 1023 254 63 - 1023 254 63 [ 1 - 409639] <Unknown ID>
2: AF 1023 254 63 - 1023 254 63 [ 409640 - 193750000] HFS+
3: AB 1023 254 63 - 1023 254 63 [ 194159640 - 1269536] Darwin Boot
4: 0C 1023 254 63 - 1023 254 63 [ 312612864 - 156248064] Win95 FAT32L
sh-3.2# gpt -v -r show /dev/disk0
gpt show: /dev/disk0: mediasize=240057409536; sectorsize=512; blocks=468862128
gpt show: /dev/disk0: Suspicious MBR at sector 0
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 193750000 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
194159640 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
195429176 117183688
312612864 156248064 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
468860928 1167
468862095 32 Sec GPT table
468862127 1 Sec GPT header
sh-3.2# diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *240.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS OSX 99.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data 80.0 GB disk0s4
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_HFS Storage 2.0 TB disk1s2
/dev/disk2
#: TYPE NAME SIZE IDENTIFIER
0: Apple_partition_scheme *17.2 MB disk2
1: Apple_partition_map 32.3 KB disk2s1
2: Apple_HFS Flash Player 17.1 MB disk2s2
sh-3.2#
Mac Pro, OS X Yosemite (10.10.5)