Deepin reaches Apple Silicon thanks to Asahi Linux

Deepin on the Apple M1

Although it will still be many years before this prediction comes true, developers and all sorts of people say that the future lies with ARM. Among those who support this theory is Apple, a company that introduced its Apple Silicon processors three years ago and no longer sells anything with x86_64 architecture. It will still be some time before PC manufacturers reach an agreement and follow suit, but Linux can already run even on these processors. And Deepin is the latest to join the list of distributions capable of doing so.

This was announced in two articles on their official blog. The first discusses the Mac Mini M1, a computer released by Apple in 2020, and explains that things aren't so simple due to its boot system. Asahi Linux is a project that aims to bring Linux to the Apple Silicon platform, and it has already been possible to run Alpine Linux, Debian, Fedora, Gento, and Ubuntu, among others, on the Mac Mini M1.

Deepin Linux works to adapt your system to the M1

Wuhan Deepin Technology Co.,Ltd. explains the adaptation process, starting with the 4 steps to follow to install Linux on the M1:

  1. First of all you have to run the installation script on macOS. This script will add the installation configuration and the rootfs installation package, partition the rest of the disk space, and flash the bootloader, among other things.
  2. Then you have to turn the computer off and on again, and then flash into the item from step 1. At this point, the job of setting the installed Linux distribution as the default boot is executed.
  3. After rebooting, the system will enter the bootloader with flash, which is m1n1, and load the bootloader of the next UEFI system according to the settings, which is usually UBoot. UBoot will decide whether to boot the operating system directly or boot GRUB as dictated by the configuration file. From here, everything is similar to a normal UEFI system.
  4. Lastly, depending on the installation method of different distributions, the first boot might enter the setup wizard.

Deepin is now considering using the official Asahi Linux installer and Deepin's ARM64 software, and then merging the m1-debian and m1-deepin projects . In their tests , Deepin was able to boot, but to do so they had to first boot into Debian, not without encountering some kernel panics. At a certain point, the Debian packages can be removed, leaving only the Deepin packages, as well as the Asahi-related packages required by the m1-debian project.

It takes a little more work to install the graphical environment (DDE), but they succeeded, as shown in screenshots like the following:

Desk in the M1

There is still a way to go

The fact that the Deepin development team has achieved this doesn't mean it's accessible to everyone . The installation process is nothing like starting a Live Session and running Calamares, and it requires a lot of configuration to get everything working properly, because it's not yet working perfectly even for experts. It will be in the future, but even then, there will be things to keep in mind.

When it was already possible to install Linux on a Mac years ago, what was previously known as Mac OS X was not capable of recovering the partition space if you wanted to remove Linux, for which you had to, if I remember correctly, start a Live Session, start the partition manager, leave the space empty and already, from Mac OS X, expand the size of the disk to occupy everything. Before executing the necessary script to install Linux on a Mac with M1, you have to know what will happen if you want to go back, and it is something that I cannot report because I have not carried out any tests.

Be that as it may, Deepin can already be run on the Mac Mini M1, and it is only a matter of time before everything will be as simple as before.


Add as preferred source in Google