MacBook Air

De dieudo.fr
Aller à la navigation Aller à la recherche

Installation d'Ubuntu 18.04 sur disque dur externe 1To-SSD USB3

Configuration : MacBook Air 6,2 sous OS 10.10.5, Macintosh HD 500 Go.

  1. Clonage du disque de 500 Go sur le 1To en démarrant avec une clef USB sous Clonezilla (créée avec w:Unetbootin)
  2. Démarrage sur clef USB d'install d'Ubuntu 18.04
  3. Via GParted :
    1. Déplacement de la partition Recovery HD vers la fin du disque
    2. Création d'une partition de 450 Go pour faire des sauvegarde via TimeMachine
    3. Création d'une partition Ext4 de 45 Go labellisée root "/"
    4. Création d'une partition Swap
  4. Installation d'Ubuntu 18.04
  5. Via "Gestionnaire de mise à jour > Pilotes additionnels", sélection du pilote alternatif pour le wifi
  6. Utilisation de ces instructions pour la caméra HD :
    1. https://help.ubuntu.com/community/MacBookAir > https://help.ubuntu.com/community/MacBookAir6-2 > https://help.ubuntu.com/community/MacBookAir6-2/Trusty
    2. Get Started on Debian pour l'installation jusqu'à "Extract and install the firmware file as described in Firmware extraction." puis passage à Get Started on Ubuntu pour bénéficier du script d'installation.
  7. Calibrer les couleurs de l'écran : récupérer le profil .icc (cf. Calibrate display) et l'importer via Paramètres > Couleur

Cacher le disque dur "Recovery HD"

Source

Extrait :

First, find what device contains the Recovery HD that’s mounted:

mount | grep "Recovery HD"

This will return something like the following where I’ve hilighted the important bits in bold.

/dev/disk2s3 on /Volumes/Recovery HD (hfs, local, journaled)

We can see that the Recovery HD is /dev/disk2s3 in this example (it will probably be different for you, so don’t take my word for it!)

Next, run the following two commands, replacing /dev/disk2s3 with whatever you had returned above. The first command unmounts it from the desktop so we can have greater control over the device, the second one adjusts it’s partition type to an Apple_Boot partition so it stays hidden as it should be.

/usr/sbin/diskutil unmount /dev/disk2s3
/usr/sbin/asr adjust --target /dev/disk2s3 -settype Apple_Boot