/r/linux_on_mac

Photograph via snooOG

All about running linux on Apple/Mac hardware, both PPC and Intel based. How to's, requests for help, news, you name it!

All about running linux on Apple/Mac hardware, both PPC and Intel based. How to's, requests for help, news, you name it!



Please consider tagging your requests for help with [HELP].


rEFInd (Boot manager for EFI/UEFI)


Debian on Mac Wiki

Ubuntu on Intel Mac Wiki

Ubuntu on PPC Mac Wiki

Gentoo PPC Wiki

Linux Mint PPC


Blog Spam may be removed.

/r/linux_on_mac

2,899 Subscribers

1

Installing Linux on broken MacBook Pro?

0 Comments
2024/12/13
19:23 UTC

7

Whats the best mac mini for upgrade and linux?

Hi everyone.
I'm still using my macbook pro late 2011. I had upgraded with 16GB of RAM, SSD as principal and HDD on secundary. It was usable with ubuntu 24.04 but its starting to be limit with tIhe graphics ( Intel HD 3000... ). Well, I had bought this macbook on 2014... So, i'm happy about it. But i'm still thinking about getting a mac mini.

So, whats the best mac mini year/gen for upgrade (SSD and RAM its fine) and install Linux?
Thanks!

2 Comments
2024/12/13
09:20 UTC

1

Mac mini 2018 fan control

Have ubuntu (Oracular Oriole) installed on my Mac mini 2018.. I've just realised, or noticed, that there doesnt appear to be any fan control?eRunning docker containers on it and teh chassis is getting "hot". Doesn't appear to be any applesmc module? thermald is running??

6 Comments
2024/11/26
05:33 UTC

1

Can’t boot after changing resolution in Ubuntu

Hi, I got the T2 Ubuntu variant installed on my 2019 16 inch MacBook Pro. I was playing around with some of the settings, and accidentally changed the resolution. The screen went black, and before I could try to switch it back using the keyboard, it rebooted. Now booting up gets me to the boot to splash screen, then immediately a black screen, followed by another reboot. I can get into the terminal, and I can also modify the system through the live disk installer. Does anyone know what file I need to modify or terminal command I need to do to set the resolution back to the default? If no one knows the default, I can experiment, I just can't figure out the command or file to modify.

Thank you!!!

9 Comments
2024/11/26
01:49 UTC

2

Won't wake from sleep (nvidia)

I have a mac pro 5,1 (upgraded to 5,2) with an nvidia gtx 1080. When the computer sleeps, it will in some cases never wake from sleep (just black screen) and in some case take a few minutes to show the login screen. Wondering if this is a common issue with a simple fix or perhaps I just need to switch the card out for AMD.

I have tried nouveau drivers and proprietary.

I am currently running fedora 41, and in the past couple of years ran Linux Mint.

Thanks

5 Comments
2024/11/24
13:37 UTC

1

2 external displays for Windows 10 on mbp2011 13in machine

0 Comments
2024/11/24
00:13 UTC

5

Full wipe on MacBook Pro 9,2?

I have a MacBook Pro that currently is dual booting OS X (El Capitán) and Linux Mint. Mint is running well on it, and El Capitán is no longer being updated.

Is it worth keeping the Mac OS on my machine?

16 Comments
2024/11/18
18:48 UTC

2

Macbook Pro 2019 won't set intel iGPU as first, it selects AMD GPU

And this hugely affects the battery life. I've tried this guide, and it didn't work well: https://wiki.t2linux.org/guides/hybrid-graphics/
I tried sudo modprobe i915 on my own, because i915 driver didn't show up on lsmod. But still it doesn't use the intel iGPU.

0 Comments
2024/11/17
23:44 UTC

3

Linux on macbook pro 2019 15.4?

Is it performant? I've just been fiddling around with pop os on macbook pro 2019. How is the battery life for this? Couldn't find any relevant info.

6 Comments
2024/11/17
22:59 UTC

3

Mac mini 2012 cant get into boot selection menu

I got a couple of mac minis from 2012 and 2014. On one of the 2012 ones I upgraded the ram to 16gb and I installed Bazzite, but after testing it a couple of days, it is waaay too laggy to use, so I wanted to try some other distro.

So like before, I plugin a usb with a live distro on it (ubuntu this time), I hold ALT during startup, but now i get directly into the a/b selection grub menu for bazzite. There is no way for me to select the usb device as a boot device.

Is there another way for me to boot from usb?

5 Comments
2024/11/17
20:49 UTC

0

trying to install linux on mac mini (2007)

Let me start by saying I am writing this more to vent right now, I have been busy with this for days now, and no end in sight.

