Install Manjaro on new Macbook Air

I got a new MacBook Air for free. Actually, i’m running on it MacOS 11 (BigSur) and yabai (tiling window manager, similar to some extent to bspwm). But i’m sick of all the hassle with MacOS and Homebrew and would like to get a clean manjaro installation on it.

Now, i can boot from a usb stick attached to the usb3 connectors via an adapter. BUT: Since the built in graphic chip of the MacBook supports an enormous resolution (by default; up to: 2560x1600) so screen appearance (fonts images etc.) on the built-in screen is so small i cannot read (or click) anything.

So, my first question is:

How can i change/reduce the resolution on boot from the installer usb stick to 1440x900?

My second question:

Is there any problem known with this model macbook, something of the basic hardware, not being supported (not yet or absolutely not)? Especially, as i’m aware by sad experiences in the past, for the wireless and bluetooth … (at a first glance, i do not see them in what inxi says (?) ).

This is what ‘inxi -F’ tells:

System:    Host: MacBook-Air Kernel: Darwin 20.1.0 x86_64 bits: 64 Desktop: N/A OS: Darwin 20.1.0 
Use of uninitialized value in string eq at /usr/local/bin/inxi line 11258.
Machine:   Type: Laptop System: Apple product: MacBookAir8,2 v: 1.0 serial: FVFZP82LLYWJ 
           Mobo: Apple model: Mac-226CB3C6A851A671 serial: FV994561WYMLF07AH BIOS: Apple v: 1554.50.3.0.0 (iBridge rev: 0.1 
           date: 10/29/2020 
Argument "Unknown" isn't numeric in division (/) at /usr/local/bin/inxi line 6787.
Argument "Unknown" isn't numeric in division (/) at /usr/local/bin/inxi line 6791.
Battery:   ID-1: BAT0 charge: N/A condition: N/A/0.0 Wh 
CPU:       Topology: Quad Core model: Intel Core i5-8210Y bits: 64 type: MCP L2 cache: 256 KiB 
           Speed: 1600 MHz min/max: 400/400 MHz Core speeds (MHz): No speed data found for 4 cores. 
Graphics:  Message: No Device data found. 
           Display: server: X.Org 1.18.4 driver: N/A resolution: 1440x900 
           OpenGL: renderer: Intel UHD Graphics 617 v: 2.1 INTEL-16.0.49 
Audio:     Message: No Device data found. 
Network:   Message: No Device data found. 
           IF-ID-1: en3 state: active speed: 100baseTX duplex: full-duplex mac: ac:de:48:00:11:22 
           IF-ID-2: ap1 state: inactive speed: N/A duplex: N/A mac: fa:ff:c2:1d:1f:b0 
           IF-ID-3: en0 state: active speed: N/A duplex: N/A mac: f8:ff:c2:1d:1f:b0 
           IF-ID-4: en1 state: inactive speed: N/A duplex: full-duplex mac: 82:e7:8a:a4:58:01 
           IF-ID-5: en2 state: inactive speed: N/A duplex: full-duplex mac: 82:e7:8a:a4:58:00 
           IF-ID-6: bridge0 state: inactive speed: N/A duplex: unknown type mac: 82:e7:8a:a4:58:01 
           IF-ID-7: awdl0 state: active speed: N/A duplex: N/A mac: 3e:ea:78:3e:9c:39 
           IF-ID-8: llw0 state: active speed: N/A duplex: N/A mac: 3e:ea:78:3e:9c:39 
Drives:    Local Storage: total: dmesg.boot not found used: 95.96 GiB 
           Drive Report: dmesg.boot not found 
Partition: ID-1: / size: 112.71 GiB used: 13.91 GiB (12.3%) fs: apfs dev: /dev/disk1s6s1 
Swap:      Alert: No Swap data was found. 
Sensors:   Platform: No Darwin support. Is a comparable sensors tool available?

Thanks in advance for any help!

This would be a way
https://wiki.archlinux.org/index.php/GRUB/Tips_and_tricks#Setting_the_framebuffer_resolution

Or use custom kernel boot parameter with vga code. It seems the 1440x900 would be vga=869 so you add that right after the quiet when you edit the grub before booting. But, you have to use rEFit bootloader and install grub in legacy mode on /boot partition …

This is not a question you should ask us. We don’t deal apple.

Apple did their best to make sure their hardware runs their software and nothing else without a lot of work.
Generally this would answer a lot of questions, but mostly old models
https://wiki.archlinux.org/index.php/mac

Thanks for your suggestions.

Or use custom kernel boot parameter with vga code. It seems the 1440x900 would be vga=869 so you add that right after the quiet when you edit the grub before booting. But, you have to use rEFit bootloader and install grub in legacy mode on /boot partition …

Is this due to the vga settings or would that be generally the case - on an iMac i did a simple installation with grub in standard mode?

I know … :stuck_out_tongue_winking_eye: It was rather a “cry for help” by someone who already did succeed in installing manjaro (or arch) on a MacBook Air. Generally, in the past i had some success in re-enabling older Macs installing on them manjaro o arch. E.g., my desk machine is a 2013 iMac - which works, apparently, flawlessly …

As per arch wiki, the two iMac models presented there require a different approach, so i’m sure that a 2020 MacBook Air will require a different approach too for the install.

Probably because was the same procedure of install as the Mid 2010 iMac, hence required no much fuss, but newer models from apple are quite linux unfriendly …

the first macOS version to support Macs with ARM-based processors. - macOS Big Sur - Wikipedia

If the system is ARM based - I bet you will get older and your hair will become grey and fall off before you get Linux working on that one.

But as it apparently is x86_64 - my bet is still a grey haired old daddy - banging his head on wall - - and though it is a challenge - believe me it is not worth it.

image

For what it’s worth, I am running Manjaro on a MacBook Air 4,2 and it runs smooth as custard, with the exception of one thing (see below). I know I have a much older model, so I am not surprised if things don’t go that well with the newer models. You can see my inxi -F output below and compare.

The only problem I have is related to support for the aux output: When I listen to certain audioformats (I have yet to really look into which, or if there is any fix) I get distortions on all of the sound or on the dialogue. I am pretty sure it’s not the hardware that has broken, as sound from for instance Spotify alwyays works well. And I also assume that it’s linked to the software support for the aux output as there is never any problem when I use the internal speakers or bluetooth pairing. This didn’t use to be a problem, but it has been since an update about a year ago, if I remember correctly. The problem persists after fresh installs, so I guess some extra messing around with it will be necessary when I get time.

   System:
      Host: penguinbook Kernel: 5.9.3-1-MANJARO x86_64 bits: 64 
      Desktop: Xfce 4.14.2 Distro: Manjaro Linux 
    Machine:
      Type: Laptop System: Apple product: MacBookAir4,2 v: 1.0 
      serial: <superuser/root required> 
      Mobo: Apple model: Mac-742912EFDBEE19B3 v: MacBookAir4,2 
      serial: <superuser/root required> UEFI: Apple 
      v: MBA41.88Z.0077.B14.1510261805 date: 10/26/2015 
    Battery:
      ID-1: BAT0 charge: 12.9 Wh condition: 14.7/50.2 Wh (29%) 
    CPU:
      Info: Dual Core model: Intel Core i5-2557M bits: 64 type: MT MCP 
      L2 cache: 3072 KiB 
      Speed: 800 MHz min/max: 800/2700 MHz Core speeds (MHz): 1: 1093 2: 953 
      3: 1631 4: 800 
    Graphics:
      Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
      driver: i915 v: kernel 
      Device-2: Apple FaceTime Camera type: USB driver: uvcvideo 
      Display: x11 server: X.Org 1.20.9 driver: intel unloaded: modesetting 
      s-res: 1440x900 
      OpenGL: renderer: Mesa DRI Intel HD Graphics 3000 (SNB GT2) 
      v: 3.3 Mesa 20.2.1 
    Audio:
      Device-1: Intel 6 Series/C200 Series Family High Definition Audio 
      driver: snd_hda_intel 
      Sound Server: ALSA v: k5.9.3-1-MANJARO 
    Network:
      Device-1: Broadcom and subsidiaries BCM43224 802.11a/b/g/n driver: wl 
      IF: wlp2s0 state: up mac: b8:8d:12:07:29:aa 
    Drives:
      Local Storage: total: 113.00 GiB used: 21.13 GiB (18.7%) 
      ID-1: /dev/sda vendor: Apple model: SSD SM128C size: 113.00 GiB 
    Partition:
      ID-1: / size: 102.30 GiB used: 21.13 GiB (20.7%) fs: ext4 dev: /dev/sda2 
    Swap:
      ID-1: swap-1 type: partition size: 8.27 GiB used: 0 KiB (0.0%) 
      dev: /dev/sda3 
    Sensors:
      System Temperatures: cpu: 28.4 C mobo: N/A 
      Fan Speeds (RPM): N/A 
    Info:
      Processes: 192 Uptime: 5m Memory: 3.76 GiB used: 1.14 GiB (30.3%) 
      Shell: Bash inxi: 3.1.08

Ok, i’m already old and grey haired … :wink: May be you’re right: Not that good idea to make the situation even worse. Although, i’d love to run a clean i3 on it …

I don’t think is impossible to install it, but more investigation is required. Without the hands on such device i can only speculate. In some cases the use of acpi_osi=!Darwin was required as kernel boot parameter. Maybe on this new models needs to be different. acpi_osi=!Linux probably would do it, but i have no clue how the power management works on the newer models …
Have you considered trying Architect and collect some logs ?

I use the macbook air 7,2 with 5.10 and 5.4 but it works not great. Maybe because replaced the SSD with an Adapter. Cause higher latency.

On MacOS it crash after 2 minutes
$ sudo dmesg -l emerg,alert,crit,err,warn Linux 5.4.97

[    0.311745] MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details.
[    0.311745] TAA CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/tsx_async_abort.html for more details.
[    0.311745]  #3
[    0.314872] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[    1.470670] ACPI Error: Needed type [Reference], found [Integer] 0000000045d4a281 (20190816/exresop-66)
[    1.470675] ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for [Store] (20190816/dswexec-431)
[    1.470681] ACPI Error: Aborting method \_PR.CPU0._PDC due to previous error (AE_AML_OPERAND_TYPE) (20190816/psparse-529)
[    2.097615] nvme nvme0: missing or invalid SUBNQN field.
[    2.642460] usb: port power management may be unreliable
[    6.779116] facetimehd: loading out-of-tree module taints kernel.
[    6.827363] systemd-journald[278]: File /var/log/journal/ea9ca01e53184efda8fa3ff6045cbbd4/system.journal corrupted or uncleanly shut down, renaming and replacing.
[    7.233695] facetimehd 0000:02:00.0: Direct firmware load for facetimehd/1871_01XX.dat failed with error -2
[    7.756280] proc: Bad value for 'hidepid'
[    7.910504] applesmc applesmc.768: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    7.978616] urandom_read: 3 callbacks suppressed
[    8.413566] wl: module license 'MIXED/Proprietary' taints kernel.
[    8.413569] Disabling lock debugging due to kernel taint
[    8.463955] wlan0: Broadcom BCM43a0 802.11 Hybrid Wireless Controller 6.30.223.271 (r587334)

