{"id":1771,"date":"2020-02-04T18:36:35","date_gmt":"2020-02-04T23:36:35","guid":{"rendered":"https:\/\/mikew.ca\/wordpress\/?p=1771"},"modified":"2025-01-12T17:20:46","modified_gmt":"2025-01-12T17:20:46","slug":"rebuilding-an-old-mbp","status":"publish","type":"post","link":"https:\/\/mikew.ca\/blog\/?p=1771","title":{"rendered":"Rebuilding an old MBP"},"content":{"rendered":"\n<p>I had an old, broken 2009 MacBook Pro sitting on a shelf because I had never gotten around to trying to fix it. It had three significant issues:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>It randomly kernel panicked every once in a while<\/li>\n\n\n\n<li>It had an SSD drive in it that no longer worked<\/li>\n\n\n\n<li>Three of the keys on the keyboard didn&#8217;t work.<\/li>\n<\/ol>\n\n\n\n<p>Last weekend, I finally decided to see if I could get it into working shape again. To start, I took the back off and removed the failed SSD drive. The MBP is too old to run a current version of MacOS, but it still has a working HD drive, so I decided to install Linux there.<\/p>\n\n\n\n<p>To fix the keys, I tried removing the key caps and cleaning the switches, but after putting them back together they still failed. By chance however, I noticed that if I *smashed* the key beside one of the failed ones (in frustration? \ud83d\ude42 ) then the original keys would start working for a bit. This led me to pulling that other key cap off and cleaning it, and after putting it back together all the keys worked.<\/p>\n\n\n\n<p>This only left me with the random kernel panics, so I booted the Mac into hardware test mode and let it do a full test. Even after 10 minutes of hammering RAM and CPU (with the fans screaming), there were no failures, so I chalked the problem up to either a Mac driver issue, or something to do with the now removed SSD.<\/p>\n\n\n\n<p>For linux, I just went with Ubuntu, mostly because there was a tutorial about installing on Macs that seemed pretty reasonable. The only wrinkle was the lack of a driver for the MBP&#8217;s discrete graphics card. I went for the easy option of doing <code>nomodeset<\/code> in grub, and ended up with&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped columns-1 wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/mikew.ca\/blog\/wp-content\/uploads\/2020\/02\/IMG-1.jpeg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" data-id=\"2827\" src=\"https:\/\/mikew.ca\/blog\/wp-content\/uploads\/2020\/02\/IMG-1-1024x768.jpeg\" alt=\"\" class=\"wp-image-2827\" srcset=\"https:\/\/mikew.ca\/blog\/wp-content\/uploads\/2020\/02\/IMG-1-1024x768.jpeg 1024w, https:\/\/mikew.ca\/blog\/wp-content\/uploads\/2020\/02\/IMG-1-300x225.jpeg 300w, https:\/\/mikew.ca\/blog\/wp-content\/uploads\/2020\/02\/IMG-1-768x576.jpeg 768w, https:\/\/mikew.ca\/blog\/wp-content\/uploads\/2020\/02\/IMG-1.jpeg 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<p>I don&#8217;t think it&#8217;s worth putting a new battery in it, but if I needed a home computer for email and web browsing this would be perfectly useful. Nice!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had an old, broken 2009 MacBook Pro sitting on a shelf because I had never gotten around to trying to fix it. It had three significant issues: Last weekend, I finally decided to see if I could get it into working shape again. To start, I took the back off and removed the failed [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,10,1],"tags":[81,89],"class_list":["post-1771","post","type-post","status-publish","format-standard","hentry","category-mac","category-tech","category-uncategorized","tag-linux","tag-macbook"],"_links":{"self":[{"href":"https:\/\/mikew.ca\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1771","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mikew.ca\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mikew.ca\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mikew.ca\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mikew.ca\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1771"}],"version-history":[{"count":2,"href":"https:\/\/mikew.ca\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1771\/revisions"}],"predecessor-version":[{"id":2859,"href":"https:\/\/mikew.ca\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1771\/revisions\/2859"}],"wp:attachment":[{"href":"https:\/\/mikew.ca\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mikew.ca\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1771"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mikew.ca\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}