I recently came into possession of an old mac mini, 2007 model with 1.83ghz cpu and 1gb of ram. I replaced the old HDD with a brand new totally used SSD. I have no love for MacOS, so my first idea was to install linux on it. So how did that go?

Hell is a pleasure cruise compared to the journey I have had with this thing so far.

  1. Raspberry Pi Desktop, my goto distro for older hardware, gave me multiple errors during install, including low memory for the installer, unable to install bootloader, and unable to change the disk (partitions and the like).

  2. Libreelec didn't even launch the installer.

  3. Android x86 was able to install at first, and it boots into a screen from that OS now, but the actual install/setup just freezes or crashes, not sure what is going on there.

  4. Batocera didn't even recognize the usb (but I might have ran out of patience at this point, and it might be that the image turns the usb into MBR by default, while it seems GPT is needed).

  5. Found some tutorials which mention Debian Mac 8.7.1 i386 iso. Unable to find that one anywhere (again, patience ran out, rage building up) so I took the recent release 12.8, but refused to start the install due to low memory.

  6. Getting desperate, tried Bodhi 5.1 (legacy), but it remained on a terminal window with limited commands.

  7. The (current) final act in this tragedy was then to go through my old stuff and take an old MacOS Snow Leopard install CD and just get something working on this overrated piece of garbage from 17 years ago. At least that should work, right? Stopped halfway to bitch about not enough ram, because the minimum is 1gb. You piece of overpriced silver trashcan, there is exactly 1gb on that motherboard!

Stopping myself from introducing a baseball bat to this piece of nightmare, I decided now would be a good time to have a smoke break, coffee break, and then head to the shop for some DDR2 ram. After that, start again with a clear head and hope for at least one working solution today.

3 Comments
2024/11/16
11:25 UTC

2

Linux on iMac 27" A1419 and A1312?

I have a small fleet of A1225 24" iMacs running Linux Mint. They've all been upgraded with SSDs. They've been rock solid and I've been super happy with them. Looking at moving to 27" iMacs, A1419 and A1312. I would crack them open and replace the HDDs with SATA SSDs. Will installing linux be as straight forward with these as the older iMacs? Alternatively, anyone know if it is possible to replace the flash part of the Fusion Drive system with an M.2 NVMe and just boot linux from that?

7 Comments
2024/11/14
16:22 UTC

3

Dummy battery (capacitor) for Mid 2009 MacBook Pro 15" (MBP 5,4)?

I have this ancient MacBook Pro 5,4 that I have given a second life with REFInd, Linux Mint, and mbpfan, but the battery is very much shot. Even if I had a new battery, I am running demanding enough programs on it that it's living on the charger, so I was wondering if there was a dummy battery I could put in that uses capacitors to stabilize the voltage.

If not, I am wondering if anyone has info on how the MacBook communicates with its battery. If there is a subreddit or something that I should direct my inquiries towards, that would also be appreciated.

2 Comments
2024/11/13
21:10 UTC

2

Anyone try Bazzite on a 2019 MacBook Pro?

I have Bazzite installed on my 2013 Mac Pro, was thinking about trying it out on my 2019 MacBook Pro 16", but I'm not sure if there's any issues with the T2 security chip. Any give it a try?

Thanks!

3 Comments
2024/11/12
21:12 UTC

2

Anyone using Gnomintosh? I'm having an issue.

I'm having an issue on both Ubuntu 24.10 and Manjaro 24, (on 2 different computers), where the traffic light colored Close, Minimize, and Maximize buttons revert back to the standard X — [ ]. I can bring it back if I delete my local GitHub clone and rerun the script, but after a certain period of time, it reverts back. The Terminal buttons seem to stick, though, but Nautilus and Firefox, Settings, and I believe all others, revert back.

  • Both systems are running Gnome, and are up-to-date per their distro's public release.
  • One laptop is an old MacBook Air, the other is a fairly new Asus.
  • System themes are really the only modifications I've made.
  • Both systems have the same extension and teaks installed (I can get a list / screenshots, if needed).

Thanks for any help provided!

0 Comments
2024/11/08
03:29 UTC

4

Mac pro 5.1 fan control

I've decided to use pop os on my mac and I like it. However it gets hot as I can't manually control it's fans like I did in mac or windows with macfan control. To those with similar setups what do u use to control fans in your mac.

3 Comments
2024/11/04
06:11 UTC

6

Linux distro for a 2016 12" Macbook

Hi,

I wanted to ask if someone managed to get the Speakers, the Camera and the Wife working on this machine.

I'm more or less at the same point as this guy:

