JWood42 wrote:
I have an iMac 21.5 inch, Late 2013, Catalina (10.15.8) memory 16GB 1600 MHz DDR3.
It is in good order but has become very slow and updates are no longer provided so many apps can no onger run on it.
It has Bootcamp installed, with Windows 10 which I no longer need.
I would like to replace Windows 10 with Linux. How do I do this? I would also like to give Bootcamp more space and Catalina less.
Before you do anything to your iMac, I highly recommend you first backup all of your important files. If you may need to access those files on Linux, then make sure you store those files on media that can easily be accessed by Linux such as an exFAT file system or a NAS.
Second, you should create a bootable macOS Catalina USB installer now while you still can do so. While your iMac should be able to use Internet Recovery mode (Command + Option + R) to reinstall macOS later on......many people tend to have issues due to poor networking conditions and also the poor state of Apple's online macOS installers these days. Better safe than sorry. I would even recommend booting from the macOS USB installer as well.
Do you know whether your iMac is using an internal Hard Drive, an internal SSD, or a Fusion Drive (a combination of an internal HD & SSD)? If this iMac is supposed to have a Fusion Drive, then you should verify the Fusion Drive is still intact.
You should also verify the health of the internal drive(s) by using the third party app DriveDx (free trial period). Feel free to post the complete DriveDx text report(s) here using the "Additional Text" icon which looks like a piece of paper on the forum editing toolbar. I will be happy to check those reports. Generally if a Hard Drive report shows any "Warning" or "Failing" notices, then that Hard Drive should not be used because it is worn out or failing respectively. The same is not always the same for an SSD which requires manually interpreting the SSD's health report.
If the internal HD is worn out or failing, then it is not worth installing Linux on the internal HD. However, if your iMac has a Fusion Drive, then utilizing the SSD portion may be an option if it is a 120GB SSD. Otherwise, @jeffreythefrog is correct in suggesting an external drive. An external drive is also a good option if you would like to leave your macOS installation untouched until you are sure you wish to fully remove it.
If the internal drive is healthy, then you can remove Windows as suggested by @jeffreythefrog. Afterwards you can use Disk Utility in macOS to resize the macOS partition/Container to make a new partition for use with Linux. In order to use that new partition for Linux, you will need to have the Linux installer select that partition (may actually need to have the Linux installer delete that new partition & use the free space for the Linux install).
If you are not familiar with Linux, then I would suggest using Linux Mint since it should just work on the iMac and it can be a bit more user friendly in the beginning. While most x64 Linux distributions can work on a Mac, some of them may not always work right out of the box due to issues with their bootloaders & some quirky behavior of Apple's firmware (the installer usually works, but the first reboot into the new OS can sometimes fail depending on the Apple firmware & how the Linux distribution handles their bootloaders).
As long as you have a bootable macOS USB installer, then you should be able to easily return to macOS if you encounter any issues or if you realize Linux is not for you.