I have a Macbook Pro (Retina 15 inch end 2013) with OS X El Capitan 10.11.1. I have Bootcamp on it to run Windows 7, always using it without any problem. I wanted more space on the Bootcamp partition so I decided to resize the Macintosh HD partition to make some more space (+10 GB) for the Bootcamp partition.
When I made the Macintosh HD partition 10 GB bigger I've tried to reboot into Windows with Bootcamp but unfortunately the error 'No bootable device, press any key' appears.
I can still see Windows bootcamp in the startup disk of system preferences, but just can't boot into Windows anymore.
Here are some messages I've got by Terminal;
MBP-van-Daniel:~ daniel$ diskutil list /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.3 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_HFS Macintosh HD 418.4 GB disk0s2 3: Apple_Boot Recovery HD 650.0 MB disk0s3 4: Microsoft Basic Data BOOTCAMP 81.0 GB disk0s4
And some more
MBP-van-Daniel:~ daniel$ sudo gdisk -l /dev/disk0 GPT fdisk (gdisk) version 1.0.1 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. Disk /dev/disk0: 977105060 sectors, 465.9 GiB Logical sector size: 512 bytes Disk identifier (GUID): A0D4786F-9935-4899-9856-F9B9D0B378CA Partition table holds up to 128 entries First usable sector is 34, last usable sector is 977105026 Partitions will be aligned on 8-sector boundaries Total free space is 137 sectors (68.5 KiB) Number Start (sector) End (sector) Size Code Name 1 40 409639 200.0 MiB EF00 EFI System Partition 2 409640 817633503 389.7 GiB AF00 Customer 3 817633504 818903039 619.9 MiB AB00 Recovery HD 4 818903040 977104895 75.4 GiB 0700 BOOTCAMP
I've tried some suggested solutions I've read on the web but unfortunately without result. I think I have to restore the MBR using fdisk but how do I do that? I'm not very familiar with terminal