{"id":23137674,"url":"https://github.com/jdvfx/fedora_macbookpro_mid2012","last_synced_at":"2025-10-16T06:32:39.643Z","repository":{"id":268331096,"uuid":"903939828","full_name":"jdvfx/fedora_macbookpro_mid2012","owner":"jdvfx","description":"guide: Installing Fedora Linux on Macbook pro 9,2 (mid 2012 )","archived":false,"fork":false,"pushed_at":"2024-12-17T05:05:24.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T09:45:47.680Z","etag":null,"topics":["fedora","guide","intel-mac","macbook-pro","macbookpro"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jdvfx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-15T23:46:09.000Z","updated_at":"2024-12-17T05:35:51.000Z","dependencies_parsed_at":"2024-12-16T05:24:43.453Z","dependency_job_id":"785195ae-c0f2-4f92-b210-7c1f4b325c9f","html_url":"https://github.com/jdvfx/fedora_macbookpro_mid2012","commit_stats":null,"previous_names":["jdvfx/fedora_macbookpro_mid2012"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jdvfx/fedora_macbookpro_mid2012","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdvfx%2Ffedora_macbookpro_mid2012","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdvfx%2Ffedora_macbookpro_mid2012/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdvfx%2Ffedora_macbookpro_mid2012/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdvfx%2Ffedora_macbookpro_mid2012/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdvfx","download_url":"https://codeload.github.com/jdvfx/fedora_macbookpro_mid2012/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdvfx%2Ffedora_macbookpro_mid2012/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279162762,"owners_count":26117278,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fedora","guide","intel-mac","macbook-pro","macbookpro"],"created_at":"2024-12-17T13:08:25.185Z","updated_at":"2025-10-16T06:32:39.606Z","avatar_url":"https://github.com/jdvfx.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Guide: Installing Fedora Linux on Macbook Pro 9,2 (13\" mid 2012)\n\n\u003e you will need an ethernet cable\n\nHow to smoothly and safely transistion from MacOS to Fedora Linux.\nInstead of re-formating, we'll install Linux on a new drive\nand copy over the data from the MacOS drive while using Linux.\nThat way, MacOS and all the data is kept (as a backup)\nAfter installing Linux, we can boot into MacOS via usb using the Option Key\n\n\u003e what you need\n- 1 usb stick : under 5$ for 8GB stick\n- 1 internal SSD drive : under $50 for a basic 500GB\n- 1 SATA to USB Cable  : under $10\n- 1 ethernet cable. the Wifi doesn't work out of the box unfortunately\n\n\u003e create a bootable USB stick with Fedora Linux on it\n- Download the Fedora ISO \u0026 Fedora Media Writer:\u003c/br\u003e\nhttps://fedoraproject.org/workstation/download\n- Alternatively, flash the ISO to the USB stick with Etcher:\u003c/br\u003e\nhttps://etcher.balena.io/\n\nremove SSD or HardDrive:\nhttps://www.ifixit.com/Guide/MacBook+Pro+13-Inch+Unibody+Mid+2012+Hard+Drive+Replacement/10378\u003c/br\u003e\n\n1) shutdown computer\n2) remove the screws at the back of the laptop\n3) replace the existing drive with the new blank SSD drive\n\n4) put the back cover and plug the USB stick with the Fedora installer\n4) start up with the option Key pressed\n5) select the USB stick name, that should boot up into a Fedora install\n6) update the system, in a terminal: \u003ccode\u003esudo dnf update\u003c/code\u003e\n7) install the wifi driver:\n   - enable RPM fusion free and non-free:\u003c/br\u003e\n    \u003ccode\u003esudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm\u003c/code\u003e\u003c/br\u003e\n    \u003ccode\u003esudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm\u003c/code\u003e\n    - install wifi driver\u003c/br\u003e\n    \u003csudo dnf broadcom-wl akmod-wl\u003e\n\n   - reboot. if the wifi works, lock the linux kernel to the current version:\n   \u003ccode\u003egnome-text-editor /etc/dnf/dnf.conf\u003c/code\u003e\u003c/br\u003e\n   under [main] add: exclude=kernel*\n\n   \u003e the wifi adpater is a Broadcom BCM4331\u003c/br\u003e\n   you can double check what kernel version works with it:\n   https://linux-hardware.org/?id=pci:14e4-4331-106b-00f5\u0026page=5#status\n\n   \u003e if all fails, an easy fix is to use a wifi dongle, eg: TP-Link N150\n\n\n8) reboot and connect to wifi\n9) enable the Apple file system\u003c/br\u003e\n\u003ccode\u003esudo dnf install apfs-fuse\u003c/code\u003e\u003c/br\u003e\n\n9) plug the MacOS drive with the Sata to USB cable\n10) mount the MacOS drive\u003c/br\u003e\n- first check the drive letter with:\n\u003ccode\u003egnome-disks\u003c/code\u003e\u003c/br\u003e\nit should be the last drive, with the largest partition\u003c/br\u003e\n\u003cem\u003eContents: APFS - Not Mounted\u003c/em\u003e eg: /dev/sdb2\u003c/br\u003e\n\u003ccode\u003esudo apfs-fuse -o uid=1000,gid=1000,allow_other /dev/sdb2 /run/media/mac\u003c/code\u003e\u003c/br\u003e\nEnter your MacOS password, the disk is most likely encrypted.\n\nto unmount the drive later on, use:\u003c/br\u003e\n\u003ccode\u003esudo umount /run/media/mac\u003c/code\u003e\n\n11) copy all your personal files from MacOS to Fedora:\u003c/br\u003e\nreplace MAC_USERNAME and LINUX_USERNAME with your user names\n\n\u003ccode\u003ersync -a --progress /run/media/mac/root/Users/MAC_USERNAME/Desktop/ /home/LINUX_USERNAME/Desktop/\u003c/code\u003e\n\nrepeat for other folders like Pictures, Music, Documents, Downloads, ...\n\n13) setup sleep when lid is close\u003c/br\u003e\n\u003ccode\u003esudo gnome-text-editor /usr/lib/systemd/logind.conf\u003c/code\u003e\u003c/br\u003e\nun-comment (remove #) on this line: #HandleLidSwitch=suspend\n\n14) control fans (optional)\u003c/br\u003e\n\u003ccode\u003esudo dnf install mbpfan lm_sensors\u003c/code\u003e\u003c/br\u003e\n\u003ccode\u003esudo systemctl enable mbpfan\u003c/code\u003e\u003c/br\u003e\n\u003ccode\u003esudo systemctl start mbpfan\u003c/code\u003e\u003c/br\u003e\n- check mbpfan is running: \u003c/br\u003e\n\u003ccode\u003esudo systemctl status mbpfan\u003c/code\u003e\u003c/br\u003e\n- the fan config file is located in: /etc/mbpfan.conf\n\n\n15) enable dark mode by default (optional)\u003c/br\u003e\n\u003ccode\u003egsettings set org.gnome.desktop.interface gtk-theme Adwaita-dark \u0026\u0026 gsettings set org.gnome.desktop.interface color-scheme prefer-dark\u003c/code\u003e\n\n------------------------------------------------------\n\n\u003e Cheat sheet: how to re-install the wifi driver on an older kernel\u003c/br\u003e\nboot into an older kernel: press F8 on boot\u003c/br\u003e\nafter login, set the default kernel to that version:\u003c/br\u003e\nlist available kernels:\u003c/br\u003e\n\u003ccode\u003esudo grubby --info=ALL | grep -E \"^kernel|^index\"\u003c/code\u003e\u003c/br\u003e\nchange the default kernel version on boot, eg: index=1\u003c/br\u003e\n\u003ccode\u003esudo grubby --set-default-index=1\u003c/code\u003e\nthen re-install the driver:\u003c/br\u003e\n\u003ccode\u003esudo dnf reinstall broadcom-wl\u003c/code\u003e\u003c/br\u003e\nif \u003cem\u003ekernel-devel\u003c/em\u003e is missing, let's install it...\u003c/br\u003e\nget the current kernel version: \u003ccode\u003euname -r\u003c/code\u003e\u003c/br\u003e\neg: \u003cem\u003e6.11.11.200.fc40.x86_64\u003c/em\u003e\u003c/br\u003e\ndownload the correct kernel-devel version\u003cbr\u003e\n\u003e make sure to get the correct:\u003c/br\u003e\n- Kernel version (6.11.11.200)\n- Fedora version (fc40)\n- Architecture (x86_64)\n\nhttps://koji.fedoraproject.org/koji/packageinfo?buildStart=0\u0026packageID=8\u0026buildOrder=-completion_time\u0026tagOrder=name\u0026tagStart=0#buildlist\u003c/br\u003e\nthen install with:\u003c/br\u003e\u003ccode\u003esudo rpm -i ~/Downloads/kernel-devel.6.11.11-200.fc40.x86_64.rpm\u003c/code\u003e\u003c/br\u003e\nthen re-install the driver:\u003c/br\u003e\u003ccode\u003esudo dnf reinstall broadcom-wl\u003c/code\u003e\u003c/br\u003e\nreboot\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdvfx%2Ffedora_macbookpro_mid2012","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdvfx%2Ffedora_macbookpro_mid2012","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdvfx%2Ffedora_macbookpro_mid2012/lists"}