Giter Club home page Giter Club logo

imac-24-late-2006's Introduction

How to install 64-bit Linux on an iMac 24" (late 2006)

This repo describes my experience in installing a 64-bit Linux distro on an old iMac 24" (late 2006) with the following specs:

OS image

Despite all my attempts to boot from a USB drive, I could only boot externally from the CD/DVD drive. Therefore, any installation image must be burned to a CD/DVD. However, burning an installation image from any modern 64-bit distro is useless, as it simply won't boot, getting stuck on "Select CD-ROM Boot Type".

To overcome this problem, I used Matt Gadient's approach of modifying the 64-bit image to make it bootable on a machine with 32-bit EFI, as is the case with this iMac. Basically, this consists in compiling and running isomacprog.c on the 64-bit ISO image that you would like to use. The commands are:

  • To compile: cc -g -Wall isomacprog.c -o isomacprog
  • To run: ./isomacprog your-preferred-64-bit-image.iso.

Xubuntu

After downloading an installation image for Ubuntu 22.04 LTS and modifying it by running isomacprog, I was in for a surprise. The image was 5 GB, but my DVDs were 4.7 GB capacity. On the other hand, I thought that mainstream Ubuntu, with the GNOME desktop environment, was probably too much for this machine. (A previous experiment with Debian i386 and GNOME made me feel so.)

Therefore, I opted for Xubuntu 22.04 LTS, whose installation image of about 3 GB was easier to download, modify, and burn into a DVD.

WiFi card

After installing Xubuntu, almost everything worked out of the box (including brightness control, which didn't work on Debian). However, there were some final touches that needed to be done. One of them was the WiFi adapter. For this to work, I had to sudo apt install firmware-b43-installer (rather than bcmwl-kernel-source, which apparently worked, but provided no network connectivity).

iSight camera

Another thing that needed to be set up was the built-in camera. For this, I used Jarret B's approach of installing isight-firmware-tools and providing the path to AppleUSBVideoSupport. The command is sudo apt install isight-firmware-tools and then, during installation, specify the path to the downloaded AppleUSBVideoSupport file, for it to extract the camera firmware. Reboot and voilà!

Wrapping up

That's it! I've got an old iMac running a modern 64-bit Xubuntu, where I can install software such as Chrome, Zoom, VSCode, etc. For Chrome and VSCode to work properly, I had to disable hardware acceleration, since this was buggy with the old graphics card.

imac-24-late-2006's People

Contributors

diogoff avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.