- MacBook Aluminium Late 2008
Find a link to a binary zip file in the Getting rEFInd page and then download and unzip it.
$ cd /path/to/download
$ curl -L http://sourceforge.net/projects/refind/files/0.10.7/refind-bin-0.10.7.zip/download > refind-bin-0.10.7.zip
$ unzip refind-bin-0.10.7.zip
$ cd refind-bin-0.10.7
Under Mac OS X 10.11 (El Capitan) or later, the SIP (System Integrity Protecton) prevents us from installing rEIFind.
To ignore the SIP, run the install script on the Mac OS X recovery mode.
- Restart the machine in the Mac OX X recovery mode, holding down the
Command + Rkeys. - Launch Utilities > Terminal.
Run the script refind-install.
$ cd /path/to/download/refind-bin-0.10.7
$ ./refind-install
Install Ubuntu from a bootable USB stick.
- Restart the machine with the Option key to launch the Startup Manager.
- Choose the bootable USB volume.
- Install Ubuntu.
If the EFI Boot volume doesn't appear on the Statup Manager, the machine (firmware) doesn't recognize the boot loader in the EFI partition. To fix this problem, try the following workaround.
In Mac OS X, mount the EFI partition to a file such as /Volumes/efi and then rename refind/refind_x86.efi with boot/bootx86.efi.
$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
...
1: EFI EFI 209.7 MB disk0s1
...
$ mkdir -p /Volumes/efi
$ mount -t msdos /dev/disk0s1 /Volumes/efi
$ cd /Volumes/efi/EFI
$ ls
APPLE refind tools ubuntu
$ mv refind boot
$ mv boot/refind_x86.efi boot/bootx86.efi
$ lspci
...
03:00.0 Network controller: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)
Install the following .deb packages, which contain in the Ubuntu Desktop ISO (bootable USB stick).
/pool/restricted/b/bcmwl/cmwl-kernel-source_6.30.223.271+bdcom-0ubuntu1~1.1_amd64.deb/pool/main/d/dkms/dkms_2.2.0.3-2ubuntu11.3_all.deb
- build-essential
- curl / wget / rsync
- git
- fcitx-mozc
- unity-tweak-tool
- dconf-tools
The gsettings command offers a simple commandline interface to GSettings.
$ gsettings list-schemas
# Change the Unity Launcher's position
$ gsettings set com.canonical.Unity.Launcher launcher-position (Left|Bottom)
The GUI dconf-editor of the dconf-tools package would be better.
$ sudo apt-get install dconf-tools
$ sudo apt-get install libappindicator1
# Chromimum Browser (open source)
$ sudo apt-get install chromium-browser
# Google Chrome
$ sudo dpkg -i google-chrome-stable_current_amd64.deb
You may suffer from the following error when you quit the GVim lanched from the terminal.
(gvim:2575): GLib-GObject-WARNING **: cannot retrieve class for invalid (unclassed) type '<invalid>'
Install the vim-gtk package instead of vim-gnome.
$ sudo apt-get remove vim-gnome
$ sudo apt-get install vim-gtk
$ curl -LO https://github.com/adobe-fonts/source-han-code-jp/archive/2.000R.tar.gz
$ tar xvfz source-han-code-jp-2.000R.tar.gz
$ cp source-han-code-jp-2.000R/OTF/*.otf ~/.fonts/
$ fc-cache -f -v