Linux on my Macbook Air

Joel Larsson » 07 May 2010 » In creativity, hacks, ideas, linux »

During the last three years, my Macbook Air has been kinda depressed. Every time i tried to install my free GNU programs using ports it has silently played this tune for me.

I am the wilderness locked in a cage
I am a growing force you kept in place
I am a tree reaching for the sun

Please don’t hold me down
Please don’t hold me down

I am a rolling wave without the motion
A glass of water longing for the ocean
I am an asphalt flower breaking free but you keep stopping me

Release me!
Release me!

I have heard this song during the last years and never really done anything about it, until today when i accidentally destroyed the Mac OS X operating system on my Macbook. When this happens, your Macbook will just boot to a white screen and display a small spinner and do nothing, yey! Mac OS X is probably the best non-free operating system out there, everything just works out of the box. I think one of the main reasons that made me feel somehow trapped inside in the Darwin world is that I could not get my terminal and Vim editor to work as smooth as on my Gentoo box. So i decided to install Linux on my Macbook :)

I downloaded the latest Gentoo build and everything booted up pretty good except that the keyboard didn’t work, my first plan was then to boot an Ubuntu CD and install Gentoo from it. When booting up the Ubuntu 10.04 CD I was in shock, since it was my first graphical installation since i changed to Gentoo many years ago. Damn it looks good now days!

Since the Ubuntu installation had me in shock I continued the installation, the process was really straightforward and easy, you can’t really compare it to a stage1 Gentoo huzzle installation. I have no clue what Ubuntu installed on my drive but I’m pretty happy have to have Linux running on my Macbook without any effort.

I come from gentoo-land and I don’t see my self changing it from my desktop computer for a while, but for my laptop i think Ubuntu is a solid pick since most peripherals just works out of the box!

Gentoo

Update:

  • To fix the the touchpad after a sleep, reload the bcm5974 kernelmodule using the following script. Add it to /usr/lib/pm-utils/sleep.d/02touchpad and set correct permissions
      #!/bin/bash
      if [ -e '/usr/lib/pm-utils/functions' ];then
        . /usr/lib/pm-utils/functions
      fi
    
      suspend_bcm5974() { /sbin/rmmod bcm5974; }
      resume_bcm5974() { /sbin/modprobe bcm5974; }
    
      case "$1" in
        suspend|hibernate)
          suspend_bcm5974;
        ;;
        thaw|resume)
          resume_bcm5974;
        ;;
        *)
        ;;
      esac
      exit $?
    
  • Direct link to the Ubuntu releases
  • Before booting you macbook with the Ubuntu installation CD, read about the startup shortcuts

Creative Commons License

Trackback URL

  • anon
  • http://hackr.se/ Joel Larsson

    Small update to fix the mousepad after sleep, added the direct link from anons post.

  • http://techrights.org/2010/05/08/rhel-6-beta-reviewed/ Links 8/5/2010: Wine 1.1.44 is Out, RHEL 6 Beta Reviewed | Techrights

    [...] Linux on my Macbook Air During the last three years, my Macbook Air has been kinda depressed. Every time i tried to install my free GNU programs using ports it has silently played this tune for me. [...]

  • http://hightech.gspvn.org/laptops/linux-on-my-macbook-air-hackrse/ Linux on my Macbook Air | hackr.se | High technology information

    [...] post: Linux on my Macbook Air | hackr.se var addthis_pub = ''; var addthis_language = 'en';var addthis_options = 'email, favorites, digg, [...]

  • http://www.magicalmurphy.com/wp-apple/2010/05/can-i-install-final-cut-studio-3-on-4-macs/ Can I install Final Cut Studio 3 on 4 Macs? | Apple On The Longtail

    [...] Linux on my Macbook Air | hackr.se [...]

  • Paulgrinberg

    When I recently tried Mac OS X after using a lowly Lubuntu install on an old Dell laptop I realized how right you are.  OS X uses the spiffy high quality Unix graphics paradigms to make it look really good but ends up removing the powerful Unix stuff that made the BSD systems so awesome.  All looks but no brain…

blog comments powered by Disqus
Get Adobe Flash playerPlugin by wpburn.com wordpress themes