https://daryl.wakatara.com/linux-distro-survey-for-a-2016-12-macbook/

Wifi: Works with 2.4 GhZ

Sound: Only via headphones

Camera: No. Also not with the facetimehd driver https://github.com/patjak/facetimehd/wiki/Installation

Thanks a lot.

7 Comments
2024/11/01
18:06 UTC

2

Reassign eject button on mid-2012 MBP?

Is there a way to reassign the eject button to e.g. a proper "delete" function? I've replaced the DVD drive with an SSD so the key is superfluous now.

1 Comment
2024/10/31
18:08 UTC

2

Persistent issues on imac16,2 (late 2015 21,5" i7)

Two Issues:

  1. Audio - the right speaker works great, the left speaker works poorly; very low volume (pipewire issue?).
  2. Shutdown - when using the shutdown command (from the GUI or CLI) the machine will reboot, the only way to shut it down is by pressing the power button after it runs through the shutdown sequence.

I've tried EndeavorOS (don't remember the version), Debian 12 and most recently Fedora 41, both issue persist. Pretty much everything else works as it should out of the box with Fedora and EndeavorOS, needed to add non-free in sources.list for Debian. DE is Gnome (Wayland) on all three distros.

I replaced the spinning hdd with an ssd prior to the Debian install. Machine specs: 3.3 GHz Core i7 (I7-5775R / Retina 4K / 16gb / 1tb ssd.

There's an unsolved post dealing with the shutdown issue at Linux.org, and an unsolved post dealing with the sound issue at Debian Forums.

I've been chasing this for 6 or 7 months. This computer is my daily driver, it's fine for what I use it for as is, figured I'd post here and see if anyone has solved either one of these issues.

9 Comments
2024/10/31
17:03 UTC

1

Ventoy boot on iMac 27" 5K Retina late 2015

Hi, so glad to find a /r on this subject, especially since Time Cook introduced planned obsolescence to try an force us into the ARM based offerings.

I was thinking of dumping macOS since Apple announced end of life for Intel, but then on my last update on Monterey it said I need to update to Sonoma, but of course that's not happening on this model.

My options are install some kind of patcher to make it accept late macOS or install Linux.

I reformatted the 1TB drive and installed Debian 12 on it. It's kind of working, but not the bluetooth keyboard or the magic mouse, audio or the webcam. I get it, Apple spent a lot of time tightly integrating other manufacturer's peripherals with their hardware. It's taken hours of tinkering to even get it to display text I can read. The gdm is so small you can barely read it. Of course once logged in Gnome loads up. I have set scaling to make it readable. I also adjusted the mouse pointer size, but it's still not the way I want it for a 27 inch screen to be. All the notifications appear in tiny script.

Any suggested distro which just works with this model Apple peripherals? I am currently using wired PC keyboard and mouse.

I read about ditching Gnome DE altogether and maybe go with Cinnamon.

Now with Debian installed, it won't even boot up Apple's startdisk menu to the USB Ventoy that I directly plugged into the iMac's USB3 ports. Of course I tried the holding the Alt key at boot up, but it only goes to Restore Image asking for wireless router to connect to. I'm not even seeing that startdisk menu.

Suggestions please...

2 Comments
2024/10/31
02:01 UTC

3

My pseudo solution for shutting down when lid closed (2017 Macbook Pro, no touchbar)

I'm dual booting MacOS & Arch and found a 'hacky' solution that works for me - it's a laptop but primarily I do my work plugged into a monitor. It's almost impossible to type on the built in keyboard anyway.

So basically I have my settings (KDE Plasma) to never sleep/hibernate when lid is closed - just goes to lock screen after X min of inactivity. My external display monitor is set to sleep Y min after, where Y > X.

So I move my mouse/press a key on the keyboard, always 'wakes up'. Pretty sure this isn't good for the hardware life, but, not really concerned - got this laptop for free when a client never sent me shipping materials to send it back after a contract ended.

Better solutions?

0 Comments
2024/10/30
03:31 UTC

2

Camera drivers issue. 2017 MacBook Air running Fedora 40 Workstation (fresh install)

New to linux. Tried to install drivers for the camera by following the steps from some reddit post, but i think i messed one or two things and it just doesn't work. i'd appreciate if someone has an easy to understand step by step method that can help me get this thing working

9 Comments
2024/10/27
04:11 UTC

2

2012 imac won't boot from the USB, Fedora media writer keeps breaking my USB drives, I have no idea what I'm doing.

EDIT: Okay guys, I got it to boot a live USB, but I still have no idea what I'm doing.

  • I plugged the keyboard into the first USB slot (the furthest USB slot from the center of the unit, or rather, the most lateral USB slot)

  • Neither the stock iMac keyboard or my preferred keyboard worked in any usb slot, so it was only when I got a junk keyboard out that I got it working.

  • Holding the "command key" or basically the blank windows key worked when I did all of the above.

Unfortunately, I still cannot figure out how to clean a USB drive after I use it as a boot disk other than using Windows 10 command line. Here's a quick link for people who are curious, or who only use Windows at work https://www.diskpart.com/articles/how-to-wipe-a-usb-drive-7201.html

I guess my next step is to figure out how to take this motherfucker apart and put an SSD in. Wish me luck.

Original post:

It's had Fedora installed for a few years on the original HDD, but the disk is getting kinda clicky and I will upgrade to an SSD and maybe put in more RAM at the same time. Problem is, I can't get this motherfucker to show me a boot menu that will recognize a live USB installer. And then I try to reformat my USB stick and start over and it's broken, and the only way I know how to fix that is use my partner's PC using the diskpart command line thing.

iMac12,1

Intel core 1-5

Mesa Intel 2000 / AMD Turks

So, any suggestions? Running on a live USB seems so easy for all the crapbooks I have, I don't know what I'm doing wrong here.

4 Comments
2024/10/26
17:31 UTC

4

Linux on MacBook pro 2020

Hello everyone. I'm new here. Tell me how to install Linux as a second system on Mac OS. Today I spent half a day on this. I allocated disk space. I made a bootable USB flash drive. But I can't connect to WiFi and the keyboard and trackpad don't work. I know almost nothing about coding, so I tried to solve the problem with the help of the gpt chat and the Internet. It didn't help.

4 Comments
2024/10/25
23:45 UTC

1

Anyone running Zorin 17 on a MBP 2010?

I just installed and I'm getting constant system crashes. I think it is related to the Nvidia driver. I'm wondering if anyone else has Zorin, or maybe even an older version of Ubuntu, installed successfully? Did you make modifications to the graphics driver?

4 Comments
2024/10/25
20:17 UTC

2

Macbook Pro Mid 2012 Fedora 40 KDE Spin

I just finished installing Fedora 40 on my 2012 Macbook and installed the nvidia470xx drivers from the nonfree repo.

I noticed 2 screens being enabled so i disabled the non existing display from settings.

everytime i boot up my Macbook there are suddenly 3 screens in the SDDM which i cannot disable for some reason. because of that my first sddm screen is very glitch and i need to find my cursor so i can type in my password, which is really annoying.

I've tried disabling the monitors through /usr/share/sddm/scripts/Xsetup

Put that path into /etc/sddm.conf

But no luck unfortunatly. Dis someone have the same issue and has been able to resolve it?

EDIT: Forgot to mention the non existing monitors i want to disable are "LVDS-2-1" and "None-1-1"

9 Comments
2024/10/24
12:56 UTC

1

After rebooting wifi stoped working after getting it to work on 2019 macbook pro 16 inch

I'm on fedora 40 and my wifi stopped working after getting it to work

0 Comments
2024/10/22
04:49 UTC

1

Correct way to partition SSD drive for dual booting MacOS + Linux, after upgrading original drive & restoring from Time Machine backup?

2 Comments
2024/10/21
21:53 UTC

2

Fedora 40 on macbook pro 2019 16 inch core i9 9980hk no wifi working

Hello i dont have wifi working on my macbook pro any fixes ive already got the drivers for broadband adapter and linux thinks the t2 chip is an ethernet/wired connection are there fixes

8 Comments
2024/10/21
03:08 UTC

3

Linux on a 2006 era MacBook?

Hi all,

I have been tinkering with an older MacBook that was donated to me. It's HDD went bad so I pulled it and swapped in a 1TB drive from an old imac.

I looked around online and found that it seems the macbook was compatible with linux since it's an intel mac. I installed Linux Mint from a USB bootable and it took a few tries but I was able to get the install completed.

Unfortunately the MacBook doesn't recognize the internal HDD at all. It will run Mint from the bootable but not from the install on the internal HDD. It boots up with a ? icon.

Have I forgotten a step? I don't have the OG HDD or system. I can't revert back to any Mac OSX since Leopard isn't available for download (I really need the internet archive right now, but it's down!).

Open to any suggestions. I love the form factor of this macbook case. I can tear it down in 20 minutes, it's so easy to work on. I'd love to get it up and running. I am not looking to do anything serious with it, just experiment with Linux a bit.

Thanks all!

8 Comments
2024/10/20
18:01 UTC

Back To Top