Recently, it seems boring, on their MacBook Air installed on the Ubuntu dual system, which various twists and turns, here précis-writers below, if you have the need to install Ubuntu, you can refer to the steps here.
1. Download the Ubuntu installation image,
This is on the Ubuntu official Internet download, about 1 g size bar. I downloaded the 14.04 lts version, the code name is trusty Tahr.
2. Burn Ubuntu to the U-disk,
This has the standard step, follow the step by step to be possible.
1. Convert the image file in the ISO format to the DMG format
Hdiutil Convert/path/to/ubuntu.iso-format udrw-o/path/to/ubuntu.dmg
2. Insert the U-disk and run the following command to view the disk number of your USB drive
Diskutil List
3. Run the following command, change N to the serial number of your USB drive, 2 or 1
Diskutil UNMOUNTDISK/DEV/DISKN
4.if=/path/to/ubuntu.dmg of=/dev/rdiskn bs=1m
5. Eject the U-disk and change N to the serial number of your USB drive
Diskutil EJECT/DEV/DISKN
3. Once the installation disk is ready, you will need to carve a piece of disk on it for Ubuntu, and you can use the system's own disk utility or Bootcamp to partition it.
4. Insert the U-disk, restart your Mac, and hold down the option key until the disk selection appears.
5. Select the EFI boot entry, and after entering, select try Ubuntu and go to Ubuntu trial mode. Normal installation, after installation, note, do not Press the Restart this button, choose to continue to try Ubuntu, we have to solve the boot boot problem, or restart is unable to enter Ubuntu.
6. Run the following command to repair the boot
sudo apt-get install Efibootmgrsudo efibootmgr
sudo efibootmgr-o 0,80
After running, it can be restarted.
7. Restart is possible to enter Ubuntu, but still need to continue to repair, or will not enter OS X
sudo gedit/etc/grub.d/40_custom
Add the following line at the end of the displayed text:
Menuentry "Mac OS X" {exit}
8. At this point, the system has been installed, but if you also like I can not link the wireless network, please follow the steps described below.
Download the wireless Card driver package on the official website:
Bcmwl-kernel-source
Also download the dependent package:
dkms
Use the U-disk to carry the two packages to the Ubuntu system you installed, double-click to install it,
Remember to install dkms this package first.
9. Finally, there is an annoying problem, every time you boot into Ubuntu will find the screen brightness and keyboard light brightness values have been opened to the maximum.
You can set this method as follows:
sudo gedit/etc/rc. Local and add the following echo >/sys/class/backlight/gmux_backlight/brightnessecho >/sys/class/leds /SMC::kbd_backlight/brightnessexit 0
The number behind ECHO is the luminance value, which can be adjusted as needed
10.OK, at this point, you already have a perfect Ubuntu system, enjoy!
MacBook Air installs Ubuntu dual system précis-writers