Bootcamp: "Missing operating system"
Hi,
I can't boot my MacBook into Windows anymore after installing Ubuntu.
I tried to additionally install Ubuntu (without rEFInd) and followed this article on how to achieve that on an already dual boot setup Mac (with macOS and Windows): https://apple.stackexchange.com/questions/257166/installing-ubuntu-on-mac-with-m acos-and-windows-already-installed
After shrinking the macOS partition & creating new partitions on the hard drive and installing Ubuntu successfully on them, I tried to launch Windows 7 again but the message "No operating system" is shown now instead (the data on the Bootcamp drive is still accessible from macOS though).
I already tried repairing the Windows partition with a Windows recovery USB drive (created with Windows and the Bootcamp assistant), as mentioned on this website: http://www.crabtree-consulting.com/boot-camp-windows-7-repair-for-missing-operat ing-system-error/
Unfortunately Windows' "diskpart" doesn't show all the partitions (in the way diskutil list would) and repairing doesn't seem possible as mentioned.
Now I'm lost finding out how to repair the Windows partition, either in macOS or in the Windows recovery tools.
MacBook Pro late 2013, macOS Sierra, Windows 7, Ubuntu 18.04
Any help is gladly appreciated.
Thanks a lot in advance!
> diskutil list disk0
/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 340.0 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Linux Swap 800.0 MB disk0s4
5: Linux Filesystem 60.1 GB disk0s5
6: EFI NO NAME 500.2 MB disk0s6
7: Microsoft Basic Data BOOTCAMP 98.0 GB disk0s7
> sudo gpt -r show /dev/disk0
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 664062496 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
664472136 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
665741672 1562496 4 GPT part - 0657FD6D-A4AB-43C4-84E5-0933C84B4F4F
667304168 1816
667305984 117415936 5 GPT part - 0FC63DAF-8483-4772-8E79-3D69D8477DE4
784721920 976896 6 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
785698816 191406080 7 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
977104896 131
977105027 32 Sec GPT table
977105059 1 Sec GPT header
> sudo fdisk /dev/disk0
Disk: /dev/disk0 geometry: 60821/255/63 [977105060 sectors]
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: EE 0 0 1 - 1023 254 63 [ 1 - 409639] <Unknown ID>
*2: AF 1023 254 63 - 1023 254 63 [ 409640 - 664062496] HFS+
3: AF 1023 254 63 - 1023 254 63 [ 664472136 - 1269536] HFS+
4: 82 1023 254 63 - 1023 254 63 [ 665741672 - 1562496] Linux swap
macOS Sierra (10.12.6), macOS, Windows, Ubuntu, Triple Boot