r/linux_on_mac • • 1h ago

Dual boot OCLP-Mac OS and Linux?

1 Upvotes

I have a 2014 Macbook Air with 4GB of RAM - have done several dual Linux/MacOS installs on other machines with no issues, even involving OCLP, but for some reason struggling here.

I installed MacOS Monterey (using OpenCore Legacy Patcher, as this machine maxes out at Big Sur), and then created a partition for Linux using Disk Utility. I then successfully booted into a Linux Mint Xfce live USB, and installed Linux on that partition. Then it rebooted, and all seemed well.

However, I then tried to go back onto MacOS and it seemed very slow and got stuck on boot. So I did a PRAM reset, and after that the bootpicker (both the Apple one, and the OCLP one) just couldn't see the Linux partition. I tried to do a Boot repair but it didn't work.

What could be happening - is this a Mint Xfce issue potentially? (I previously managed a dual OCLP Sequoia and Mint Cinnamon on a 2017 MBP and it was fine). I just wanted to tinker a bit with Linux...


r/linux_on_mac • • 22h ago

Macbook Air 2017 14-inch, $40 at thrift store 90 percent battery

22 Upvotes

I bought a MBA for $40. It had the original owner's account on it, which was encrypted. I contacted them (I think) on FB but no response so I installed Mint with XFCE, even though it has 8gb ram. It's working great. I did spend about an hour or so with AI trying to not get it to freeze when it went into sleep or suspend, but then eventually turned off all of the sleep/suspend stuff because it was not going to happen. I also installed MBPFan to manage the heat. I just have to be careful to not shut the lid and leave it turned on in my backpack because it gets kind of hot. I also configured it so that it shows all of the logs and activity in text when you boot the machine, because it looks cool. I just wanted to share my experience.


r/linux_on_mac • • 8h ago

Is Tails OS possible to run on a mac (pre-2019, aka not-silicon!)

0 Upvotes

Has anyone ever tried that? I get conflicted answers so far and I am not even sure if they even support it! But again macbooks are just normal machines pre-silicon era!


r/linux_on_mac • • 13h ago

Macbook Pro A1398 - Falls back to read only-filesystem.

1 Upvotes

Hey everyone. Purchased a 15 inch A1398 Macbook pro of Vinted and wanted to tinker with Linux. After installing Debian (or Mint) things work great for a while but then I got the error that my SSD suddenly became a "read only filesystem".

Did some reading and turned out it might be the drive, so got another 512Gig Apple SSD Blade and replaced the one I had.

Installed Linux Mint Mate edition yesterday. Initial install ok, but after one or 2 reboots ... same thing : Read only filesystem error and after rebooting the system crashes on a busybox prompt.

Question: Is it the drive? The hardware? Do I need to reset Pram ... or is the logic board toast ?

Thanx for your insights.


r/linux_on_mac • • 21h ago

Slight grain in display.

Thumbnail reddit.com
1 Upvotes

r/linux_on_mac • • 1d ago

Mine OS runs now on Apple Silicon!

Post image
43 Upvotes

It’s Asahi Linux drivers but patched with USB booting etc. So now it can boot an Linux installer without errors finding the USB.

I only tested on M1 Pro and the supported are: M1 M2 M3 and all of them including their Pro, Ultra or Max variant..

Soon I will do more testing and then I will upload on GitHub..

Also sorry for my English…


r/linux_on_mac • • 1d ago

i need help!

2 Upvotes

i have a macbook air that i run ubuntu on..now, i would like to put high sierra back on it..and so here in lies the problem..when i installed ubuntu, i lost my onboard keyboard..and i only have one usb port...so how do i boot from the flashdrive...i cant get it to do anything except hit the grub menu..somebody help me...i dont kno all the information needed or whatever, but id b glad to provide whatever..


r/linux_on_mac • • 1d ago

HowTO enable TouchID on M1 MBA

Post image
2 Upvotes

r/linux_on_mac • • 1d ago

Using a second imac running mint as a monitor.

1 Upvotes

I had wanted to run a second 21.5" monitor as a second display for my linuxmint 2012 retina imax. Using claude, we figured out how to make it work.

Title: Working setup: old 21.5" iMac as a true extended (not mirrored) second display for Linux Mint, using netscreen-extend + Sunshine + Moonlight

TL;DR: My main machine is a 21.5" Retina iMac running Linux Mint. An older 21.5" iMac on my left now works as a genuine extended display: drag a window off the left edge of the main screen and it appears on the other one. netscreen-extend creates a virtual output, a dedicated Sunshine instance streams it, and Moonlight on the second iMac shows it, all over wired Gigabit Ethernet. It took some fixing to get there, so here's what worked in case it helps anyone else.

