/r/linux_on_mac
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)
Blog Spam may be removed.
/r/linux_on_mac
Would appreciate very much a response to this odyssean challenge.
Thank you.
EDIT: Choosing the Sound Configuration as Surround Sound 2.0 or 4.0 seems to be the temporary solution but not all speakers work.
I installed fedora 39 on my macbook air for about a month ago, everythings been going smoothly until 2 days ago. The battery died while studying and refused to power on since then, tried resetting the pram, smc reset, umplugging ans plugging back the internal battery, uplugging and plugging back the screen, all sorts of trouble shooting with no progress.
Any advice or potential fix will be appreciated, broke college student ;-;
Hi everyone, as we in 2024 today, is there a chance to install any Linux on my old intel chip Mac Book pro "smoothly" with no issues or any nonworking staff ???(inspired by https://github.com/t2linux/T2-Ubuntu)
While trying to dual boot macbook Pro 2019 with Intel & T2, I accidentally deleted the EFI System Partition on MacOS. Now, I do have EFI for T2Linux (EFI NO NAME), but NOT with macOS. Now, with T2Linux Fedora, it requires first to update 'firmware.sh' in MacOS.
Deleted EFI in MacOS:
#: TYPE NAME SIZE IDENTIFIER
1: EFI EFI 314.6 MB disk0s1
Current diskutil list: (1 TB partition: 400 GB for MacOS, and 600 GB for Linux):
me@mes-MacBook-Pro ~ % diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: Apple_APFS Container disk1 400.2 GB disk0s1
2: EFI NO NAME 629.1 MB disk0s2
3: Linux Filesystem 1.1 GB disk0s3
4: Linux Filesystem 598.3 GB disk0s4
Current GPT Partition:
me@mes-MacBook-Pro ~ % sudo gpt -r show disk0
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 4 Pri GPT table
6 76800
76806 97715079 1 GPT part - 7C3457EF-0000-11AA-AA11-00306543ECAC
97791885 115
97792000 153600 2 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
97945600 262144 3 GPT part - 0FC63DAF-8483-4772-8E79-3D69D8477DE4
98207744 146068480 4 GPT part - 0FC63DAF-8483-4772-8E79-3D69D8477DE4
244276224 36
244276260 4 Sec GPT table
244276264 1 Sec GPT header
Output of Attempt to Install firmware.sh on MacOS:
me@mes-MacBook-Pro ~ % bash ~/Downloads/firmware.sh
Detected macOS
Mounting the EFI partition
Volume on disk0s1 failed to mount because it appears to be
an APFS Physical Store (or is the APFS Container already mounted?)
See "diskutil apfs list"
EDIT: I tried the following Steps: But again, NO EFI was created:
# diskutil unmountDisk /dev/disk0
unmount of all voulmes on disk0 was successful
# gpt remove -i 1 /dev/disk0
/dev/disk0s1 removed
# gpt add -b 76806 -i 1 -s 97715079 -t 7C3457EF-0000-11AA-AA11-00306543ECAC /dev/disk0s1
/dev/disk0s1 added
# diskutil repairVolume /dev/disk0s1
Finished file system repair on disk0s1
# diskutil mountDisk /dev/disk0s1
voulmes() mounted successfully
I am NOT good in linux. So, can some one guide me in very simple steps, please?
Hi everyone, I'm new to linux and I've tried installing it on an old Macbook I have (I know I'm asking for trouble with this) to revive it after Apple has stopped supporting it with MacOS updates.
I noticed when I first installed it that whenever I would close the laptop it wouldn't turn back on properly when opening it again. On kernel 5.15 it would show a bunch of glitched text that looked like empty boxes, so I updated to the 6.5 kernel and this time the screen would just stay black when trying to wake it up, so I reverted back to 5.15.
At the moment I've got a temporary workaround by just disabling suspend so it just goes to the login screen when I close the laptop but I've noticed since its not putting the laptop to sleep properly its using a lot of battery even when closed.
Is there anything I can do to fix this? I've looked through every single blog post about similar things to this and none of them have worked or have just come to the conclusion of disabling suspend like I did.
I'd appreciate any sort of help I can get, thanks guys.
System:
Kernel: 5.15.0-102-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 6.0.4
tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia
base: Ubuntu 22.04 jammy
Machine:
Type: Laptop System: Apple product: MacBookPro13,1 v: 1.0 serial: <superuser required> Chassis:
type: 9 v: Mac-473D31EABEB93F9B serial: <superuser required>
Mobo: Apple model: Mac-473D31EABEB93F9B v: MacBookPro13,1 serial: <superuser required>
UEFI: Apple v: 526.0.0.0.0 date: 11/15/2023
Battery:
ID-1: BAT0 charge: 16.9 Wh (42.0%) condition: 40.2/54.6 Wh (73.7%) volts: 11.0 min: 11.4
model: DSY bq20z451 type: Li-ion serial: N/A status: Discharging cycles: 831
CPU:
Info: dual core model: Intel Core i7-6660U bits: 64 type: MT MCP smt: enabled arch: Skylake
rev: 3 cache: L1: 128 KiB L2: 512 KiB L3: 4 MiB
Speed (MHz): avg: 1281 high: 1300 min/max: 400/3400 cores: 1: 1224 2: 1300 3: 1300 4: 1300
bogomips: 19200
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel Iris Graphics 540 vendor: Apple driver: i915 v: kernel ports: active: eDP-1
empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:1926 class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting unloaded: fbdev,vesa
gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 2560x1600 s-dpi: 96 s-size: 677x423mm (26.7x16.7") s-diag: 798mm (31.4")
Monitor-1: eDP-1 model: Apple Color LCD res: 2560x1600 hz: 60 dpi: 227
size: 286x179mm (11.3x7.0") diag: 337mm (13.3") modes: 2560x1600
OpenGL: renderer: Mesa Intel Iris Graphics 540 (SKL GT3) v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.2
direct render: Yes
Audio:
Device-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
chip-ID: 8086:9d70 class-ID: 0403
Device-2: Broadcom 720p FaceTime HD Camera driver: facetimehd v: kernel pcie: speed: 5 GT/s
lanes: 1 bus-ID: 03:00.0 chip-ID: 14e4:1570 class-ID: 0480
Sound Server-1: ALSA v: k5.15.0-102-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Broadcom BCM4350 802.11ac Wireless Network Adapter vendor: Apple driver: brcmfmac
v: kernel pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 14e4:43a3 class-ID: 0280
IF: wlp2s0 state: up mac: <filter>
Drives:
Local Storage: total: 233.76 GiB used: 60.14 GiB (25.7%)
ID-1: /dev/nvme0n1 vendor: Apple model: SSD AP0256J C0871550282HDRVBF size: 233.76 GiB
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 12.93.01 temp: 41.9 C scheme: GPT
ID-2: /dev/nvme0n2 vendor: Apple model: SSD AP0256J size: 8 KiB speed: 31.6 Gb/s lanes: 4
type: SSD serial: <filter> rev: 12.93.01 temp: 41.9 C
Partition:
ID-1: / size: 228.54 GiB used: 30.07 GiB (13.2%) fs: ext4 dev: /dev/nvme0n1p2
ID-2: /boot/efi size: 510.9 MiB used: 6.1 MiB (1.2%) fs: vfat dev: /dev/nvme0n1p1
Swap:
ID-1: swap-1 type: file size: 2 GiB used: 768 KiB (0.0%) priority: -2 file: /swapfile
USB:
Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0 speed: 480 Mb/s
chip-ID: 1d6b:0002 class-ID: 0900
Hub-2: 2-0:1 info: Super-speed hub ports: 6 rev: 3.0 speed: 5 Gb/s chip-ID: 1d6b:0003
class-ID: 0900
Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0 speed: 480 Mb/s
chip-ID: 1d6b:0002 class-ID: 0900
Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
class-ID: 0900
Sensors:
System Temperatures: cpu: 35.3 C mobo: N/A
Fan Speeds (RPM): N/A
Repos:
Packages: 2258 apt: 2249 flatpak: 9
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http: //packages.linuxmint.com virginia main upstream import backport
2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
Processes: 261 Uptime: 1d 20h 6m wakeups: 7 Memory: 7.62 GiB used: 3.08 GiB (40.4%)
Init: systemd v: 249 runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Cinnamon v: 6.0.4
inxi: 3.3.13
My only solution has been a USB headset because Bluetooth from these Macs seems to be unreliable with current products.
Thank you kindly for your time.
I have a 2012 iMac that I’ve been using since then, and it has now become slow in normal use. I wondered about installing Linux on it, and what distro people would recommend? I’ve used Ubuntu before but other than that am not very familiar with Linux
I have a late 2013, 13-inch, Retina Macbook Pro. It used to run Big Sur but now runs Ventura through Opencore. It has 16 gigabytes of RAM and 500 gigabytes of SSD storage. Do you know how I can install Ubuntu on it?
Note: I'm looking to single-boot the system.
I was wondering if anyone else is running into this? I’m using Fedora 39 and everything is working well - except when the system suspends (or tries to suspend). I can’t quite tell if the system actually enters a suspended state, but I don’t think it is as the fan is still on at low speed although the keyboard, mouse and display are all asleep. It appears that the keyboard (at least kind of) wakes up (RGB lights come on) - but the fan never accelerates beyond the low speed it was sitting at and the monitor doesn’t wake up.
If the system just puts the monitor to sleep (say waiting 15 minutes or a half hour) - I can wake it up normally, but any long break (ie: leave for work and come back later) I can not wake it up and it’s in this apparent weird state where it’s not awake but not suspended either.
I read somewhere about someone having suspend issues with a Broadcom WiFi that I think (I’m not in front of that Mac atm) is the same one in the 2013 MP, but that issue was from 8 years ago and I’m not sure if their issue was really the same.
Has anyone run into this and found a solution?
Hi everyone! I want to move from MacOS to Linux on my Macbook Air from Early 2015, 4GB RAM; as I have limited experience with Linux (Ubuntu only), I thought I’d first look for input here. I‘d like to try something other than Ubuntu, but I’m aware that it’s probably the easiest out-of-the-box distro for Mac compatibility. Has anyone tried installing Debian or Fedora on this model successfully? What are your thoughts and what would you advise? Thanks!
I've been attempting to activate the Touch Bar on my MacBook but haven't succeeded. I'm currently on kernel 6.5, and it seems the solution provided by roadrunner2 isn't compatible with this kernel version. I haven't found any other fixes for the Touch Bar yet. Can anyone provide guidance or suggest a solution for getting the Touch Bar to work on this kernel version?
Has anyone ever managed to repurpose the eject key as (for example) a backspace key? I've replaced the DVD drive with an SSD so the eject key serves no purpose, and it would be nice to have a real backspace key.
Hi, I have dual-boot Ubuntu 22.04 LTS on a Macbook Air 2019 (model A1932)
Everything works just fine... except for Wi-Fi, Keyboard and TrackPad, which are kind of a Must-Have to use a computer!!!
I could use it with an external keyboard, wired mouse and my phone USB-tethering Wi-Fi, but I kinda want to have it as a laptop, (in which is his purpose)
Any ideas how to make it useful? I have tried everything... but really EVERYTHING!
every videos about it, putting in insecure boot mode, updating, etc...
It seems that he doesn't have any Wi-Fi drivers.
Edit: The speakers don't work as well...
Open source drivers work, but 3d performance is Terrible. iMac 1419 + Manjaro Linux. Any help? 🙏
Hello, im trying to install Linux on my old MacBook air 2011, I have tried so many things and it still crashes on boot or in the middle of install or in the near end of the install, it never finishes.
The plan is to convert an old 2015 MBP to a linux server that I can also use as a spare laptop. By keeping Windows and MacOS, I then have a machine for running all kinds of old obscure programs.
But how much space to dedicate to each O/S? Linux will be the main use, but what if I want to share SOME space between all the operating systems somehow? Should I plug in an external USB drive purely for storage and reserve the internal with 2/3rds for linux and the rest equally divided between Ventura and Windows 11?
I can’t seem to get the meta+c command to open up the new cube feature on KDE Plasma 6 - Meta+other keys work as expected as their various shortcuts, but when I push Meta+C, nothing happens. The Cube is enabled in the GUI settings under workspace tab. Anyone else having similar issue?
Hey everyone.
I am running Fedora on a Macbook pro late 2013. I works great. I installed all drivers for video and multimedia and have used it for some weeks. Videos in Firefox are playing well. Yesterday I tryed to play a video wich was recorded from my phone and it did't work at all. The sound is playing but not the video. Same issue with quick time video format MOV. I tryed some players like VLC, Video, Celluloid, Clapper, Parole ... but nothing works. Any ideas?? Thank you! :)
Hi r/linux_on_mac! I have a mid2015 retina MacBookPro 11,4 at hand, and I fancy dual booting linux along with the osx system. I have never used linux machine before, but I have used a lot of open source software with macports. Also I have tried out archlinux and alpine linux distros in virtual box.
I'm looking for advice on
what distro should I choose? I have archlinux in mind but I have seen people blogging about ubuntu being the only stable distro running on mid2015 mbp.
how to do the disk partitioning? I skimmed through the archwiki the doc reads a bit abstract for me. Is it possible that both system (osx and linux) can share data files between them? Say, I have a collection of ebooks, movies and music. I wish I could access them via both osx and the linux system. Duplicating all those files seems a waste of disk space.
Does linux installation erase the recovery partition? How do the recover the osx system later on if needed?
any other tips, tricks, things to look for is welcome!
my machine specs:
I have changed a new 3rd party harddisk of 1TB at the repair shop
Thanks in advance!
Hi there,
So I just got a Macbook Pro 2013, its screen is broken but I was able to replace the SSD and installed Linux on it, most but Wifi and HDMI port works fine. I was thinking to leave the laptop plugged in 24/7 and use it a Remote Desktop to do stuff like checking my Apartment CAMS, etc.
has anyone been able to set up Sunshine on an old mac like this one and get it to work properly?
It would be a good idea to remove the battery? right?
I have dual boot Windows and MacOS at the moment. I think I'd like to keep Windows for those very rare occasions when I need some phone unlocking software that doesn't work via VirtualBox / VMWare. So I need to repartition, but can I do that non-destructively? I have backups, but the whole process of restoring will be a lot, lot slower.
2 ideas:
resizing the existing macos partition
maybe it's possible to boot to a virtual partition that's stored as a file on the macos OR Windows partition?
ChatGPT gave me some gobble-de-gook:
menuentry "macOS Loopback" {
icon /EFI/refind/icons/os_mac.png
loader /System/Library/CoreServices/boot.efi
options "root=UUID=/Volumes/macos-loopback" }
Hey, so like the title says, I need to know how to take a screenshot with my MacBook Pro, there's no frickin' Print Screen button on this thing.
Thanks.
I know that unofficially this model (13 inch) supports 16Gb RAM under MacOS, does that also mean that it will support it under Linux? (I can't find a clear answer anywhere)
I may end up mixing 1x4Gb & 1x8Gb modules for a total of 12Gb - would mismatched sizes be an issue?
Hey there. I am using a 2015 MacBook Air with Lubuntu 23.10. How can I install wifi drivers without a usb to ethernet converter, how can I get the keyboard brightness to work, and how do i get the webcam working? Thank you!
I am using nvidia 340 legacy driver and I get brightness control but it doesn't stay at the setting I choose. I know how to make the setting persistent but my /sys/class/backlight is empty. I have tried acpi_backlight=video|vendor|native. I dont know what I am doing wrong or missing. Any ideas? Thanks.
Hi everyone, and sorry for the weird title (can't find a better wording).
I have an early 2009 mac mini which was running macOS until two weeks ago, when I decided to install Linux on it. It is connected to an LG TV, sending video through HDMI (using a miniDP-to-HDMI adapter), and the audio goes with a jack-to-jack cable, from the mac's headphone output, to the TV's audio in.
With macOS, all this worked OK. But with Linux (i've tried several flavors of Ubuntu), the TV seems to be expecting the audio in the HDMI and won't pay attention to the jack input. If I switch the active source in the TV to point to the "AV IN" source, then it plays the audio coming from the mac (showing no video), but when I switch back to the HDMI port bringing the video signal, the TV decides to play no audio.
The cables are the same ones I used with the Mac, nothing changed.
This is a smart TV with NO network connection. After switching to Linux and noticing this issue, I connected the TV to the network and updated the software, in case it would add an option to tackle this, but no luck.
Any ideas, anyone? I'm desperate. This is what the cabling in the TV looks like.
Thanks in advance!
EDIT: to further clarify my question, is there a way for Linux to be aware that no audio is transported through the DisplayPort/HDMI? Maybe that will make the TV take the sound from the jack, as happened when macOS was installed in this same machine and with the same cables.
EDIT2: as crazy as my post sounds, I promise you guys I’m tech savvy, with around 20 years of experience in both Linux and Mac.
Hi everyone, and sorry for the weird title (can't find a better wording).
I have an early 2009 mac mini which was running macOS until two weeks ago, when I decided to install Linux on it. It is connected to an LG TV, sending video through HDMI (using a miniDP-to-HDMI adapter), and the audio goes with a jack-to-jack cable, from the mac's headphone output, to the TV's audio in.
With macOS, all this worked OK. But with Linux (i've tried several flavors of Ubuntu), the TV seems to be expecting the audio in the HDMI and won't pay attention to the jack input. If I switch the active source in the TV to point to the "AV IN" source, then it plays the audio coming from the mac (showing no video), but when I switch back to the HDMI port bringing the video signal, the TV decides to play no audio.
The cables are the same ones I used with the Mac, nothing changed.
This is a smart TV with NO network connection. After switching to Linux and noticing this issue, I connected the TV to the network and updated the software, in case it would add an option to tackle this, but no luck.
Any ideas, anyone? I'm desperate. This is what the cabling in the TV looks like.
Thanks in advance!
I have 10-13y old mac that have 4gb ram How to reboot? rhel or other oc(which one should I install?) and what version should i download? Also i cant download file(idk why)