How To Install Ubuntu On Utm
Introduction
Let's face up information technology M1 mac's are the all-time laptop out in that location. With a perfect balance of power and concoction life. For me the but thing holding it back was its Bone. Mac OS is non as programmer 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 trouble in the intel mac era, as nosotros could hands load a virtualisation software and run which ever OS we want, simply with the new ARM chips its a different story. The only software that I could find which was costless and had all the features was UTM.
UTM is an amazing piece of software and it does its task perfectly (generally), I did face some challenges installing Ubuntu, but to be fair, it was more related to the Ubuntu kernal than UTM.
UTM likewise supports installing windows and many more than OS. Cheque out all the bachelor options here.
1. Installing UTM
Installing UTM is pretty direct forward, you can find the software here.
2. Downloading the OS Epitome
You lot have to download the Ubuntu server version, don't worry nosotros tin can hands install GUI later installing the barebone Bone. Download Ubuntu.
Delight verify you are downloading the ARM version of the software
The steps to install are mentioned on the bottom of the UTM ubuntu webpage. They unremarkably autofill the storage allocation as 64gigs, I would recommend making it to 20gigs as it is more than plenty, but feel free to change it according to your utilise example.
Yous may besides want to specify whatsoever required features (e.g. cheque Docker option for installing docker on ubuntu) every bit part of the installation, nonetheless, these features tin as well be added subsequently.
3. Possible Install issues
Bug with Booting into Ubuntu Due to a recent update in the Linux version, some might detect it hard to kicking into Ubuntu. You lot can featherbed this trouble by doing the following steps in the UTM options menu, located at the acme right corner of the awarding.
- Disabling the QMEU > use hypervisor pick
- Changing the brandish type to Console just
- Boot into Linux, simply it will exist VERY deadening considering it is using emulation instead of virtualization.
- Once inside, install the terminal version of Linux
sudo apt install linux-prototype-v.4.0-100-generic
- Shut down the VM, open up VM settings and under QEMU -> Teaks, check "Use Hypervisor" to re-enable virtualization.
- Start the VM and when the UTM logo shows upwardly, agree "Shift" to enter the Grub menu
- Select "Advanced Options for Ubuntu"
- Select "Ubuntu, with Linux 5.4.0-100-generic" (or anything lower than 5.4.0-104)
- You can at present kicking into Ubuntu again. You may choose to uninstall 5.4.0-104 and temporarily mask it from being updated in the future:
sudo apt-marker hold linux-epitome-$(uname -r)
Bug with internet connectivity At that place is a solution in the bottom of the UTM page for Ubuntu, for this event. If its not working try out the solution proposed in this discussion.
Conclusion
That's it.. Its really piece of cake to run Linux or even Windows on your shiny new M1 macs. The possibilities are countless and the experiance is really seamless. During my usage I was able to get very good functioning out of the organization.
💡 Cool matter to note here is that, at present Mac'southward are actually expert at running windows and that too for longer than a regular windows system.
delight note that you might sometimes face up issues while running some of the x86 softwares on an ARM chip simply for me its been pretty smooth.
👉🏼 for more than update, questions ping me on twitter.
👉🏼 checkout other articles on my web log.
Referneces
Many cheers to taitleaney for finding the workaround about changing the Linux version. You can follow the thread on github.
Related Articles
- Installing TensorFlow on M1 MacBook Air with GPU (Metal)
- Install jupyter notebook on ubuntu 20.04 using virtualenv
- Add anaconda to right-click menu in windows
- How to open sublime text from the windows command line
Source: https://www.milindsoorya.com/blog/run-ubuntu-on-m1-macbook-air-using-utm
0 Response to "How To Install Ubuntu On Utm"
Post a Comment