docker-to-linux icon indicating copy to clipboard operation
docker-to-linux copied to clipboard

aarch64 support for M1 Mac Silicon

Open ramet opened this issue 3 years ago • 3 comments

It works fine on a Mac M1 but since it doesn't run in native mode, without acceleration, the result is a bit slow.

I try to get a working solution starting from your work with

  • switching to arm docker image, for instance : FROM --platform=linux/arm64/v8 ubuntu:20.04
  • specify EFI option for qemu-system-aarch64 following : https://www.sevarg.net/2021/01/09/arm-mac-mini-and-boinc/
  • but I failed to install a bootloader to this image...

Has anyone tried with an arm version or has the information to build a bootable linux system for Mac M1?

ramet avatar Jul 26 '22 16:07 ramet

I'd love to make it work on Arm as well, but at the moment, I simply don't have any spare capacity for this project. Overall, sounds like you're following the right direction.

iximiuz avatar Aug 26 '22 16:08 iximiuz

Fedora/Debian images run slick on M1/M2 under UTM App https://www.youtube.com/watch?v=1WWj6qoWhJw

For the day job I need to roll amazonlinux:2 and amazonlinux:2022 virtual machines. The later exists no-where AFAIK.

I was thinking of whacking the bootloader/kernel out of a Fedora 37 ISO for aarch64 and amd64. Is this insane?

Fedora arm minimal seems to be here https://arm.fedoraproject.org

chadbrewbaker avatar Nov 07 '22 22:11 chadbrewbaker

@chadbrewbaker I'm afraid this is (still) outside of my area of expertise. I'd love to get deeper into this wonderful world of Linux distributions and image builders, but there is only 24 hours in my day 🙈

iximiuz avatar Nov 09 '22 11:11 iximiuz