Forked from pinge/ubuntu_14.04_macbook_pro_retina_15_inch_mid_2014.md
Last active
August 29, 2015 14:24
-
-
Save wicadmin/a4f7fc4a8163968dadef to your computer and use it in GitHub Desktop.
Revisions
-
pinge revised this gist
Sep 16, 2014 . 1 changed file with 6 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -141,8 +141,12 @@ $ sudo vim /etc/crypttab with the partition ID instead of UUID `cryptswap1 /dev/disk/by-id/wwn-0xXXXXXXXXXXXXXXXX-partX /dev/urandom swap,cipher=aes-cbc-essiv:sha256` reload the crypto disks and verify that the swap partition is active (and persists across reboots) ```bash $ sudo /etc/init.d/cryptdisks reload $ sudo swapon -s ``` -
pinge revised this gist
Sep 16, 2014 . 1 changed file with 30 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -116,4 +116,33 @@ $ bluez-simple-agent ``` and try to pair the device using the Bluetooth settings. You should be prompted for the PIN on the terminal. Type in `0000` and the Magic Mouse should successfully pair. #### fixing encrypted swap that disappears after reboot identify your swap partitions by looking at the `8200` Code (probably around 16 GB) ```bash $ sudo gdisk -l /dev/sda ``` initialize an available swap partition and identify it `by-id` ```bash $ sudo mkswap /dev/sdaX $ sudo ls -al /dev/disk/by-id ``` and update crypttab ```bash $ sudo vim /etc/crypttab ``` with the partition ID instead of UUID ` reload the crypto disks -
pinge revised this gist
Sep 9, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -116,4 +116,4 @@ $ bluez-simple-agent ``` and try to pair the device using the Bluetooth settings. You should be prompted for the PIN on the terminal. Type in `0000` and the Magic Mouse should successfully pair. -
pinge revised this gist
Sep 9, 2014 . 1 changed file with 11 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -106,3 +106,14 @@ $ sudo apt-get install -d --reinstall network-manager network-manager-gnome $ sudo apt-get purge network-manager-gnome network-manager $ sudo apt-get install network-manager-gnome ``` #### fixing Magic Mouse not pairing run bluez agent ```bash $ bluez-simple-agent ``` and try to pair the device using the Bluetooth settings. You'll be prompted the for the Magic Mouse PIN: `0000` and it should successfully pair. -
pinge revised this gist
Sep 8, 2014 . 1 changed file with 11 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -95,6 +95,14 @@ $ sudo chmod 755 /etc/pm/sleep.d/99_wifi_fix #### fixing text scaling for the retina display ```bash $ gsettings set org.gnome.desktop.interface scaling-factor 0 $ gsettings set org.gnome.desktop.interface text-scaling-factor 1 ``` #### fixing connecting to new wireless networks ```bash $ sudo apt-get install -d --reinstall network-manager network-manager-gnome $ sudo apt-get purge network-manager-gnome network-manager $ sudo apt-get install network-manager-gnome ``` -
pinge revised this gist
Sep 8, 2014 . 1 changed file with 7 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -91,3 +91,10 @@ and set its permissions to 755: ```bash $ sudo chmod 755 /etc/pm/sleep.d/99_wifi_fix ``` #### fixing text scaling for the retina display ```bash gsettings set org.gnome.desktop.interface scaling-factor 0 gsettings set org.gnome.desktop.interface text-scaling-factor 1 ``` -
pinge revised this gist
Sep 8, 2014 . 1 changed file with 31 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -28,8 +28,6 @@ How to install Ubuntu 14.04.1 LTS 64-bit on a MacBook Pro Retina 15" Mid 2014 (1 - select the EFI USB drive as the boot device - choose `Try Ubuntu` (Live mode) - click `Install Ubuntu` to start the installation and install Ubuntu `Alongside with Mac OS` #### fixing kernel boot values to avoid periodic SSD freezing @@ -62,3 +60,34 @@ menuentry "MacOS" { ```bash $ sudo update-grub ``` #### fixing blank screen after suspend / resume `System Settings` > `Software & Updates` > `Additional Drivers` and change the NVIDIA driver to `Using NVIDIA binary driver - version 331.38 from nvidia-331 (proprietary, tested)" #### fixing wireless after suspend / resume ```bash $ sudo nano /etc/pm/sleep.d/99_wifi_fix ``` and add this to the contents of the file: ```bash #!/bin/sh case "$1" in resume|thaw) service network-manager stop rm /var/lib/NetworkManager/NetworkManager.state service network-manager start ;; esac ``` and set its permissions to 755: ```bash $ sudo chmod 755 /etc/pm/sleep.d/99_wifi_fix ``` -
pinge revised this gist
Sep 8, 2014 . 1 changed file with 18 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -31,7 +31,7 @@ How to install Ubuntu 14.04.1 LTS 64-bit on a MacBook Pro Retina 15" Mid 2014 (1 - when the installation finishes, DO NOT restart - open a terminal (CTRL + ALT + T) #### fixing kernel boot values to avoid periodic SSD freezing ```bash $ sudo nano /etc/default/grub @@ -45,3 +45,20 @@ and change the `GRUB_CMDLINE_LINUX` line to: $ sudo update-grub ``` #### fixing booting to Mac OS ```bash $ sudo nano /etc/grub.d/40_custom ``` and append to the end of file: ```bash menuentry "MacOS" { exit } ``` ```bash $ sudo update-grub ``` -
pinge revised this gist
Sep 8, 2014 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -41,3 +41,7 @@ and change the `GRUB_CMDLINE_LINUX` line to: `GRUB_CMDLINE_LINUX="libata.force=noncq"` ```bash $ sudo update-grub ``` -
pinge revised this gist
Sep 8, 2014 . 1 changed file with 8 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -29,10 +29,15 @@ How to install Ubuntu 14.04.1 LTS 64-bit on a MacBook Pro Retina 15" Mid 2014 (1 - choose `Try Ubuntu` (Live mode) - click `Install Ubuntu` to start the installation and install Ubuntu `Alongside with Mac OS` - when the installation finishes, DO NOT restart - open a terminal (CTRL + ALT + T) #### fixing kernel boot values to avoid periodic freeze in SSD ```bash $ sudo nano /etc/default/grub ``` and change the `GRUB_CMDLINE_LINUX` line to: `GRUB_CMDLINE_LINUX="libata.force=noncq"` -
pinge revised this gist
Sep 8, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -32,7 +32,7 @@ How to install Ubuntu 14.04.1 LTS 64-bit on a MacBook Pro Retina 15" Mid 2014 (1 #### fixing kernel boot values to avoid periodic freeze in SSD - open a terminal (CTRL + ALT + T) - ```bash $ sudo nano /etc/default/grub ``` -
pinge revised this gist
Sep 8, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -27,12 +27,12 @@ How to install Ubuntu 14.04.1 LTS 64-bit on a MacBook Pro Retina 15" Mid 2014 (1 - with your USB drive plugged in, boot your Mac and hold the `option` key - select the EFI USB drive as the boot device - choose `Try Ubuntu` (Live mode) - click `Install Ubuntu` to start the installation and install Ubuntu `Alongside with Mac OS` - when the installation finishes, DO NOT restart #### fixing kernel boot values to avoid periodic freeze in SSD - open a terminal (CTRL + ALT + T) ```bash $ sudo nano /etc/default/grub ``` -
pinge revised this gist
Sep 8, 2014 . 1 changed file with 17 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,6 +18,21 @@ How to install Ubuntu 14.04.1 LTS 64-bit on a MacBook Pro Retina 15" Mid 2014 (1 - the first boot won't have network access because you'll need to install the Broadcom wireless driver in order to be able to use the wireless adapter (either use an Ethernet USB adapter or copy the `dkms` and `bcmwl-kernel-source` packages to another USB disk) #### preparing your Ubuntu 14.04.1 LTS USB installation disk - install UNetbootin and create your bootable Ubuntu installation disk (set `Diskimage` as the Ubuntu ISO image and `Drive:` as your USB drive) #### installing Ubuntu - with your USB drive plugged in, boot your Mac and hold the `option` key - select the EFI USB drive as the boot device - choose `Try Ubuntu` (Live mode) - click `Install Ubuntu` to start the installation and choose to install Ubuntu `Alongside with Mac OS` - when the installation finishes, DO NOT restart #### fixing kernel boot values to avoid periodic freeze in SSD - open a terminal (CTRL + ALT + T) ```bash asdfasdf ``` -
pinge revised this gist
Sep 8, 2014 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,3 +18,6 @@ How to install Ubuntu 14.04.1 LTS 64-bit on a MacBook Pro Retina 15" Mid 2014 (1 - the first boot won't have network access because you'll need to install the Broadcom wireless driver in order to be able to use the wireless adapter (either use an Ethernet USB adapter or copy the `dkms` and `bcmwl-kernel-source` packages to another USB disk) #### installation ### afsdf -
pinge revised this gist
Sep 8, 2014 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -13,6 +13,8 @@ How to install Ubuntu 14.04.1 LTS 64-bit on a MacBook Pro Retina 15" Mid 2014 (1 #### notes - this installation process aims to have Ubuntu and Mac OS on dual boot mode - no need to repair GRUB after installation, the MacBook Pro 11,2 and 11,3 are now able to recognize multi-boot CD images, so there is not need to use the Mac version of the Ubuntu installation image (the USB disk with the will work just fine in native EFI mode) - the first boot won't have network access because you'll need to install the Broadcom wireless driver in order to be able to use the wireless adapter (either use an Ethernet USB adapter or copy the `dkms` and `bcmwl-kernel-source` packages to another USB disk) -
pinge revised this gist
Sep 8, 2014 . 1 changed file with 8 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ How to install Ubuntu 14.04.1 LTS 64-bit on a MacBook Pro Retina 15" Mid 2014 (11,3) #### download @@ -9,3 +9,10 @@ How to install Ubuntu 14.04.1 LTS 64-bit on a MacBook Pro Retina 15" Mid 2014 - Broadcom 802.11 Linux STA wireless driver source dependencies http://packages.ubuntu.com/trusty/all/dkms/download http://packages.ubuntu.com/trusty/amd64/bcmwl-kernel-source/download #### notes - this installation process aims to have Ubuntu and Mac OS on dual boot mode - no need to repair GRUB after installation, the MacBook Pro 11,2 and 11,3 are now able to recognize multi-boot CD images, so there is not need to use the Mac version of the Ubuntu installation image (the USB disk with the will work just fine in native EFI mode) - the first boot won't have network access because you'll need to install the Broadcom wireless driver in order to be able to use the wireless adapter (either use an Ethernet USB adapter or copy the `dkms` and `bcmwl-kernel-source` packages to another USB disk) -
pinge revised this gist
Sep 8, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ How to install Ubuntu 14.04.1 LTS 64-bit on a MacBook Pro Retina 15" Mid 2014 #### download -
pinge revised this gist
Sep 8, 2014 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ How to install Ubuntu 14.04 64-bit on a MacBook Pro Retina 15" Mid 2014 #### download - Ubuntu 14.04 Desktop 64-bit ISO (default, non-Mac version) -
pinge revised this gist
Sep 8, 2014 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,4 +3,7 @@ - Ubuntu 14.04 Desktop 64-bit ISO (default, non-Mac version) http://www.ubuntu.com/download/desktop - UNetbootin http://unetbootin.sourceforge.net/ - Broadcom 802.11 Linux STA wireless driver source dependencies http://packages.ubuntu.com/trusty/all/dkms/download http://packages.ubuntu.com/trusty/amd64/bcmwl-kernel-source/download -
pinge revised this gist
Sep 8, 2014 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,3 @@ #### download - Ubuntu 14.04 Desktop 64-bit ISO (default, non-Mac version) -
pinge created this gist
Sep 8, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ ubuntu 14.04 #### download - Ubuntu 14.04 Desktop 64-bit ISO (default, non-Mac version) http://www.ubuntu.com/download/desktop - UNetbootin http://unetbootin.sourceforge.net/