Différences entre les versions de « MacBook Air »

De dieudo.fr
Aller à la navigation Aller à la recherche
(Page créée avec « == 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. # Clonage du disque de... »)
 
(Cacher le disque dur "Recovery HD")
Ligne 16 : Ligne 16 :
## [https://github.com/patjak/bcwc_pcie/wiki/Get-Started#get-started-on-debian Get Started on Debian] pour l'installation jusqu'à "Extract and install the firmware file as described in Firmware extraction." puis passage à [https://github.com/patjak/bcwc_pcie/wiki/Get-Started#get-started-on-ubuntu Get Started on Ubuntu] pour bénéficier du script d'installation.
## [https://github.com/patjak/bcwc_pcie/wiki/Get-Started#get-started-on-debian Get Started on Debian] pour l'installation jusqu'à "Extract and install the firmware file as described in Firmware extraction." puis passage à [https://github.com/patjak/bcwc_pcie/wiki/Get-Started#get-started-on-ubuntu Get Started on Ubuntu] pour bénéficier du script d'installation.


== Cacher le disque dur "Recovery HD" ==
[http://automatica.com.au/2013/11/hide-recovery-hd-after-cloning-an-os-x-installation/ 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
[[Catégorie:Logiciel libre]]
[[Catégorie:Logiciel libre]]

Version du 25 février 2019 à 20:32

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.

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