Is it safe to use Mojave's Boot Camp Assistant to remove a Windows 7 partition?
I have a Windows 7 Boot Camp partition that I want to remove. It was set up in Boot Camp in earlier versions of MacOS; however, I have since updated to Mojave and it seems that Boot Camp Assistant has updated, too. Its partition removal option only mentions "Remove Windows 10 or later version", suggesting it might not support removing earlier versions. Can that option still be used to safely remove the partition or should it be avoided?
Edit: per @Jean_JD's follow-up question, the results of running the diskutil list internal
command:
/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_APFS Container disk1 401.1 GB disk0s2
3: Microsoft Basic Data BOOTCAMP 99.0 GB disk0s3
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +401.1 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 378.3 GB disk1s1
2: APFS Volume Preboot 113.3 MB disk1s2
3: APFS Volume Recovery 2.1 GB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
Solution 1:
Ok. Execute the terminal command :
diskutil erasevolume free space disk0s3
Then, I suppose you want add the free space to your Mac os x Container. If yes, execute :
diskutil ap resizecontainer disk1 0b
Then, to suppress Windows references at boot, you mount the EFI partition :
sudo diskutil mount disk0s1
Your password will be requiered and don't show up when you type it
Then you give the results of :
ls -l /Volumes/EFI/EFI
Normaly you have a Directory WINDOWS, so you delete it :
rm -r /Volumes/EFI/EFI/WINDOWS
And it's all ;-)