Let's face it, the M1 Mac series is the best laptop out there. With a perfect balance of power and battery life. For me, the only thing holding it back was its OS. Mac OS is not as developer-friendly as I expected. As I found out after using my M1 Mac for a few months, some things are better suited for the OS it was designed to be run on.
This was not a problem in the intel Mac era, as we could easily load a virtualisation software and run whichever OS we want, but with the new ARM chips, it is a different story. The only software that I could find which was free and had all the features was UTM.
UTM is an amazing piece of software and it does its job perfectly (mostly), I did face some challenges installing Ubuntu, but to be fair, it was more related to the Ubuntu kernel than UTM. UTM also supports installing Windows and many more OS. Check out all the available options here.
Installing UTM is pretty straightforward, you can find the software here.
You have to download the Ubuntu server version, don't worry we can easily install GUI after installing the barebone OS. Download Ubuntu.
Please verify you are downloading the ARM version of the software
The steps to install are mentioned at the bottom of the UTM ubuntu webpage. They usually autofill the storage allocation as 64gigs, I would recommend making it to 20gigs as it is more than enough, but feel free to change it according to your use case.
Problems with Booting into Ubuntu:
Due to a recent update in the Linux version, some might find it hard to boot into Ubuntu. You can bypass this problem by doing the following steps in the UTM options menu, located at the top right corner of the application.
sudo apt install linux-image-5.4.0-100-generic
sudo apt-mark hold linux-image-$(uname -r)
Problems with internet connectivity:
There is a solution at the bottom of the UTM page for Ubuntu, for this issue. If it’s not working try out the solution proposed in this discussion.
That's it. It is really easy to run Linux or even Windows on your shiny new M1 macs. The possibilities are endless and the experience is really seamless. During my usage, I was able to get very good performance out of the system.
💡 Cool thing to note here is that now Mac's are really good at running windows and that too for longer than a regular windows system.
Please note that you might sometimes face issues while running some of the x86 software on an ARM chip but for me its been pretty smooth.
👉🏼 for more updates, questions ping me on Twitter.
👉🏼 check out other articles on my blog.
Many thanks to taitleaney for finding the workaround about changing the Linux version. You can follow the thread on GitHub.