The problem started when I tried to install the newest version of command line tools (11.5). https://developer.apple.com/download/more/?=command%20line%20tools
At the step where I was supposed to choose a disk to install command line tools, there was no Macintosh disk shown. It seems that the computer can’t access the disk.
Previously, I have installed a win 10 on Boot Camp. So I figured that might be the problem and tried to remove it using boot camp assistant. But boot camp returns a message saying
Boot Camp Assistant was unable to verify if the Windows partition
contains a Windows installation. This may be because BitLocker is
enabled on the partition. If so, disable BitLocker on the disk before
removing Boot Camp.
diskutil list reads:
/dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.3 GB disk0 1: EFI EFI 314.6 MB disk0s1 2: Apple_APFS Container disk1 361.0 GB disk0s2 3: Microsoft Basic Data 129.0 GB disk0s3 /dev/disk1 (synthesized): #: TYPE NAME SIZE IDENTIFIER 0: APFS Container Scheme - +361.0 GB disk1 Physical Store disk0s2 1: APFS Volume 240.1 GB disk1s1 2: APFS Volume 60.6 MB disk1s2 3: APFS Volume 1.6 GB disk1s3 4: APFS Volume 2.1 GB disk1s4 5: APFS Volume 11.0 GB disk1s5 /dev/disk2 (disk image): #: TYPE NAME SIZE IDENTIFIER 0: Apple_partition_scheme +17.9 MB disk2 1: Apple_partition_map 32.3 KB disk2s1 2: Apple_HFS Flash Player 17.8 MB disk2s2
Your help will be much appreciated. I would like to remove Windows 10 partition, merge the whole disk back together and install command line tools. Thanks.