Installation Memo for Debian GNOME on Mac Mini M1
I’ve long heard about Asahi Linux, and today I gave it a try, and it’s indeed impressive. Previously, I followed the official documentation to install Fedora, only to find out there are mature scripts available for direct Debian installation. Today, I finally mustered the courage to try my hand at installing on Mac, start the challenge like a newbie!
You can:
-
Follow the official installation guide, which is quite detailed, just follow the steps.
-
Refer to a YouTube blogger’s installation video, which is also comprehensive.
My Environment:
|
|
Installation
First, run the following installation script:
|
|
The script will guide you through what needs to be done. Just follow the steps.
After installation, shut down your Mac Mini. Then, long-press the power button to enter the boot page, and choose the Asahi Linux you just installed. Follow the prompts to enter the password and confirm some information.
After rebooting, you’ll enter the command-line interface.
Set Root Password
The first thing to do after logging in is to set the root password:
Connect to WIFI
Manually connect to WIFI:
|
|
[!CAUTION]
If you’re more comfortable with vi, you can use vi. If using nano, you can save with CTRL + O and exit with CTRL + X.
Enter the WIFI name into ssid
and the password into psk
, for example:
Then start WIFI connection:
|
|
After seeing the internal network address successfully assigned, try pinging any address to test the network connection, which is crucial. Then activate the newly connected network interface:
|
|
Remove the # in front of allow-hotplug
, for example:
|
|
Create User
Next, create a user (we shouldn’t always use root to log in):
|
|
Replace your name
and username
with yours.
Then set the password:
|
|
Change Source (Optional)
Now, let’s manually install the desktop system. But before that, if you don’t have a router or any other device to quickly connect to the Debian official source, you need to modify apt’s source. Here I use my pastebin, it’s public, you can use it too, https://pb.bdim.moe. If you’re storing sensitive information, I recommend setting a short lifespan and using a password for verification, or generating a long link.
Copy the content into it, then you can get its content. However, note that when using sources like Tsinghua, you need to check “Force secure updates using mirrors”.
This changes the source. Try updating to see if there’s any problem:
|
|
Install GNOME
If your network is fine, we can start installing the graphical desktop. You can choose KDE like the official or the YouTube blogger mentioned above, or choose GNOME like me. If you choose GNOME, let’s begin!
It’s very simple:
|
|
After successful installation, shut down or restart directly, and you’ll see the normal graphical desktop!
WIFI Issue
Many might encounter a situation like mine, where after entering the system, the WIFI panel is blank, but surprisingly, there’s a network. No matter how you toggle the WIFI button, it doesn’t work. Here’s a post that might help you. Simply put:
|
|
Comment out these two:
|
|
Also, here:
|
|
Change it to:
After the operation, you need to restart for the changes to take effect.
Time Synchronization Issue
This is also very simple:
|
|
Now you should see the time synchronized accurately. However, you may need to go to the settings to modify your time zone. If you want to use location, you need to open location permissions in Privacy first, and then enable automatic location acquisition in the time settings. But it’s recommended to set it manually.
Install Telegram
As of now, only snapcraft has specifically supported the Asahi version of Telegram.
There’s nothing else particularly noteworthy. For further details, you can refer to my article:
Debian GNOME Installation Configuration Memo
Show
Reference Links: