Install Ubuntu on MacBook Air

Source: Internet
Author: User
Tags macbook

Install Ubuntu on MacBook Air

MacBook Air is recognized as one of the best laptops. Many people buy it and install Windows, because they cannot find a better Windows host. now someone has installed Ubuntu, for more information, see.

To install the ubuntu dual system on the MacBook Air, first download the Ubuntu installation image file, which is the Ubuntu 14.04 LTS version, code: Trusty Tahr. Use a USB disk to create an U disk for Ubuntu boot, and convert the ISO format image file to the dmg format on the MacBook Air.

Hdiutil convert/path/to/ubuntu. iso-format UDRW-o/path/to/ubuntu. dmg

Insert a blank USB flash drive and run the following command to check your serial number.

Diskutil list

Run the following command to change N to the serial number of your USB flash drive, usually 2 or 1.

Diskutil unmountDisk/dev/diskN

Run the following command to change N to the serial number of your U disk.

Sudo dd if =/path/to/ubuntu. dmg of =/dev/rdiskN bs = 1 m

Exit the U disk and change N to the serial number of your U disk.

Diskutil eject/dev/diskN

After preparing the U disk for installation, you also need to specify a partition on the hard disk for ubuntu. You can use the built-in disk tool or BootCamp to separate it. Insert the U disk and restart the Mac. Press and hold the Option key until the disk is selected. Select the boot item EFI boot, enter try ubuntu, and enter the ubuntu trial mode. You can install it as usual. After the installation is complete, be sure not to press the restart button and choose to continue to try ubuntu. We need to solve the problem of boot, otherwise the restart will not be able to enter ubuntu. Next, execute the following command to fix the boot.

Sudo apt-get install efibootmgr

Sudo efibootmgr

Sudo efibootmgr-o 0, 80

Then you can restart the instance. After the restart, you can go to ubuntu, but you still need to continue the repair. Otherwise, you will not be able to enter Mac OS X.

Sudo gedit/etc/grub. d/40_custom

Add the following lines at the end of the displayed text.

Menuentry "Mac OS X "{

Exit

}

Now the system has been installed, but if you cannot connect to a wireless network, follow these steps. Download the wireless network card driver from the official website.

Bcmwl-kernel-source

Download the dependent kit dkms. Copy the two kits to the ubuntu system you have installed with the U disk. Double-click the installation and remember to install dkms first. At last, there is another annoying problem. Every time you start ubuntu, you will find that the screen brightness and keyboard light brightness value have been set to the maximum. You can follow this method.

Sudo gedit/etc/rc. local

Then add the following.

Echo 1200>/sys/class/backlight/gmux_backlight/brightness

Echo 25>/sys/class/leds/smc: kbd_backlight/brightness

Exit 0

The number following echo is the brightness value, which can be adjusted as needed. Now you have a perfect ubuntu system.

Download, install, and configure Ubuntu 14.04

Ubuntu 14.04 system:

Ubuntu 14.04 text tutorial on hard drive installation in Windows 7

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.