top | item 30729212

Asahi Linux alpha release

587 points| robbiet480 | 4 years ago |asahilinux.org

220 comments

order
[+] zamadatix|4 years ago|reply
It's a bit early (obviously, hence Alpha) but if the pace and purpose of the project make you excited consider bumping a few dollars towards the donation links in the article to help these folks afford to get it done. Marcan is a wizard and Povik has been making great progress but these machines aren't cheap nor their time unlimited!
[+] hbbio|4 years ago|reply
Backing as well, soon enough it will be impossible to find a better machine than a Macbook Air running Linux at this price point!

The processor is outstanding, so is battery life and the screen and touchpad are incredibly better than any Dell or Lenovo out there.

Give us the opportunity to get rid of the increasing number of "cruft" that is Photos, Messages, iCloud, and countless demons in macOS... are we are good to go!

[+] makapuf|4 years ago|reply
Kudos to the people involved in this on their own time and the people donating to them supportive. Its not so nice that a trillion valued company needs charity to run an experiment which might prove useful to them technically.
[+] jasoneckert|4 years ago|reply
I just installed this - the installation experience was easy and guided you through the tasks that were happening and why. I gave it 100GB of space on my 16GB Mac Mini, and Asahi runs incredibly fast and smooth. Very impressed!
[+] capableweb|4 years ago|reply
Incredibly impressive that Asahi Linux seems to have achieved the impossible: give us more physical disk space via just software!
[+] n42|4 years ago|reply
this is incredible, congratulations to everyone involved in making this happen. there's already instructions for a NixOS install, too[1]

[1]: https://github.com/tpwrules/nixos-m1/blob/main/docs/uefi-sta...

[+] loop0|4 years ago|reply
that’s great! I’ve been a long time Fedora user but last year I decided to try NixOS and I couldn’t be more surprised, everything works well and it was easy to install and learn. I’m glad I can try it in my m1 macbook pro!
[+] tyingq|4 years ago|reply
Probably won't happen, but it's interesting that all the things you would need for an "x-serve next-gen" to be successful have fallen into place now. Would make a pretty power packed and efficient 1U machine.
[+] zamadatix|4 years ago|reply
Server on the M1 Mac Mini is really already there unless you need thunderbolt accessories or GPU acceleration for your server use case. Even the 10G port is working fine now. I was actually just looking into some of the 1u 2x Mac Mini mount options prior to reading this wondering if it'd make sense to do.

The Mac Studio bring-up might be worth waiting for on this use case though, apart from more cores it crucially has more RAM options. While the SSD is comparatively fast to swap from what most are used to dealing with the 16 GB of RAM limit on the Mini can still be between a real downer to a non-starter for many server workloads.

[+] n42|4 years ago|reply
I’m already dreaming of a near silent M1 Mac Mini server rack for my closet..
[+] WhyNotHugo|4 years ago|reply
I’ve been wanting to set up a couple of small home servers (something like some raspberry pis). They’ve been out of stock since forever and very hard to come across. It’s been months since this project is paused.

I’m considering just getting a Mac Mini and using that as a home server with everything in it.

[+] _ph_|4 years ago|reply
Exciting news! While I am mainly a Mac user, Linux is the other operation system I use (usually via VM on the Mac) and the one alternative operating system I would use, if I would not have a Mac. Being able to boot into Linux directly adds a lot of value. While I don't have an ARM Mac yet, this gives even more incentive to order a Mac Studio :) (I assume support for that is coming soon).

I am wondering why Apple doesn't support this more directly. That would be just a tiny drop out of the marketing budget. But at least there seems to be some good will in the relevant OS department with recent changes from which Asahi Linux benefited.

On a side note, as long as the graphics are CPU rendered, is this rendering multi-threaded and would benefit from the beefier M chips?

[+] mark_l_watson|4 years ago|reply
I agree with you that it would be good if Apple supported Linux containers directly, like ChromeOS and Windows. I bought a $350 Lenovo Chromebook last year and in addition to touchscreen and included keyboard case and pencil, it also has seamless integration for using Linux containers. I don’t own a Windows machine, but I have heard good reports about their Linux container system.

All that said, I would be delighted if Apple supported an M1 version of VirtualBox.

[+] legodion|4 years ago|reply
Ironically a MacBook would be the best hardware Linux could presently run on.

If everything works reliably well, this could be a game changer for Linux.

[+] brundolf|4 years ago|reply
A super interesting angle with all this is that since these machines are so homogenous and widely-used, once the ice is broken they could quickly become the best-supported modern Linux machines out there, just due to the sheer number of people who would have the exact same hardware (vs the rest of the landscape, which is much more spotty and varied), and the way that would reduce the support burden. Getting the audio drivers working on Apple Silicon machines could be much more impactful than getting them working on the MSI Delta 15 or whatever
[+] riffraff|4 years ago|reply
I ran Linux on the first Intel MacBook and that too was great hardware for it at the time, I don't think it matters that much for linux' success.
[+] dang|4 years ago|reply
Related:

Linux on an M1 Mac - https://news.ycombinator.com/item?id=30717758 - March 2022 (136 comments)

AsahiLinux's Introduction to Apple Silicon - https://news.ycombinator.com/item?id=30699794 - March 2022 (5 comments)

Asahi Linux Add Support for the Broadcom FullMAC WiFi Chips Used on Apple T2/M1 - https://news.ycombinator.com/item?id=29694497 - Dec 2021 (9 comments)

Apple Helps Asahi Linux - https://news.ycombinator.com/item?id=29591578 - Dec 2021 (174 comments)

