I was testing out a Linux Mint installation on an iMac in order to run some programs written for Linux. This iMac was a dual boot with Windows installed through bootcamp. I think it corrupted the boot system for Windows (The MBR and hybrid MBR is confusing me).
I thought of removing the Linux installation and thus I used Disk Utility and reformatted and removed the Linux partitions.
However, when I list the disk, the (internal, virtual) and Recovery HD drive is missing since after the removing the first installation.
Currently I repartition the drives and reinstall Linux Mint to run the required program. I would like to ask for help with the following:
What is the internal, virtual drive? And why is it and the recovery HD missing? (I want to know what I did wrong)
Does the missing internal, virtual drive need fixing? How to do it?
Is it possible to fix Windows boot in without reinstalling it?
- I am actually fine with dual boot for now and lose the Windows. If I need to I would follow the guide on triple booting (which I saw after this had happened). But if there is a way to fix it please let me know.
Here is the readout from disk util when I formatted it for the first linux installation
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage Macintosh HD 250.3 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data 649.9 GB disk0s4
5: Microsoft Basic Data 18.9 GB disk0s5
6: Microsoft Basic Data 29.9 GB disk0s6
7: Microsoft Basic Data BOOTCAMP 50.0 GB disk0s7
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Macintosh HD +250.0 GB disk1
Logical Volume on disk0s2
A2849F4D-66EA-4FFF-8FB2-5247B5407C0C
Unencrypted
After that I formatted and remove the linux partition of MacOS disk utility.I formatted partition 4,5 and 6 and resize with the Macintosh HD partition. Now it reads
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 949.9 GB disk0s2
3: Microsoft Basic Data BOOTCAMP 50.0 GB disk0s3
gpt show: 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 1855197144 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
1855606784 262144
1855868928 97654784 3 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
1953523712 1423
1953525135 32 Sec GPT table
1953525167 1 Sec GPT header
I repartition and installed linux mint again with a Home drive, a OS drive and a swap drive.
Now this is what the disk util reads:
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 250.0 GB disk0s2
3: Microsoft Basic Data 649.9 GB disk0s3
4: Microsoft Basic Data 14.9 GB disk0s4
5: Microsoft Basic Data 34.7 GB disk0s5
6: Microsoft Basic Data BOOTCAMP 50.0 GB disk0s6
gpt show: 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 1855197144 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
488690888 262144
488953032 1269269104 3 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
1758222136 262144
1758484280 29034728 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
1787519008 262144
1787781152 67825632 5 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
1855606784 262144
1855868928 97654784 6 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
1953523712 1423
1953525135 32 Sec GPT table
1953525167 1 Sec GPT header