Macbook Pro running OSX 10.11 "el capitan"
20180215 jean@huens.be
First disk copy with super-duper.
Switch disk.
Installed ubuntu 18.04 with usb.
With ubuntu 16.04 additional displays connected through the displayport adapter to VGA or
HTML could be activated in setting.
This does not work in 18.04.
Last installation was done with Ubuntu 16.04.3 LTS, the OS-X version was high sierra.
Some time after the installation. the macbook hardware broke down. But I had spare macbook
pro and swapped the disk.
Os-X high sierra did boot without problems.
Unbuntu 16.04 did boot without problems, except that the wireless interfaces did not work any
more.
I did follow the instructions on
https://askubuntu.com/questions/55868/installing-broadcom-wireless-drivers.
jean@pear1:~$ lspci -nn -d 14e4: 02:00.0 Network controller [0280]: Broadcom Limited BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b] (rev 01) 03:00.0 Ethernet controller [0200]: Broadcom Limited NetXtreme BCM5764M Gigabit Ethernet PCIe [14e4:1684] (rev 10)
For14e4:432b is should install bcmwl-kernel-source.
Since it was already installed i did purge the package and after a reboot I got a working
wlan0.
Note: netmanager seems to keep the wlan device (and/or MAC address ) in its
configuration. To use stored network manager configurations you have to edit them and
change the device under the wi-fi tab.
Since macos uses SIP check http://www.rodsbooks.com/refind/sip.html#disable_in_osxi
This is what I did follow to install rEFInd. Remarks:
bash-3.2# ls -lThe USB stick is device /dev/[r]disk1
total 3649736
...
-rw-r--r-- 1 root staff 43 May 27 20:22 typescript
-rw-r--r--@ 1 jean staff 1485881344 May 27 20:15 ubuntu-16.04-desktop-amd64.iso
bash-3.2# hdiutil convert -format UDRW -o ubuntu-16.04-desktop-amd64.img ubuntu-16.04-desktop-amd64.iso
Reading Driver Descriptor Map (DDM : 0)…
Reading Ubuntu 16.04 LTS amd64 (Apple_ISO : 1)…
Reading Apple (Apple_partition_map : 2)…
Reading Ubuntu 16.04 LTS amd64 (Apple_ISO : 3)…
......................................................................................................................................................
Reading EFI (Apple_HFS : 4)…
......................................................................................................................................................
Reading Ubuntu 16.04 LTS amd64 (Apple_ISO : 5)…
......................................................................................................................................................
Elapsed Time: 38.898s
Speed: 36.4Mbytes/sec
Savings: 0.0%
created: /Users/jean/Downloads/ubuntu-16.04-desktop-amd64.img.dmg
bash-3.2# ls -l
total 6551848
...
-rw-r--r-- 1 root staff 2738 May 27 20:25 typescript
-rw-r--r-- 1 root staff 1485881344 May 27 20:25 ubuntu-16.04-desktop-amd64.img.dmg
-rw-r--r--@ 1 jean staff 1485881344 May 27 20:15 ubuntu-16.04-desktop-amd64.iso
bash-3.2# diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 999.3 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *31.0 GB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_HFS UBUNTU16-04 30.7 GB disk1s2
bash-3.2# diskutil unmountdisk /dev/disk1
Unmount of all volumes on disk1 was successful
bash-3.2# dd if=ubuntu-16.04-desktop-amd64.img.dmg of=/dev/rdisk1 bs=1m
1417+1 records in
1417+1 records out
1485881344 bytes transferred in 180.989510 secs (8209765 bytes/sec)
bash-3.2# diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 999.3 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_partition_scheme *31.0 GB disk1
1: Apple_partition_map 4.1 KB disk1s1
2: Apple_HFS 2.4 MB disk1s2
bash-3.2# diskutil eject /dev/disk1
Disk /dev/disk1 ejected
bash-3.2# exit
menuentry "OS X El Capitan" { exit }
To boot macos interrupt the Grub screen by pushing ESC and choose OS X El capitan or end the
grub-bash shell with exit().
You will get the rEfiboot screen ans the OS-X logo starts OS X El Capitan.
The wireless on macbook pro is a Broadcom device, and it needs apropriate firmware:
Hold dowm "Command" and R to reboot in recovery mode:
Do not know when this problem first did show up.
Problem "apt-get dist-upgrade" fails. A number of packages are in weird state
(lsb-release, and 2 python3 packages).
The most usefull message is python related " failed to load module os ".
The internet (python stuff) seems to find this a simple problem (missing link during
transition from python 2 to puthon 3).
Could not solve this, whitout python experience, and decided
to install ubuntu 16.04.