Asahi Linux for M1 Macs Progress October-November 2021 - https://news.ycombinator.com/item?id=29564384 - Dec 2021 (211 comments)

Asahi Linux for M1 Macs: progress report for September 2021 - https://news.ycombinator.com/item?id=28762744 - Oct 2021 (186 comments)

Asahi Linux for Apple M1 progress report, August 2021 - https://news.ycombinator.com/item?id=28180135 - Aug 2021 (183 comments)

Asahi Linux Progress Report: January/February 2021 - https://news.ycombinator.com/item?id=26421963 - March 2021 (65 comments)

Asahi Linux: Linux on Apple Silicon project - https://news.ycombinator.com/item?id=25649719 - Jan 2021 (405 comments)

[+] watmough|4 years ago|reply
Awesome!! Posting from it now after about 2 hours or so to backup some stuff and run through the installer with a couple glasses wine.

Super slick. No issues.

[+] jaime10|4 years ago|reply
I made a quick guide to install and configure Sway on the Macbook Air. Should be useful to solve some touchpad and scaling issues with the defaul sway settings. https://github.com/jaime10a/SwayM1
[+] zamadatix|4 years ago|reply
It's probably better to swap the command and option keys via the swap_opt_cmd=1 parameter on the hid-apple kernel module that way they are globally swapped, not just in sway. fnmode=2 is another useful one which sets f1-f10 to be function keys by default so e.g. pressing f10 sends f10, not mute because you forgot to press fn+f10.

You can find some other options in https://github.com/torvalds/linux/blob/c5d9ae265b105d9a67575... as well

[+] gjsman-1000|4 years ago|reply
Wrote this reply from Asahi which I installed earlier this afternoon before the announcement. Works well and the installer was pretty good for alpha. :)
[+] DougMellon|4 years ago|reply
The work they have accomplished and the speed at which they have done it is inspiring.
[+] mattl|4 years ago|reply
Yep. Turns out paying talented and motivated people works.
[+] qiskit|4 years ago|reply
> At least 53GB of free disk space (Desktop install)

Wowsa. I know disk space is abundant but that is still shocking. I've never used MacOS, but why does it need at least 38 GB free for MacOS update?

> You need 15GB for Asahi Linux Desktop

Wowsa number 2. I'm used light installs using lightweight windows managers or desktops so that number was a bit shocking. Anyone else prefer a small base onto which you can add software rather than getting everything and having to uninstall a bunch of software?

[+] zozbot234|4 years ago|reply
Asahi Linux Desktop is a default install. A minimal Arch install is also available, as well as a UEFI-only implementation. There is a fixed ~3GB overhead per 'Other OS' install for OS-specific vendor firmware, but a UEFI install is managed as a single 'Other OS' and can freely boot UEFI payloads from both internal and external drives.
[+] gjsman-1000|4 years ago|reply
The macOS Software Updater is extremely inefficient with space - you want plenty free or it might get stuck.

As for the 15GB, 2.5GB must be used for the mandatory Recovery partition as well as leaving room for the recovery partition to have extra room if necessary, because it can’t be easily expanded later.

That leaves 12.5GB for your desktop Linux and any free space for your apps or files. You can use Expert Mode to go smaller with either macOS or Asahi but I’d say they are reasonable guidelines.

[+] rvz|4 years ago|reply
>> At least 53GB of free disk space (Desktop install)

Very surprised by this, but to be fair this is an alpha. So I expect them to drive that down drastically when it is stable anyway.

It may not be the friendliest of installers, but hey that Linux. Or perhaps someone can do a user-friendly AsahiInstaller.app as well?

[+] cloudwizard|4 years ago|reply
Excited about this. I like the Mac HW but hate MacOs. I can't delete iTunes, books, etc. Switched development to a Chromebook for a decent Linux experience.
[+] Wowfunhappy|4 years ago|reply
> I can't delete iTunes, books, etc.

You still can if you really, really want to, it has just become excessively annoying. (I don’t blame you at all for switching OS’s)

[+] e40|4 years ago|reply
Santa allows you to disable them, however.
[+] boris|4 years ago|reply
Does anyone know if virtualization (e.g., kvm/qemu) would work? Didn't see any mention of that in the FAQ.
[+] _ph_|4 years ago|reply
From earlier tweets by Hector I remember that virtualization is working and he was able to run Mac OS inside a VM on Linux.
[+] gundamdoubleO|4 years ago|reply
Excited to try this out. Still missing a few crucial features for me to fully adopt it as a daily driver but the speed of this project has been incredibly impressive. Can't wait to see how it looks 1 or 2 years down the line.
[+] blindmute|4 years ago|reply
I'm out of the loop on this one. Is M1 a new architecture, and if so does that mean any distro would have to recompile every package in the repo to target it? How long would that take for a typical distribution?
[+] 58028641|4 years ago|reply
No, M1 is ARM64, so any existing ARM64 compatible packages will work. However, some packages may not be compatible with 16K pages, so you may need the 4K page version of the kernel. Linux (unlike macOS) does not support mixed page sizes (edit: at least with M1) so it will result in reduced performance for the whole system if you need 4K pages.
[+] zamadatix|4 years ago|reply
M1 is ARMv8.4-A based, standard aarch64 binaries run e.g. I'm able to download and run Caddy using the standard arm64 binary.
[+] beebeepka|4 years ago|reply
Current Apple hardware is pretty sweet. My heart has been with AMD for decades but if they make this work, in a few years I might buy my first Mac.
[+] xiaodai|4 years ago|reply
Still waiting for my Budweiser Linux