[   10.406163] proc: Bad value for 'hidepid'
[   10.576598] proc: Bad value for 'hidepid'
[   13.559913] proc: Bad value for 'hidepid'
[   13.625498] kauditd_printk_skb: 69 callbacks suppressed
[   26.135451] kauditd_printk_skb: 5 callbacks suppressed
[   39.583695] proc: Bad value for 'hidepid'
[   40.500477] ACPI Error: Aborting method \_SB.PCI0.WTLT due to previous error (AE_AML_LOOP_TIMEOUT) (20190816/psparse-529)
[   40.500494] ACPI Error: Aborting method \_GPE._L4D due to previous error (AE_AML_LOOP_TIMEOUT) (20190816/psparse-529)
[   40.500511] ACPI Error: AE_AML_LOOP_TIMEOUT, while evaluating GPE method [_L4D] (20190816/evgpe-511)
[   68.680026] [UFW BLOCK] IN=wlp3s0 OUT= MAC=01:00:5e:00:00:01:2c:3a:fd:ed:0c:12:08:00 SRC=192.168.178.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=47914 DF PROTO=2 
[   70.292485] [UFW BLOCK] IN=wlp3s0 OUT= MAC=d4:61:9d:0d:34:1a:2c:3a:fd:ed:0c:12:86:dd SRC=2001:16b8:303f:1700:2e3a:fdff:feed:0c12 DST=2001:16b8:303f:1700:0000:0000:0000:012a LEN=80 TC=0 HOPLIMIT=64 FLOWLBL=65800 PROTO=TCP SPT=38569 DPT=80 WINDOW=28640 RES=0x00 SYN URGP=0 
[   70.513772] ACPI Error: Aborting method \_SB.PCI0.WTLT due to previous error (AE_AML_LOOP_TIMEOUT) (20190816/psparse-529)
[   70.513787] ACPI Error: Aborting method \_GPE._L4D due to previous error (AE_AML_LOOP_TIMEOUT) (20190816/psparse-529)
[   70.513799] ACPI Error: AE_AML_LOOP_TIMEOUT, while evaluating GPE method [_L4D] (20190816/evgpe-511)
[   71.291253] [UFW BLOCK] IN=wlp3s0 OUT= MAC=d4:61:9d:0d:34:1a:2c:3a:fd:ed:0c:12:86:dd SRC=2001:16b8:303f:1700:2e3a:fdff:feed:0c12 DST=2001:16b8:303f:1700:0000:0000:0000:012a LEN=80 TC=0 HOPLIMIT=64 FLOWLBL=65800 PROTO=TCP SPT=38569 DPT=80 WINDOW=28640 RES=0x00 SYN URGP=0 
[   73.350676] [UFW BLOCK] IN=wlp3s0 OUT= MAC=d4:61:9d:0d:34:1a:2c:3a:fd:ed:0c:12:86:dd SRC=2001:16b8:303f:1700:2e3a:fdff:feed:0c12 DST=2001:16b8:303f:1700:0000:0000:0000:012a LEN=80 TC=0 HOPLIMIT=64 FLOWLBL=190401 PROTO=TCP SPT=38569 DPT=80 WINDOW=28640 RES=0x00 SYN URGP=0 
[   77.386017] [UFW BLOCK] IN=wlp3s0 OUT= MAC=d4:61:9d:0d:34:1a:2c:3a:fd:ed:0c:12:86:dd SRC=2001:16b8:303f:1700:2e3a:fdff:feed:0c12 DST=2001:16b8:303f:1700:0000:0000:0000:012a LEN=80 TC=0 HOPLIMIT=64 FLOWLBL=254167 PROTO=TCP SPT=38569 DPT=80 WINDOW=28640 RES=0x00 SYN URGP=0 
[   79.332614] [UFW BLOCK] IN=wlp3s0 OUT= MAC=d4:61:9d:0d:34:1a:2c:3a:fd:ed:0c:12:08:00 SRC=192.168.178.1 DST=192.168.178.178 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=55697 DF PROTO=TCP SPT=38793 DPT=80 WINDOW=29200 RES=0x00 SYN URGP=0 
[   80.355649] [UFW BLOCK] IN=wlp3s0 OUT= MAC=d4:61:9d:0d:34:1a:2c:3a:fd:ed:0c:12:08:00 SRC=192.168.178.1 DST=192.168.178.178 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=55698 DF PROTO=TCP SPT=38793 DPT=80 WINDOW=29200 RES=0x00 SYN URGP=0 
[   82.403392] [UFW BLOCK] IN=wlp3s0 OUT= MAC=d4:61:9d:0d:34:1a:2c:3a:fd:ed:0c:12:08:00 SRC=192.168.178.1 DST=192.168.178.178 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=55699 DF PROTO=TCP SPT=38793 DPT=80 WINDOW=29200 RES=0x00 SYN URGP=0 
[   86.302187] [UFW BLOCK] IN=wlp3s0 OUT= MAC=d4:61:9d:0d:34:1a:2c:3a:fd:ed:0c:12:08:00 SRC=192.168.178.1 DST=192.168.178.178 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=55700 DF PROTO=TCP SPT=38793 DPT=80 WINDOW=29200 RES=0x00 SYN URGP=0 
[  193.707702] [UFW BLOCK] IN=wlp3s0 OUT= MAC=01:00:5e:00:00:01:2c:3a:fd:ed:0c:12:08:00 SRC=192.168.178.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=60606 DF PROTO=2 
[  213.750808] proc: Bad value for 'hidepid'
[  318.734888] [UFW BLOCK] IN=wlp3s0 OUT= MAC=01:00:5e:00:00:01:2c:3a:fd:ed:0c:12:08:00 SRC=192.168.178.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=20152 DF PROTO=2 
[  443.659657] [UFW BLOCK] IN=wlp3s0 OUT= MAC=01:00:5e:00:00:01:2c:3a:fd:ed:0c:12:08:00 SRC=192.168.178.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=24111 DF PROTO=2 
[  478.681264] [UFW BLOCK] IN=wlp3s0 OUT= MAC=d4:61:9d:0d:34:1a:2c:3a:fd:ed:0c:12:86:dd SRC=2001:16b8:303f:1700:2e3a:fdff:feed:0c12 DST=2001:16b8:303f:1700:0000:0000:0000:012a LEN=80 TC=0 HOPLIMIT=64 FLOWLBL=151019 PROTO=TCP SPT=36274 DPT=80 WINDOW=28640 RES=0x00 SYN URGP=0 
[  479.705207] [UFW BLOCK] IN=wlp3s0 OUT= MAC=d4:61:9d:0d:34:1a:2c:3a:fd:ed:0c:12:86:dd SRC=2001:16b8:303f:1700:2e3a:fdff:feed:0c12 DST=2001:16b8:303f:1700:0000:0000:0000:012a LEN=80 TC=0 HOPLIMIT=64 FLOWLBL=151019 PROTO=TCP SPT=36274 DPT=80 WINDOW=28640 RES=0x00 SYN URGP=0 
[  481.651398] [UFW BLOCK] IN=wlp3s0 OUT= MAC=d4:61:9d:0d:34:1a:2c:3a:fd:ed:0c:12:86:dd SRC=2001:16b8:303f:1700:2e3a:fdff:feed:0c12 DST=2001:16b8:303f:1700:0000:0000:0000:012a LEN=80 TC=0 HOPLIMIT=64 FLOWLBL=363853 PROTO=TCP SPT=36274 DPT=80 WINDOW=28640 RES=0x00 SYN URGP=0 
[  485.747201] [UFW BLOCK] IN=wlp3s0 OUT= MAC=d4:61:9d:0d:34:1a:2c:3a:fd:ed:0c:12:86:dd SRC=2001:16b8:303f:1700:2e3a:fdff:feed:0c12 DST=2001:16b8:303f:1700:0000:0000:0000:012a LEN=80 TC=0 HOPLIMIT=64 FLOWLBL=351929 PROTO=TCP SPT=36274 DPT=80 WINDOW=28640 RES=0x00 SYN URGP=0 
[  487.695904] [UFW BLOCK] IN=wlp3s0 OUT= MAC=d4:61:9d:0d:34:1a:2c:3a:fd:ed:0c:12:08:00 SRC=192.168.178.1 DST=192.168.178.178 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=20017 DF PROTO=TCP SPT=38436 DPT=80 WINDOW=29200 RES=0x00 SYN URGP=0 
[  488.718467] [UFW BLOCK] IN=wlp3s0 OUT= MAC=d4:61:9d:0d:34:1a:2c:3a:fd:ed:0c:12:08:00 SRC=192.168.178.1 DST=192.168.178.178 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=20018 DF PROTO=TCP SPT=38436 DPT=80 WINDOW=29200 RES=0x00 SYN URGP=0 
[  490.662661] [UFW BLOCK] IN=wlp3s0 OUT= MAC=d4:61:9d:0d:34:1a:2c:3a:fd:ed:0c:12:08:00 SRC=192.168.178.1 DST=192.168.178.178 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=20019 DF PROTO=TCP SPT=38436 DPT=80 WINDOW=29200 RES=0x00 SYN URGP=0 
[  494.656197] [UFW BLOCK] IN=wlp3s0 OUT= MAC=d4:61:9d:0d:34:1a:2c:3a:fd:ed:0c:12:08:00 SRC=192.168.178.1 DST=192.168.178.178 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=20020 DF PROTO=TCP SPT=38436 DPT=80 WINDOW=29200 RES=0x00 SYN URGP=0