BACKGROUND

I moved my Retina iMac from macOS to Linux Mint and wanted a second screen. The usual Apple options don't apply. Target Display Mode needs macOS and only works on older iMacs. Sidecar, AirPlay to Mac and Universal Control are also macOS-only. Old iMacs cost very little second-hand, so rather than buy a separate monitor I wanted a Linux-native way to use one as a true extended display.

THE SETUP

Host: 21.5" Retina iMac (2015) with Intel Iris Pro 6200 graphics and the i915 driver. It runs Linux Mint (Ubuntu 24.04 base) in an X11 session and sits directly in front of me.

Client (the display): an older 21.5" iMac with AMD Radeon graphics (r600 driver). It runs Linux Mint (Ubuntu 24.04 base) and sits on my left.

Both are wired into the same Gigabit network. All streaming traffic is deliberately kept off Wi-Fi.

Signal path: the Retina iMac creates a virtual output, HDMI-1, at 1920x1080@60, placed to the left of the Retina panel (DP-3). Sunshine captures it with X11 capture and encodes H.264 using VAAPI. The stream crosses wired Gigabit Ethernet to Moonlight (Flatpak) on the second iMac, which shows it full screen with H.264 hardware decode.

It's a network display, so expect slight latency and some compression softness. Over a cable it's very usable for documents, email and browsing. It's not suitable for gaming or colour-critical work.

STEP 1: CHECK THE HOST

Run echo $XDG_SESSION_TYPE. It must say x11, because netscreen-extend doesn't support Wayland.

Run inxi -Gxx and xrandr --query to see your GPU and connector names. On mine, the Retina panel is DP-3 and HDMI-1 was free to use as the virtual output.

STEP 2: INSTALL NETSCREEN-EXTEND

cd \~

git clone https://github.com/daeoxide/netscreen-extend.git

cd netscreen-extend

./install.sh

There are two gotchas on Mint.

First, the installer's apt line includes flock. That isn't a valid package name on Mint, and flock is already installed as part of util-linux, so remove it from the line.

Second, Sunshine is not bundled with netscreen-extend. Install it separately from LizardByte's official releases. The Ubuntu 24.04 .deb works on Mint 22.

When the installer asks where to put the new display, choose the left.

STEP 3: THE FIXES THAT MADE IT WORK

Set the output by name, not by number. In \~/.config/netscreen-extend/config, set SUNSHINE_OUTPUT_INDEX=HDMI-1. With a number, Sunshine fell back to capturing the whole desktop.

Force X11 capture. Sunshine's default KMS capture mirrored the wrong screen. Adding capture = x11 to \~/netscreen-extend/templates/sunshine.conf.in fixed it.

Match the scaling. Windows were sized wrongly on the second screen until I ran the Retina panel at 1920x1080 at 100% scale, the same as the virtual output.

Don't open Mint's Display settings while netscreen is running. It froze my whole system and needed a hard power-off. Set the layout with the helper scripts in Step 5 instead.

STEP 4: MOONLIGHT ON THE SECOND iMAC

Install Moonlight:

flatpak install flathub com.moonlight_stream.Moonlight

Check hardware decode:

vainfo | grep -i h264

To pair, Moonlight shows a PIN. Enter it in the dedicated Sunshine web UI on the host at https://localhost:48090, which is netscreen's Sunshine port 48089 plus one.

Settings: 1920x1080, 60 FPS, H.264, about 50 Mbps, full screen.

To skip clicking through Moonlight each time, this command goes straight to the extended desktop:

flatpak run com.moonlight_stream.Moonlight stream \[host name as shown in Moonlight\] Desktop

I put that in Startup Applications on the second iMac.

STEP 5: DAILY USE

I use two small helper scripts on the host. screens-on sets the Retina to 1920x1080 at 100% and starts netscreen. screens-off stops netscreen and removes the virtual display.

screens-on always runs netscreen off first and waits a few seconds before starting. Without that, a leftover Sunshine instance kept hold of the ports, and Moonlight showed the host as offline with "Connection refused".

Two useful checks: ss -tln | grep 480 should list ports 48084, 48089 and 48090, and pgrep -af sunshine should show only one instance.

BONUS: SCREEN BLANKING IN SYNC

While Moonlight is streaming, the second iMac never blanks its screen. To fix this, a small watcher script on the host notices when the Retina screen goes dark. It then uses SSH with key login to switch off the second iMac's backlight, and switches it back on when the Retina wakes. On the client, sudo is restricted to that one backlight script.

