home | lab | find me | science | publications | software | toolbox | site map
Installing Ubuntu 12.04 LTS in a Macbook Pro 8,1
- Insert the Ubuntu 12.04 LTS 64-bit installation CD, reboot and hold the 'alt' key.
- From the boot choice menu, select the CD icon that says "Windows".
- Choose live CD to try it out. Wireless won't work yet.
- Double-click the installer and get started. Will take about 30 minutes. I chose to erase completely MacOSX, not having any use for it.
- Once installed, reboot, remove the CD, and boot into Ubuntu 12.04 LTS. Notice that while booting a grey screen appears for about 30 seconds.
- To enable the wireless install the b43 driver, by doing:
- $ sudo apt-add-repository ppa:mpodroid/mactel
- $ sudo apt-get update
- $ sudo apt-get install b43-fwcutter firmware-b43-installer
...and then edit the file '/etc/modprobe.d/blacklist.conf' and add the line, at the end: blacklist ndiswrapper
...and then edit (create if not there) the file '/etc/pm/config.d/modules', and add the line: SUSPEND_MODULES="b43 bcma"
In the installer, I chose to have my entire home directory encrypted. If you do so, nobody can read your personal files without your password. Be sure to store the passphrase securely somewhere. If you lose the piece of paper with the passphrase and still have access to your laptop, use "$ ecryptfs-unwrap-passhrase" to print it (will ask for the 'passphrase' but it means your password).
There are a number of modifications you may want to do:
UPDATING to Ubuntu 14.04 Trusty Tahr:
- Upon completing the upgrade, internet seems not to work: the DNS setup for resolving internet addresses (e.g. google.com) to IPs (e.g. 123.456.789.10) is screwed up. You have to run "sudo dpkg-reconfigure resolvconf" to restore the /etc/resolv.conf file as a symlink, and then remove the /etc/resolv.conf.d/tail and re-add it as a symlink to /dev/null.
- Wireless fails to reconnect when resuming from suspend (in other words, waking up from sleep): open a terminal and type "sudo killall wpa_supplicant" and it will reconnect instantly. The wpa_supplicant restarts automatically upon killing it, restoring whatever is wrong with it. It's an authentication error of sorts.
Last updated: 2014-05-12 06:05 New York time. Copyright Albert Cardona.