You can now run Linux on Apple M1 devices

Apple M1
(Image credit: Apple)

Developers from security startup Corellium have revealed they managed to get Linux running on Apple's Arm-based M1 devices natively. 

While Linux, and even Windows, were already usable on Apple Silicon thanks to virtualization, this is the first instance of a non-macOS operating system running natively on the hardware.

“Linux is now completely usable on the Mac mini M1. Booting from USB a full Ubuntu desktop (rpi),” wrote Corellium’s CTO Chris Wade on Twitter while sharing pictures of Ubuntu's Raspberry Pi ARMv8 desktop image booting on Apple M1 hardware.

A work in progress

Corellium aren’t the only ones that are working to port Linux to the M1, though they are the first ones to get to a working desktop. 

“At Corellium, we've been tracking the Apple mobile ecosystem since iPhone 6, released in 2014 with two 64-bit cores,” write the developers in a blog post sharing details about their port, adding that “many components of the M1 are shared with Apple mobile SoCs, which gave us a good running start.”

The post includes the step-by-step instructions for anyone who wants to get Ubuntu on their M1 Mac Mini. While the Corellium port can make full use of the processor, they have yet to figure out how to take advantage of the graphics hardware. 

Ubuntu running on the M1

(Image credit: Corellium)

The developers have also submitted their code to the Linux kernel mailing list for review. 

Linus Torvalds, the principal developer of Linux, had expressed interest in using the new MacBooks, though he perceived it probably wouldn't be possible given Apple’s reluctance to share details about the hardware in its machines.

While the GPU support might take some doing, it’s exciting to see the amount of progress that’s already been made to get Linux working on the M1.

Via: TechPowerUp

Mayank Sharma

With almost two decades of writing and reporting on Linux, Mayank Sharma would like everyone to think he’s TechRadar Pro’s expert on the topic. Of course, he’s just as interested in other computing topics, particularly cybersecurity, cloud, containers, and coding.