RESULT

Two iMacs side by side, one desktop, windows dragging freely between them, all on Linux Mint. Happy to answer questions or share the scripts.


r/linux_on_mac • • 2d ago

Mint Mate on Imac

Post image
12 Upvotes

iMac late 2013 work`s great on Linux Mint.


r/linux_on_mac • • 2d ago

Y'all I did it finally

Post image
8 Upvotes

r/linux_on_mac • • 1d ago

Using a second imac running mint as a monitor.

Thumbnail reddit.com
1 Upvotes

Title: Working setup: old 21.5" iMac as a true extended (not mirrored) second display for Linux Mint, using netscreen-extend + Sunshine + Moonlight

TL;DR: My main machine is a 21.5" Retina iMac running Linux Mint. An older 21.5" iMac on my left now works as a genuine extended display: drag a window off the left edge of the main screen and it appears on the other one. netscreen-extend creates a virtual output, a dedicated Sunshine instance streams it, and Moonlight on the second iMac shows it, all over wired Gigabit Ethernet. It took some fixing to get there, so here's what worked in case it helps anyone else.

BACKGROUND

I moved my Retina iMac from macOS to Linux Mint and wanted a second screen. The usual Apple options don't apply. Target Display Mode needs macOS and only works on older iMacs. Sidecar, AirPlay to Mac and Universal Control are also macOS-only. Old iMacs cost very little second-hand, so rather than buy a separate monitor I wanted a Linux-native way to use one as a true extended display.

THE SETUP

Host: 21.5" Retina iMac (2015) with Intel Iris Pro 6200 graphics and the i915 driver. It runs Linux Mint (Ubuntu 24.04 base) in an X11 session and sits directly in front of me.

Client (the display): an older 21.5" iMac with AMD Radeon graphics (r600 driver). It runs Linux Mint (Ubuntu 24.04 base) and sits on my left.

Both are wired into the same Gigabit network. All streaming traffic is deliberately kept off Wi-Fi.

Signal path: the Retina iMac creates a virtual output, HDMI-1, at 1920x1080@60, placed to the left of the Retina panel (DP-3). Sunshine captures it with X11 capture and encodes H.264 using VAAPI. The stream crosses wired Gigabit Ethernet to Moonlight (Flatpak) on the second iMac, which shows it full screen with H.264 hardware decode.

It's a network display, so expect slight latency and some compression softness. Over a cable it's very usable for documents, email and browsing. It's not suitable for gaming or colour-critical work.

STEP 1: CHECK THE HOST

Run echo $XDG_SESSION_TYPE. It must say x11, because netscreen-extend doesn't support Wayland.

Run inxi -Gxx and xrandr --query to see your GPU and connector names. On mine, the Retina panel is DP-3 and HDMI-1 was free to use as the virtual output.

STEP 2: INSTALL NETSCREEN-EXTEND

cd ~

git clone https://github.com/daeoxide/netscreen-extend.git

cd netscreen-extend

./install.sh

There are two gotchas on Mint.

First, the installer's apt line includes flock. That isn't a valid package name on Mint, and flock is already installed as part of util-linux, so remove it from the line.

Second, Sunshine is not bundled with netscreen-extend. Install it separately from LizardByte's official releases. The Ubuntu 24.04 .deb works on Mint 22.

When the installer asks where to put the new display, choose the left.

STEP 3: THE FIXES THAT MADE IT WORK

Set the output by name, not by number. In ~/.config/netscreen-extend/config, set SUNSHINE_OUTPUT_INDEX=HDMI-1. With a number, Sunshine fell back to capturing the whole desktop.

Force X11 capture. Sunshine's default KMS capture mirrored the wrong screen. Adding capture = x11 to ~/netscreen-extend/templates/sunshine.conf.in fixed it.

Match the scaling. Windows were sized wrongly on the second screen until I ran the Retina panel at 1920x1080 at 100% scale, the same as the virtual output.

Don't open Mint's Display settings while netscreen is running. It froze my whole system and needed a hard power-off. Set the layout with the helper scripts in Step 5 instead.

STEP 4: MOONLIGHT ON THE SECOND iMAC

Install Moonlight:

flatpak install flathub com.moonlight_stream.Moonlight

Check hardware decode:

vainfo | grep -i h264

To pair, Moonlight shows a PIN. Enter it in the dedicated Sunshine web UI on the host at https://localhost:48090, which is netscreen's Sunshine port 48089 plus one.

Settings: 1920x1080, 60 FPS, H.264, about 50 Mbps, full screen.

To skip clicking through Moonlight each time, this command goes straight to the extended desktop:

flatpak run com.moonlight_stream.Moonlight stream [host name as shown in Moonlight] Desktop

I put that in Startup Applications on the second iMac.

STEP 5: DAILY USE

I use two small helper scripts on the host. screens-on sets the Retina to 1920x1080 at 100% and starts netscreen. screens-off stops netscreen and removes the virtual display.

screens-on always runs netscreen off first and waits a few seconds before starting. Without that, a leftover Sunshine instance kept hold of the ports, and Moonlight showed the host as offline with "Connection refused".

Two useful checks: ss -tln | grep 480 should list ports 48084, 48089 and 48090, and pgrep -af sunshine should show only one instance.

BONUS: SCREEN BLANKING IN SYNC

While Moonlight is streaming, the second iMac never blanks its screen. To fix this, a small watcher script on the host notices when the Retina screen goes dark. It then uses SSH with key login to switch off the second iMac's backlight, and switches it back on when the Retina wakes. On the client, sudo is restricted to that one backlight script.

RESULT

Two iMacs side by side, one desktop, windows dragging freely between them, all on Linux Mint. Happy to answer questions or share the scripts.


r/linux_on_mac • • 2d ago

mbp 15,3 hybrid graphics - vega 20

5 Upvotes

Hello,

I own a rather rare MacBook Pro configuration: a 15-inch MacBookPro15,3 with a Radeon Pro Vega 20 hybrid dGPU.

I’m hoping to switch to Linux once macOS support for my Mac ends, but having such an uncommon configuration seems to make things more complicated.

From what I’ve read on the KaiT2en Discord, it sounds like the developers have more or less stopped active development. Looking through the development history for the MacBookPro16,1 and 16,4, it also seems that the work took quite a while—around three months, perhaps—even with the hardware available for testing. The differences between Vega (GCN5) and Navi also seem fairly substantial.

If you have any advice or suggestions, I’d really appreciate hearing them.

Thank you!


r/linux_on_mac • • 2d ago

"ported" KAIT2EN to Arch.

2 Upvotes

EDIT: repo here https://github.com/etardieu/archlinux-t2-macbook

I installed kait2en fedora on my macbook 15,2 and I used it as a jumpstart to build a dedicated t2 archiso from t2 linux project, booted on this iso to have a working wifi and keyboard, and then installed archlinux from scratch (no installer, the arch way...) , compiled the dkms to archlinux stock kernel.

Works like a charm. I also used AI to derive PKGBUILD from the kait2en tools, for a native arch feel.

If anyone interested, I can share more.

Why? I already have debian servers and Arch workstation, I did not want to have yet another distro for my laptop. That, and T2 Linux Arch is way behind kait2en in terms of useability of the macbook, at least when I tried it a few months ago. Third, I prefer the dkms approach, instead of adding a custom kernel.


r/linux_on_mac • • 2d ago

Guide: Debian on T1 MacBook Pro

10 Upvotes

Figured this would be better in a new post rather than a response in a thread that could get lost.

Here is a link to the guide I wrote up to get Debian working on my T1 MacBook Pro https://meskis.net/macbook-pro-t1-debian-guide

So far everything is working very well, getting hibernation to work was an amusing journey.


r/linux_on_mac • • 3d ago

University laptop

Thumbnail gallery
93 Upvotes

Macbook pro late 2013, i5, 8GB, 512GB with endeavourOS and labwc

I'm using it for taking notes and lightweight programming in CS engineering

Loving it so far!

The only tinkering I had to do, apart from the configuration of the wlan card, is a script to deactivate the touchpad for 1s every time i press a key, it was driving me crazy


r/linux_on_mac • • 1d ago

Omarchy om 2011 MacBook Pro

Post image
0 Upvotes

My 2011 MacBook has been resurrected! I replaced the battery with a new one, then installed Omarchy, and it's basically back from the dead. It now runs over 3 hours on battery at a pretty smooth speed, and the fan barely makes a sound because the machine hardly heats up. Really happy to have pulled this old MacBook out of the dust and put it back to work. I couldn't be happier!


r/linux_on_mac • • 2d ago

MacBook Pro 2017 Touch Bar

8 Upvotes

I want to install Linux onto my outdated MacBook.

2017 MacBook Pro Intel Touch Bar. I think it’s a T1 chip
8gb ram 256gb storage

It’s been a great computer for school and daily driving but I no longer get security updates. I tried to run a live usb with Ubuntu before doing a hard install but wifi doesn’t work and Touch Bar. I’m not too concerned about the Touch Bar but I do want my Wi-Fi to work.

Is Ubuntu a good Linux distro to run or should I consider another?

I want it to complete school work, and daily drive it when I’m away from my PC.


r/linux_on_mac • • 2d ago

MacBook Pro 19

Post image
8 Upvotes

hey, it was hard but i do that...
intel i9-9980HK
AMD Radeon RX 5500M
2tb ssd(500gb - macintosh; 700gb - arch; 800gb - windows)
So its tripleboot macbook:)


r/linux_on_mac • • 2d ago

Fix for brightness adjustment not working on mid 2012 MacBook Pro Retina

3 Upvotes

So, overall I'm very very new to linux, but have tried it a few times over the years, including owning a Pinebook Pro. I recently installed Ubuntu Cinnamon Mint 22.3 7.0 on my 2012 MBR but screen brightness adjustments never worked (not with the keys or the slider). I guess it has two graphics cards. After much research I installed the Nvidia drivers and tried various solutions. None worked except this one, sort of...

I ran this command: setpci -v -H1 -s 00:01.00 BRIDGE_CONTROL=0

and amazingly the keys now worked to control brightness, however, after reboot, it stopped working. I did some more digging and used AI to build a systemd file that will run at some point during each boot. I used AI to help build this, but it now works consistently. Others may know of better ways to do this, so please chime in, but, as a noob, I thought I'd share what worked for me.

A copy/paste of the instructions I followed is below:

Step 1: Create a systemd Service File

Open your terminal and create a new service file using the nano text editor:

bash

sudo nano /etc/systemd/system/brightness-fix.service

Paste the following configuration into the editor:

ini

[Unit]
Description=Fix screen brightness control via setpci
After=multi-user.target

[Service]
Type=oneshot
ExecStart=/usr/bin/setpci -v -H1 -s 00:01.00 BRIDGE_CONTROL=0
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

(Note: Before saving, you can verify the exact path of setpci by running which setpci in another terminal tab—it is almost always /usr/bin/setpci or /sbin/setpci*.)*

Save and exit nano by pressing Ctrl + O, hitting Enter, and then pressing Ctrl + X.

Step 2: Enable and Test the Service

Run the following commands to reload the systemd manager, enable your new service to run at every boot, and test it immediately:

bash

sudo systemctl daemon-reload
sudo systemctl enable brightness-fix.service
sudo systemctl start brightness-fix.service

You can verify that it ran without errors by checking its status:

bash

systemctl status brightness-fix.service

-----

So that is where I stopped. I don't use the sleep/suspend function. But if you do, here are the instructions provided to get it working for those instances as well.

Fixing Brightness After Sleep/Suspend

Often, hardware PCI register tweaks like BRIDGE_CONTROL=0 get reset when a laptop wakes up from sleep. If you notice your brightness controls stop working again after closing and opening your laptop lid, update the [Install] section of your service file so it also triggers upon waking:

  1. Open the file again: sudo nano /etc/systemd/system/brightness-fix.service
  2. Change the [Install] section to: ini[Install] WantedBy=multi-user.target suspend.target hibernate.target hybrid-sleep.target Use code with caution.
  3. Re-enable the service to register the new targets: bashsudo systemctl daemon-reload sudo systemctl reenable brightness-fix.service Use code with caution.

-----

Ok, that's all. Just wanted to share in case this would work for others. Please let us know your results. Good luck.


r/linux_on_mac • • 4d ago

Finally joined the club

Post image
265 Upvotes

Macbook Pro 2015, i5, 16GB, 512GB SSD bought for 120€ and decided to install Mint on it as a travel and couch laptop. On to a new adventure with Linux.


r/linux_on_mac • • 3d ago

Mac Mini 4,1 video corruption in Linux.

3 Upvotes

I’ve tried several distributions, Mint, Zorin, Elementary, and they all install fine on this mini.

However, after I do initial updates post-install, after reboot the video is corrupted. I cannot make out anything on screen.

Is there a particular update I should avoid?


r/linux_on_mac • • 3d ago

Is there anypoint trying with a T1 touchbar Mac?

4 Upvotes

As the title suggests, I got a 2016 T1 Mbp touchbar and while I have installed fedora on it it's just not a good user. Can't get the touch bar working, can't get sleep working, can't get WiFi working.

Am I whistling in the dark? I have a 2015 mbp pre touchbar and it's great, but a little low powered for what I'm doing now.

Any thoughts/resources would be appreciated.