{"version":"1.1","schema_version":"1.1.0","plugin_version":"1.1.2","url":"https://ipom.fr/2019/06/08/mac-archwiki/","llm_html_url":"https://ipom.fr/2019/06/08/mac-archwiki/llm","llm_json_url":"https://ipom.fr/2019/06/08/mac-archwiki/llm.json","manifest_url":"https://ipom.fr/llm-endpoints-manifest.json","language":"fr-FR","locale":"fr_FR","title":"Mac &#8211; ArchWiki","site":{"name":"iPom","url":"https://ipom.fr/"},"author":{"id":1,"name":"Maximus63","url":"https://ipom.fr/author/maximus/"},"published_at":"2019-06-08T08:26:19+00:00","modified_at":"2019-06-08T08:26:19+00:00","word_count":5194,"reading_time_seconds":1559,"summary":"L’installation d’Arch Linux sur un MacBook (12 &quot;/ Air / Pro) ou un iMac est assez similaire à son installation sur n’importe quel autre ordinateur. Toutefois, en raison de la configuration matérielle spécifique d’un Mac, certaines divergences et considérations spéciales justifient Pour plus d’informations générales, consultez le Guide d’installation et UEFI, qui contient des instructions [&hellip;]","summary_points":["L’installation d’Arch Linux sur un MacBook (12 &quot;/ Air / Pro) ou un iMac est assez similaire à son installation sur n’importe quel autre ordinateur.","Toutefois, en raison de la configuration matérielle spécifique d’un Mac, certaines divergences et considérations spéciales justifient Pour plus d’informations générales, consultez le Guide d’installation et UEFI, qui contient des instructions d’installation pouvant être utilisées sur tout ordinateur Apple dont le matériel est pris en charge par le noyau Linux.","Reportez-vous aux pages &#39;connexes&#39; (en haut).","à droite de cette page) pour obtenir des conseils et des solutions de dépannage spécifiques à un modèle."],"topics":["Apple"],"entities":[],"entities_metadata":[{"id":9,"name":"Apple","slug":"apple","taxonomy":"category","count":6020,"url":"https://ipom.fr/category/apple/"}],"tags":["Apple"],"content_hash":"51491eb8b24d933c134e36f158c878bd","plain_text":"L’installation d’Arch Linux sur un MacBook (12 &quot;/ Air / Pro) ou un iMac est assez similaire à son installation sur n’importe quel autre ordinateur. Toutefois, en raison de la configuration matérielle spécifique d’un Mac, certaines divergences et considérations spéciales justifient Pour plus d’informations générales, consultez le Guide d’installation et UEFI, qui contient des instructions d’installation pouvant être utilisées sur tout ordinateur Apple dont le matériel est pris en charge par le noyau Linux. Reportez-vous aux pages &#39;connexes&#39; (en haut). à droite de cette page) pour obtenir des conseils et des solutions de dépannage spécifiques à un modèle.\n\n\nContenus\nToggleVue d&#39;ensembleMises à jour du firmwareDes partitionsArch Linux uniquementArch Linux avec OS X ou d&#39;autres systèmes d&#39;exploitationOption 1: EFIOption 2: compatibilité du BIOSTriple démarrage sous OS X, Windows XP et Arch LinuxConfiguration du chargeur de démarrageUtilisation du chargeur de démarrage Apple natif avec systemd-boot (recommandé)Utilisation du chargeur de démarrage Apple natif avec GRUBAutres méthodesInstaller directement GRUB sur une partition EFIUtiliser la bénédictionCompilationInstallationPost-installationVidéoPavé tactileClavierWifiGestion de l&#39;alimentationDésactiver ThunderboltSuspend and HibernateWake Up After SuspendCapteur de lumièreDu sonBluetoothMagic MouseWebcamiSightFacetime HDTemperature SensorsColor ProfileApple RemoteHFS partition sharingHFS+ PartitionsJournalingYosemite and laterHome SharingIn OS XIn ArchAvoid long EFI wait before bootingMute startup chimekworker using high CPUrEFItProblems with rEFItMavericks upgrade breaks Arch boot optionModel-specific informationMacBookMacbook ProEarly 2015 13&quot;/15&quot; &#8211; Version 12,x/11,4+2012 &#8211; 2014 modelsMacbook AirMid 2011 — version 4,xEarly 2008 — version 1,1Voir également\nVue d&#39;ensemble\nPlus précisément, la procédure d&#39;installation d&#39;Arch Linux sur un MacBook est la suivante:\n\n\nMises à jour du firmware: Il est toujours utile de démarrer à partir d’une installation propre, sauvegardée et à jour de OS X.\nCloison: Redimensionnement ou suppression de la partition OS X pour créer des partitions pour Arch Linux.\nConfiguration du chargeur de démarrage: S&#39;assurer que la nouvelle partition est amorçable.\nInstaller Arch Linux: En train d’installer Arch Linux.\nPost-installation: Configuration spécifique au MacBook.\n\nMises à jour du firmware\nAvant de procéder à l&#39;installation d&#39;Arch Linux, il est important de vous assurer que les dernières mises à jour de microprogramme pour votre MacBook sont installées. Cette procédure nécessite OS X.\nSous OS X, ouvrez l&#39;App Store et recherchez les mises à jour. Si votre mac trouve et installe des mises à jour, assurez-vous de redémarrer votre ordinateur, puis vérifiez à nouveau les mises à jour pour vous assurer que vous avez tout installé.\n\nRemarque: Si vous avez désinstallé OS X ou si vous souhaitez le réinstaller, Apple dispose d&#39;excellentes instructions.\nIl est conseillé de garder OS X installé, car les mises à jour du microprogramme des MacBook ne peuvent être installées qu’avec OS X. Toutefois, si vous envisagez de supprimer complètement OS X, effectuez des sauvegardes de ces fichiers, dont vous aurez besoin sous Linux pour ajuster le profil de couleur:\n\n/ Bibliothèque / ColorSync / Profils / Affichages / *\n\nContinuer vers #Partitions\n\nDes partitions\nLa partition du disque de stockage ne diffère pas de tout autre PC ou ordinateur portable. Toutefois, si vous prévoyez de conserver OS X pour un double démarrage, vous devez considérer que, par défaut, le lecteur d&#39;un MacBook est formaté à l&#39;aide de la technologie GPT et contient au moins 3 partitions:\n\n\nEFI: la partition système EFI d&#39;environ 200 Mo.\nOS X: la partition principale contenant votre installation OS X. Il est formaté avec HFS +.\nRécupération: Une partition de récupération présente dans presque tous les MacBooks exécutant OS X 10.7 ou plus récent. Il est généralement masqué sous OS X mais peut être visualisé à l&#39;aide d&#39;outils de partitionnement.\n\nLa manière de partitionner dépend du nombre de systèmes d&#39;exploitation que vous souhaitez installer. Les options suivantes seront expliquées:\n\nArch Linux uniquement\nCette situation est la plus facile à gérer. Le partitionnement est identique à tout autre matériel sur lequel Arch Linux peut être installé. Veuillez vous reporter au guide d&#39;installation standard pour plus de détails.\n\nRemarque: Il est conseillé de désactiver le son de démarrage du MacBook avant de procéder au partitionnement. Démarrez simplement dans OS X, coupez le son de votre système et redémarrez à nouveau sur le support d&#39;installation Arch Linux. N&#39;oubliez pas que le volume du son de démarrage ne peut être modifié de manière fiable que sous OS X.\nSi vous souhaitez configurer votre système de manière à ce que le cryptage intégral du disque soit activé, veuillez consulter la page Dm-crypt / Cryptage de tout un système pour plus de détails.\n\nUn exemple pour un partitionnement très basique, qui ne considère pas un séparé /maison partition, ni chiffrement, ni LVM, est la suivante:\n\nétiquette du type de taille du point de montage de la partition\n/ dev / sda1 / boot 200MiB vfat EFI\n/ dev / sda2 / swap ajuste le swap\n/ dev / sda3 / reste la racine ext4\n\nArch Linux avec OS X ou d&#39;autres systèmes d&#39;exploitation\nVous devez partitionner votre disque dur tout en conservant les partitions utilisées pour OS X / Windows. Si vous souhaitez conserver OS X, le moyen le plus simple consiste à utiliser les outils de partitionnement sous OS X, puis à utiliser les outils Arch Linux.\n\nAttention:  Si votre partition OS X est cryptée avec FileVault 2, vous doit désactiver le cryptage du disque avant de continuer. Une fois la partition OS X redimensionnée, FileVault 2 peut être réactivé.\nProcédure:\n\n\nSous OS X, exécutez Utilitaire de disque.app (situé dans / Applications / Utilitaires)\nSélectionnez le lecteur à partitionner dans la colonne de gauche (pas les partitions!). Clique sur le Cloison bouton.\nAjoutez une nouvelle partition en appuyant sur le bouton + bouton et choisissez l’espace que vous souhaitez laisser pour OS X et celui de la nouvelle partition. Gardez à l&#39;esprit que la nouvelle partition sera formatée dans Arch Linux, vous pourrez donc choisir le type de partition de votre choix.\nSi ce qui précède s&#39;est terminé avec succès, vous pouvez continuer. Sinon, vous devrez peut-être commencer par réparer vos partitions à partir de OS X.\nDémarrez le support d’installation Arch ou LiveUSB en maintenant la touche enfoncée. Alt au démarrage. Continuez avec #Installation.\n\nIl est possible de redimensionner la partition nouvellement créée à partir du support d&#39;installation Arch, ou de la supprimer afin de procéder à la création d&#39;autres partitions (par exemple, swap).\n\nPointe: Au lieu d&#39;encombrer votre disque avec une partition différente, il est possible d&#39;utiliser un fichier d&#39;échange au lieu d&#39;une partition dédiée. Une autre solution peut être de configurer LVM afin d’utiliser la partition nouvellement créée en tant que conteneur. Veuillez vous référer aux articles liés.\nOption 1: EFI\n\nSupprimer la partition que vous avez créée Utilitaire de disque.app et créez les partitions nécessaires pour Arch Linux. OS X aime voir un espace de 128 Mo après les partitions. Ainsi, lorsque vous créez la première partition après la dernière partition OS X, saisissez + 128M quand cgdisk demande le premier secteur de la partition. Plus d&#39;informations sur la politique de partitionnement d&#39;Apple peuvent être lues ici. Un exemple simple (pas de LVM, crypto):\n\nRemarque: \n\nLa partition d&#39;échange est facultative sur les machines disposant de 4 Go de RAM ou plus. UNE fichier d&#39;échange peut être créé plus tard.\nL’option de démarrage double la plus simple consiste à installer rEFInd à partir de OS X, dans son répertoire racine (par défaut pour install.sh). Ensuite, copiez le dossier du pilote depuis l’archive d’installation dans le nouvel emplacement rEFInd et décommentez les lignes. &quot;scan_all_linux_kernels&quot; et &quot;also_scan_dirs&quot; options dans refind.conf. La configuration des options de démarrage peut ensuite être effectuée à partir d’un refind_linux.conf dans Arch&#39;s /démarrage annuaire.\nSi vous voulez pouvoir démarrer GRUB à partir du chargeur de démarrage Apple, vous pouvez créer une petite partition hfs + (pour plus de commodité, utilisez OS X pour le formater de manière appropriée. Utilitaire de disque.app ensuite). Suivez la procédure d’installation de GRUB EFI et montez votre / boot / efi répertoire de la partition hfs + que vous avez créée. Enfin, terminez à nouveau dans OS X en bénissant la partition. Ceci définira GRUB comme option de démarrage par défaut (maintenir alt au démarrage ouvre toujours l’écran des options de démarrage du Mac. Voir http://mjg59.dreamwidth.org/7468.html).,\nLa partition EFI d&#39;OS X peut être partagée avec Arch Linux, rendant la création d&#39;une partition EFI supplémentaire dédiée à Arch totalement optionnelle.\n\n\nRemarque: Pour plus d&#39;informations sur le partitionnement, voir Partitionnement\nétiquette du type de taille du point de montage de la partition\n/ dev / sda1 / boot / efi 200MiB vfat EFI\n/ dev / sda2 -? hfs + OS X\n/ dev / sda3 -? hfs + récupération\n/ dev / sda4 - 100 Mo hfs + Boot Arch Linux à partir du chargeur d&#39;amorçage Apple (facultatif)\n/ dev / sda5 / boot Boot de démarrage 100MiB\n/ dev / sda6 -? swap swap (optionnel)\n/ dev / sda7 / 15-20GiB racine ext4\n/ dev / sda8 / home restante ext4 maison\n\nOption 2: compatibilité du BIOS\n\nSupprimez la partition d&#39;espace vide et partitionnez l&#39;espace comme vous le feriez pour toute autre installation. Notez que le MBR est limité à 4 partitions principales (y compris la partition efi). Cela laisse 2 partitions primaires pour Arch. Une stratégie consiste à avoir une partition système et une partition principale et à utiliser un fichier d&#39;échange (je n&#39;ai pas essayé d&#39;utiliser des partitions logiques). Une autre consiste à dédier une partition à une partition partagée (voir ci-dessous).\n\n\nEnsuite, créez de nouveaux systèmes de fichiers sur les partitions qui en ont besoin, en particulier la partition qui contiendra /démarrage. Si vous ne savez pas comment faire cela en utilisant mkfs.ext2 (ou autre chose), cours / arch / setup et travaillez jusqu’à ce que vous arriviez à préparer le disque dur et à utiliser le &quot;Configurer manuellement les périphériques en mode bloc &#8230;&quot; option, puis quittez le programme d&#39;installation. Cela est nécessaire pour que rEFIt définisse le type de partition approprié dans le MBR à l&#39;étape suivante (sans système de fichiers existant, il semble ignorer le type de partition défini par parted), sans quoi GRUB refusera de l&#39;installer sur la partition appropriée.\n\n\nÀ ce stade, vous devez redémarrer votre ordinateur et demander à correct de corriger les tables de partition sur votre disque dur. (Si vous ne le faites pas, vous devrez peut-être réinstaller GRUB ultérieurement pour que votre Mac reconnaisse la partition Linux.) Lorsque vous êtes dans le menu reFIt, sélectionnez mettre à jour la table de partition, puis appuyez y. Redémarrer.\n\nTriple démarrage sous OS X, Windows XP et Arch Linux\nCela ne fonctionnera peut-être pas pour tout le monde, mais il a été testé avec succès sur un MacBook depuis fin 2009.\n\nLe moyen le plus simple de partitionner votre disque dur, afin que tous ces systèmes d&#39;exploitation puissent coexister, consiste à utiliser l&#39;utilitaire de disque sous OS X, à utiliser le formateur sous Windows XP, à installer XP et à terminer avec les outils Arch Linux.\n\nAttention: Il est vivement recommandé de ne tenter cette opération qu&#39;après une nouvelle installation d&#39;OS X. L&#39;utilisation de ces méthodes sur un système pré-existant peut donner des résultats non souhaités. Avant de commencer, sauvegardez au moins vos affaires avec timemachine ou clonezilla.\nProcédure:\n\n\nSous OS X, exécutez Utilitaire de disque (situé dans / Applications / Utilitaires).\n\n\nSélectionnez le lecteur à partitionner dans la colonne de gauche (pas les partitions!). Clique sur le cloison onglet à droite.\n\n\nSélectionnez le volume à redimensionner dans le menu schéma de volume.\n\n\nDécidez de combien d’espace vous souhaitez disposer pour votre partition OS X, de XP et de Linux. N&#39;oubliez pas qu&#39;une installation typique d&#39;OS X nécessite environ 15-20 Gio et environ de XP, en fonction du nombre d&#39;applications logicielles et de fichiers. Quelque chose comme OS X 200 Go, XP 25 Go, Arch 25 Go devrait aller.\n\n\nMettez vos décisions en action en appuyant sur le bouton + et en ajoutant les nouvelles partitions, étiquetez-les comme vous le souhaitez et assurez-vous que votre partition XP est la dernière sur le disque et est formatée pour FAT32. Il est probablement préférable d’archiver Arch au format HFS afin de ne pas vous embrouiller plus tard, il sera reformaté de toute façon.\n\nDonc, en termes de Linux, vos partitions seront quelque chose comme:\n\n\n\n\nsda (disque)\nsda1 (partition de démarrage Mac &#8211; vous ne pouvez pas voir celui-ci dans OS X)\nsda2 (installation de OS X sous HFS +)\nsda3 (Arch installer temporairement dans HFS)\nsda4 (installation de XP en FAT32)\n\n\n\n\nEnfin, cliquez sur appliquer. Cela créera une nouvelle partition en dehors de l&#39;espace vide.\n\nRemarque: En utilisant cette méthode, il est possible que vous ne puissiez pas avoir une partition partagée entre OS X et Arch Linux, car le Mac n&#39;autorisera que 4 partitions actives. Vous pourrez toutefois monter une partition HFS dans Arch pour une solution de contournement. Il existe d&#39;autres solutions de contournement possibles également.\n\nSi ce qui précède s&#39;est terminé avec succès, vous pouvez continuer. Sinon, vous devrez peut-être commencer par réparer vos partitions à partir de OS X.\n\n\nVous n&#39;aurez pas besoin de camp d&#39;entraînement de cette façon, le programme rEFIt est beaucoup plus flexible (mais pas aussi flexible que GRUB). Téléchargez et installez rEFIt [1]\n\n\nAllez dans un terminal sous OS X et effectuez les opérations suivantes, cela activera le gestionnaire de démarrage rEFIt.\n\ncd / efi / refit\n./enable.sh\n\n\nRedémarrez pour vérifier que le reFIt fonctionne, il devrait apparaître au démarrage. Lorsque cela se produit, allez dans le gestionnaire de partition REFIt et acceptez les modifications.\n\n\nPlacez votre CD d’installation XP et démarrez-le avec rEFIt &#8211; Il se peut que vous deviez redémarrer plusieurs fois jusqu’à ce qu’il soit reconnu par le chargeur de démarrage. Installez XP et une fois installé, utilisez le CD d’installation d’OS X pour que vos pilotes fonctionnent correctement sous XP.\n\nRemarque: lors de l’installation de XP, assurez-vous de sélectionner votre partition XP et de la reformater dans le programme d’installation de XP. Si vous ne reformatez pas, cela ne fonctionnera pas.\n\n\n\n\nDémarrez le CD d’installation Arch, connectez-vous en tant que root et exécutez # / arch / setup.\n\n\nSuivez l’installation normalement, mais notez que vous devrez indiquer à cet installateur d’archive de monter sda3 en tant que partition racine et de la formater en tant qu’ext3; il n’y aura ni partition / boot ni swap, ignorez donc ces avertissements.\n\n\nÀ ce stade, si vous effectuez un double démarrage, vous devez redémarrer votre ordinateur et demander à correct de réparer les tables de partitions sur votre disque dur. (Si vous ne le faites pas, vous devrez peut-être réinstaller GRUB ultérieurement pour que votre Mac reconnaisse la partition Linux.) Lorsque vous êtes dans le menu reFIt, sélectionnez mettre à jour la table de partition, puis appuyez sur Y.\n\n# redémarrer\n\nConfiguration du chargeur de démarrage\nUtilisation du chargeur de démarrage Apple natif avec systemd-boot (recommandé)\nLe chargeur d&#39;amorçage EFI natif d&#39;Apple lit .efi fichiers situés dans la partition système EFI à /EFI/BOOT/BOOTX64.EFI. Heureusement, il s&#39;agit également de l&#39;emplacement d&#39;installation par défaut du binaire systemd-boot. Cela signifie que le démarrage de Linux en utilisant systemd-boot est très simple.\n\n\nTout d’abord, assurez-vous d’avoir monté la partition système EFI à /démarrage\nContinuez avec #Installation normalement\nUne fois dans l&#39;environnement chrooté, tapez la commande suivante pour installer systemd-boot:\n\n# bootctl --path = / boot install\nLa commande ci-dessus va copier le systemd-boot binaire à /boot/EFI/BOOT/BOOTX64.EFI et ajouter systemd-boot elle-même en tant qu&#39;application EFI par défaut (entrée de démarrage par défaut) chargée par le gestionnaire de démarrage EFI.\n\nAu prochain redémarrage, le gestionnaire de démarrage Apple, affiché lorsque vous maintenez la touche Option enfoncée lors du démarrage du MacBook, doit afficher Arch Linux (il sera affiché sous la forme suivante: Démarrage EFI comme option de démarrage possible.\n\nPointe: Si vous avez installé Arch Linux avec OS X, vous pourrez modifier l&#39;emplacement de démarrage par défaut à partir des paramètres système sous OS X. Si Arch Linux n&#39;apparaît pas comme une option de démarrage possible, vous devrez monter la partition système EFI sous OS. X avant de choisir votre option de démarrage:\n$ diskutil mount disk0s1\n\nUtilisation du chargeur de démarrage Apple natif avec GRUB\n\nMid 2007 13&quot; &#8211; Version 2,1\nRemarque: I used the 201212 ISO image.\nSince older Macbooks have a 32bit EFI running, the usual installation image is not recognized. You need to either remove the UEFI support from the disc (Unified Extensible Firmware Interface#Remove UEFI boot support from optical media) or build a 32bit EFI version of the disc. The paragraphs below will take the first path to success, booting into BIOS mode and its pitfalls. For a try the other way round, read Unified Extensible Firmware Interface#Create UEFI bootable USB from ISO first.\n\nFirst prepare your harddisc according to your wishes. In this scenario it was a &quot;Linux only&quot; approach with\n\n/dev/sda1 HFS+ AF00 200M -&gt; EFI boot system on Apple HFS+ partition\n/dev/sda2 ext4 8300 147G -&gt; arch system\n/dev/sda3 swap 8200 1G   -&gt; swap\n\nle hfsprogsAUR    package contains the tools to handle HFS/HFS+ filesystems. The rEFInd bootloader recognizes it on its own. Usually the partition for the EFI bootloader is a FAT32 (vfat) partition. In this case I tried rEFIt first, which apparently needs the HFS+ filesystem to work, and kept it at that.\n\nThe mount points are:\n\n/dev/sda2 -&gt; /\n/dev/sda1 -&gt; /boot\n\nThe bootloader in use was rEFInd instead of rEFIt. To install it, the rEFInd homepage provides a good guide. Usually it is simply done by copying rEFInd:\n\nmkdir /boot/EFI\ncp -vr /usr/share/refind/drivers_ia32 /boot/EFI/refind/\ncp -vr /usr/share/refind/tools_ia32 /boot/EFI/refind/\ncp -vr /usr/share/refind/fonts /boot/EFI/refind/\ncp -vr /usr/share/refind/icons /boot/EFI/refind/\ncp -v /usr/share/refind/refind_ia32.efi /boot/EFI/refind/\ncp -v /usr/share/refind/refind.conf-sample /boot/EFI/refind/refind.conf\ncp -v /usr/share/refind/refind_linux.conf-sample /boot/refind_linux.conf\n\nRemarque: I&#39;m using the 32bit version of Arch and refind, since the EFI of the old MacBooks is 32bit. I&#39;m not sure about 32bit rEFInd booting a 64bit Arch&#8230;\nThe pitfall here is, that the system bootet in BIOS compatibility mode and not in EFI mode. You cannot therefore use efibootmgr, because the EFI variables (even with &#39;modprobe efivars&#39;) are not available. While installing the system get mactel-bootAUR. le hfs-bless utility comes in handy, when blessing the EFI bootloader. This is done by calling:\n\nhfs-bless /boot/EFI/refind/refind_ia32.efi\n\nSince the Linux kernel does come with EFI stub enabled, it seems a good idea to run it through a bootloader first. Especially if it runs not out of the box. But using rEFInd makes GRUB (or any other bootloader) obsolete, because of that.\n\nRemarque: In the refind_linux.conf you add any kernel option you may want as long as you use the EFI stub of your kernel. In refind.conf you adjust your needs for the bootloader itself, like menu entries. If you use them (menu entries), rEFInd should not look for these EFI stub kernels itself, so blacklist the directories used in here, like /démarrage/.\nNot running out of the box is unfortunately the initial stage for the kernel. Since we installed it in BIOS mode, two modules are missing to grant access to the root partition while booting. Hence the &#39;initfsram-linux.img&#39; can not be found/loaded. Adding the following modules to your &#39;MODULES&#39; line in /etc/mkinitcpio.conf solved this (original post).\n\n/etc/mkinitcpio.conf\nMODULES=&quot;ahci sd_mod&quot;\nRebuild your kernel image:\n\nmkinitcpio -p linux\n\nThe bootloader rEFInd can scan kernels even out of the &#39;/boot/&#8230;&#39; directory and assumes an efi kernel even without the extension &#39;.efi&#39;. If you do not want to try out special kernels, this should work without the hassle to copy each kernel after building to some spot special.\n\nIf you happen to get multiple entries for one boot image, it often results of a previous installation of a bootloader within the MBR. To remove that, try the following &#8211; taken from the original post. This is valid for GPT partitioned discs, so please check your environment and save your MBR first.\n\n# dd if=/dev/zero of=/dev/sda bs=440 count=1\n\nMacbook Pro\nEarly 2015 13&quot;/15&quot; &#8211; Version 12,x/11,4+\nSans fil\nle brcmfmac driver is working as of 2015-11-20, with newer firmware necessary for working 5GHz support (see here.)\n\nRemarque:  On the Macbook Pro 12,1 if the brcmfmac driver can not be started and the following errors occur in the journal:\nbrcmfmac: brcmf_chip_recognition: chip backplane type 15 is not supported\nbrcmfmac: brcmf_pcie_probe: failed 14e4:43ba\n\nthen check whether PCI runtime power management is enabled on the device, and disable it if so.\n\n\nBluetooth\nBluetooth is fully supported starting from kernel-4.4.0.\n\nSuspend &amp; Power Off (11,4+)\nThe 11,4 and 11,5 MacBook Pros do not shutdown or suspend correctly with the default kernel. This issue is being addressed in Bug 103211 and a temporary patch is currently available in linux-macbookAUR. Note that Linux 4.13.0 has this patch included, and will be released shortly.\n\nKeyboard &amp; Trackpad\nHaptic feedback works out of the box due to the trackpad&#39;s built-in firmware.\n\nThere are several drivers available that provide multitouch support. The following have been confirmed working with the MacBookPro12,1.\n\nPour xf86-input-libinput the following configuration emulates some features from the OS X functionality. For more options see libinput(4).\n\n/etc/X11/xorg.conf.d/90-libinput.conf\nSection &quot;InputClass&quot;\n    Identifier &quot;libinput touchpad catchall&quot;\n    MatchIsTouchpad &quot;on&quot;\n    MatchDevicePath &quot;/dev/input/event*&quot;\n    Driver &quot;libinput&quot;\n    Option &quot;NaturalScrolling&quot; &quot;true&quot;\nEndSection\nPour xf86-input-synaptics the following configuration is necessary to make the touchpad work fully.\n\n/etc/X11/xorg.conf.d/60-magictrackpad.conf\nSection &quot;InputClass&quot;\n    Identifier &quot;Trackpad&quot;\n    Driver &quot;synaptics&quot;\n    MatchIsTouchpad &quot;on&quot;\n    MatchDevicePath &quot;/dev/input/event*&quot;\nEndSection\nFurther, some US/ANSI keyboards suffer from an issue where the tilde key (~, the key vertically between Esc and Tab) registers as < and >. The following config file fixes this issue.\n\n/etc/modprobe.d/hid_apple.conf\noptions hid_apple iso_layout=0\nSee this kernel bugzilla for more details and the relevant patches for earlier kernels.\n\nGraphique\nFor Intel-only graphics, install the xf86-video-intel package. For more information or OpenGL/3D support, follow instructions at Intel graphics.\n\nÀ partir de linux kernel 4.16.6 dual graphics switching does work on the 11,5 (2015) with Intel modesetting and the AMD GPU utilizing the radeon driver (amdgpu is untested). See MacBookPro11,x#Graphics to enable the integrated graphics. Once the laptop boots with integrated graphics enabled you can use VGA Switcheroo controls to power down the discrete GPU. However, if you keep it powered on you will be able to utilize HDMI connections and using switcheroo-controlAUR    you can run applications on the AMD GPU.\n\nRemarque: The kernel parameters acpi_backlight, i915.lvds_downclock, i915.enable_ips, et intel_iommu are no longer necessary as of kernel 4.2.\nRemarque: (Kernel 4.10.8, MacBook Pro 11,4+) If you experience system lock ups and/or tearing in Xorg, remove the .xf86-video-intel completely, including any config file you made for it. Xorg will default to its modesetting DDX driver. The performance of this driver is good and the locks go away. See also:  Intel graphics\nRemarque: If you are experiencing flickering issues with Xorg, you can set i915.enable_rc6 to 0 parameter into the kernel parameters which will disable to power saving of Intel graphics.\n2012 &#8211; 2014 models\nMacbook Air\nMid 2013 13&quot; &#8211; Version 6,2\nDedicated forum thread\n\nInstalling and booting\nBooting from a normal 2013.6 USB key works fine, but I could not seem to get either GRUB or Syslinux working.\n\nI was able to boot by first installing Arch Linux following the MacBook guide at the wiki (having a separate FAT32 /boot partition). Skip the bootloader installation.\n\nInstalling rEFInd from OS X (important!) and installing the EFI stub loader made me able to boot fine.\n\nDedicated thread.\n\nRemarque:  Installing rEFInd from Linux (or from OS X, but to the esp) also works fine\nArch Only Installation\nThis method works without rEFInd and uses grub to boot EFI.  Partition as follows:\n\n    /dev/sda1 200M Microsoft basic data\n /dev/sda2 256M Linux filesystem\n /dev/sda3 4G Linux swap\n /dev/sda4 108.6G Linux filesystem\n\nsda1 can also be a HFS+ partition for EFI.  This example chooses to use FAT32 (vfat). Although swap is optional, it is required for hibernation. Instead of sda4 for root and home, an alternative partition scheme would be to make sda4 as root and sda5 as home.\n\nFormat and mount:\n\n    mkfs.vfat -F 32 /dev/sda1\n mkfs.ext2 /dev/sda2\n mkswap /dev/sda3\n swapon /dev/sda3\n mkfs.ext4 /dev/sda4\n\n    mount /dev/sda4 /mnt\n mkdir / mnt / boot\n mount/dev/sda2 /mnt/boot\n mkdir /mnt/boot/efi\n mount /dev/sda1 /mnt/boot/efi\n\nFinish the installation according to the Installation guide and skip anything after the bootloader.  After you have generated your initramfs and set root passwd follow below to setup grub:\n\n    pacman -S grub efibootmgr\n mount -t efivarfs efivarfs /sys/firmware/efi/efivars\n grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub --recheck --debug\n grub-mkconfig -o /boot/efi/EFI/grub/grub.cfg\n cp /boot/efi/EFI/grub/grub.cfg /boot/grub/grub.cfg\n cp /boot/efi/EFI/grub/grubx64.efi /boot/efi/EFI/boot/bootx64.efi}}\n\nNow you can exit/unmount/reboot:\n\n    sortie\n umount -R /mnt\n redémarrer\n\nStability problems\nRemarque:  Passing libata.force=1:noncq to the kernel parameters solves the problem.\nThis is the big worry for me. Every now and then my system hangs for a brief moment and everything involving net or disk access just hangs there for a while and then it seems to work.\nSo far it only seems to happen when I run something disk- or CPU-intensive. Also had an occassion when I could not start X and just got this repeating all over my screen:\n\nata1.00: failed command: WRITE FPDMA QUEUED\nata1.00: cmd 61/08:f0:10:8c:c2/00:00:0b:00:00/40 tag 30 ncq 4096 out\nres 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)\nata1.00: status: { DRDY }\n\nOn the next attempt it worked fine.\nI did SMART short and long tests on my disk and they returned fine:\n\nsmartctl -a\n\nThere are some messages in my boot that indicate this could be disk and/or ACPI related.\n\nThese are with 2013-06 ISO, 3.9.7-1 2013 x86_64 kernel.\n\njournalctl -b\nSeems to only work with the headphone jack, not with the speakers.\n\ndmesg\n\nRemarque:  Same problem in 2017 with a Macbook Air early 2014. Updating the firmware (via migration to macOS Sierra) solved the issue.\nMarvell ATA suspend bugs\nIf you have 2013 MacBook Air with a Marvell 128 or 256 GB drive, you might get the following ata errors instead after pm-suspend/resumes:\n\nata1: exception Emask 0x10 SAct 0x0 SErr 0x10000 action 0xe frozen\nata1: irq_stat 0x00400000, PHY RDY changed\nata1: SError: { PHYRdyChg }\nata1: hard resetting link\nata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)\nata1.00: unexpected _GTF length (8)\nata1.00: unexpected _GTF length (8)\nata1.00: configured for UDMA/33\nata1: EH complete\n\nTry what Patrick and Tejun figured out on the linux bug. I followed what Patrick describes with sata_alpm, and I haven&#39;t seen the issue since.\n\nThere are more steps on how to resolve this issue in this thread on the Arch forum\n\nSuspend/Resume\nBrightness is either 0% or 100% after resuming from suspend.  Until the kernel is fixed, use patjak&#39;s fix by installing mba6x_bl-dkmsAUR. Patjak&#39;s github is at [7].\n\nWifi\nWiFi does not work out of the box. Installer broadcom-wl-dkms to connect to a network.  If booting from the official Arch Linux ISO, one needs to unload a few standard modules in order to use the included wl module.  Do so as follows:\n\n# rmmod b43 ssb bcma wl\n\nNow simply load the wl module:\n\n# modprobe wl\n\nThis should automatically load the onboard wifi which can be seen by issuing: ip a. From here follow the WPA supplicant#Connecting with wpa_cli article to bring up the wireless network.\n\nTouchpad\nSince 3.10.3 kernel touchpad works perfectly with xf86-input-synaptics.\n\nl&#39;audio\nALSA may recognise the HDMI audio out as card 0 which will be the default card. Confirm this by checking the output of\n\n            aplay -l\n\nIf that is the case, you may need to create a /etc/asound.conf with below entries:\n\n    defaults.pcm.card 1\n defaults.ctl.card 1\n\nto use the HDA Intel card, ie. the built-in speakers / headphones.\n\nMid 2012 11.5&quot; — Version 5,1\nIf you have issues with waking from sleep while in X11 such as a black screen or showing the console with a frozen mouse cursor then remove xf86-input-synaptics et installer xf86-input-mtrack-gitAUR. This fixed errors such as\n\n    (EE) [dix] bcm5974: unable to find touch point 0\n\nand backtraces that causes X11 to crash. This might apply to Version 5,2 assuming they use the same trackpad.\n\nMid 2011 — version 4,x\nWorks out-of-the-box since kernel 3.2.\n\nEarly 2008 — version 1,1\nEverything works out of the box though you will need the b43-fwcutter package (or simply b43-firmwareAUR) for the wireless adapter to work.\n\nSince this model has only one USB port, you may find it easiest to install Arch with a powered USB hub. Plug a USB network adapter (wireless or ethernet adapter to plug into a USB port) and your Arch installation media into the USB hub.\n\nIf you can&#39;t get any result by scanning wireless network after boot, unload modules b43 et ssb and load them again:\n\n            rmmod ssb\n   rmmod b43\n   modprobe b43\n\nThere is a good chance you will find what&#39;s wrong with DMA from the dmesg log.\n\nEven if you can scan wireless networks after reloading the modules, it&#39;s still possible that you will only be able to connect to some networks, but not all of them. According to a more detailed discussion here: http://crunchbang.org/forums/viewtopic.php?id=17368, adding pio=1,qos=0 options to the b43 module can solve this problem.\n\nI tested this for a 13&#39; MacBookAir1,1 with a BCM4321 chipset, and it works.\n\nVoir également","paragraphs":["L’installation d’Arch Linux sur un MacBook (12 &quot;/ Air / Pro) ou un iMac est assez similaire à son installation sur n’importe quel autre ordinateur. Toutefois, en raison de la configuration matérielle spécifique d’un Mac, certaines divergences et considérations spéciales justifient Pour plus d’informations générales, consultez le Guide d’installation et UEFI, qui contient des instructions d’installation pouvant être utilisées sur tout ordinateur Apple dont le matériel est pris en charge par le noyau Linux. Reportez-vous aux pages &#39;connexes&#39; (en haut). à droite de cette page) pour obtenir des conseils et des solutions de dépannage spécifiques à un modèle.","Contenus\nToggleVue d&#39;ensembleMises à jour du firmwareDes partitionsArch Linux uniquementArch Linux avec OS X ou d&#39;autres systèmes d&#39;exploitationOption 1: EFIOption 2: compatibilité du BIOSTriple démarrage sous OS X, Windows XP et Arch LinuxConfiguration du chargeur de démarrageUtilisation du chargeur de démarrage Apple natif avec systemd-boot (recommandé)Utilisation du chargeur de démarrage Apple natif avec GRUBAutres méthodesInstaller directement GRUB sur une partition EFIUtiliser la bénédictionCompilationInstallationPost-installationVidéoPavé tactileClavierWifiGestion de l&#39;alimentationDésactiver ThunderboltSuspend and HibernateWake Up After SuspendCapteur de lumièreDu sonBluetoothMagic MouseWebcamiSightFacetime HDTemperature SensorsColor ProfileApple RemoteHFS partition sharingHFS+ PartitionsJournalingYosemite and laterHome SharingIn OS XIn ArchAvoid long EFI wait before bootingMute startup chimekworker using high CPUrEFItProblems with rEFItMavericks upgrade breaks Arch boot optionModel-specific informationMacBookMacbook ProEarly 2015 13&quot;/15&quot; &#8211; Version 12,x/11,4+2012 &#8211; 2014 modelsMacbook AirMid 2011 — version 4,xEarly 2008 — version 1,1Voir également\nVue d&#39;ensemble\nPlus précisément, la procédure d&#39;installation d&#39;Arch Linux sur un MacBook est la suivante:","Mises à jour du firmware: Il est toujours utile de démarrer à partir d’une installation propre, sauvegardée et à jour de OS X.\nCloison: Redimensionnement ou suppression de la partition OS X pour créer des partitions pour Arch Linux.\nConfiguration du chargeur de démarrage: S&#39;assurer que la nouvelle partition est amorçable.\nInstaller Arch Linux: En train d’installer Arch Linux.\nPost-installation: Configuration spécifique au MacBook.","Mises à jour du firmware\nAvant de procéder à l&#39;installation d&#39;Arch Linux, il est important de vous assurer que les dernières mises à jour de microprogramme pour votre MacBook sont installées. Cette procédure nécessite OS X.\nSous OS X, ouvrez l&#39;App Store et recherchez les mises à jour. Si votre mac trouve et installe des mises à jour, assurez-vous de redémarrer votre ordinateur, puis vérifiez à nouveau les mises à jour pour vous assurer que vous avez tout installé.","Remarque: Si vous avez désinstallé OS X ou si vous souhaitez le réinstaller, Apple dispose d&#39;excellentes instructions.\nIl est conseillé de garder OS X installé, car les mises à jour du microprogramme des MacBook ne peuvent être installées qu’avec OS X. Toutefois, si vous envisagez de supprimer complètement OS X, effectuez des sauvegardes de ces fichiers, dont vous aurez besoin sous Linux pour ajuster le profil de couleur:","/ Bibliothèque / ColorSync / Profils / Affichages / *","Continuer vers #Partitions","Des partitions\nLa partition du disque de stockage ne diffère pas de tout autre PC ou ordinateur portable. Toutefois, si vous prévoyez de conserver OS X pour un double démarrage, vous devez considérer que, par défaut, le lecteur d&#39;un MacBook est formaté à l&#39;aide de la technologie GPT et contient au moins 3 partitions:","EFI: la partition système EFI d&#39;environ 200 Mo.\nOS X: la partition principale contenant votre installation OS X. Il est formaté avec HFS +.\nRécupération: Une partition de récupération présente dans presque tous les MacBooks exécutant OS X 10.7 ou plus récent. Il est généralement masqué sous OS X mais peut être visualisé à l&#39;aide d&#39;outils de partitionnement.","La manière de partitionner dépend du nombre de systèmes d&#39;exploitation que vous souhaitez installer. Les options suivantes seront expliquées:","Arch Linux uniquement\nCette situation est la plus facile à gérer. Le partitionnement est identique à tout autre matériel sur lequel Arch Linux peut être installé. Veuillez vous reporter au guide d&#39;installation standard pour plus de détails.","Remarque: Il est conseillé de désactiver le son de démarrage du MacBook avant de procéder au partitionnement. Démarrez simplement dans OS X, coupez le son de votre système et redémarrez à nouveau sur le support d&#39;installation Arch Linux. N&#39;oubliez pas que le volume du son de démarrage ne peut être modifié de manière fiable que sous OS X.\nSi vous souhaitez configurer votre système de manière à ce que le cryptage intégral du disque soit activé, veuillez consulter la page Dm-crypt / Cryptage de tout un système pour plus de détails.","Un exemple pour un partitionnement très basique, qui ne considère pas un séparé /maison partition, ni chiffrement, ni LVM, est la suivante:","étiquette du type de taille du point de montage de la partition\n/ dev / sda1 / boot 200MiB vfat EFI\n/ dev / sda2 / swap ajuste le swap\n/ dev / sda3 / reste la racine ext4","Arch Linux avec OS X ou d&#39;autres systèmes d&#39;exploitation\nVous devez partitionner votre disque dur tout en conservant les partitions utilisées pour OS X / Windows. Si vous souhaitez conserver OS X, le moyen le plus simple consiste à utiliser les outils de partitionnement sous OS X, puis à utiliser les outils Arch Linux.","Attention:  Si votre partition OS X est cryptée avec FileVault 2, vous doit désactiver le cryptage du disque avant de continuer. Une fois la partition OS X redimensionnée, FileVault 2 peut être réactivé.\nProcédure:","Sous OS X, exécutez Utilitaire de disque.app (situé dans / Applications / Utilitaires)\nSélectionnez le lecteur à partitionner dans la colonne de gauche (pas les partitions!). Clique sur le Cloison bouton.\nAjoutez une nouvelle partition en appuyant sur le bouton + bouton et choisissez l’espace que vous souhaitez laisser pour OS X et celui de la nouvelle partition. Gardez à l&#39;esprit que la nouvelle partition sera formatée dans Arch Linux, vous pourrez donc choisir le type de partition de votre choix.\nSi ce qui précède s&#39;est terminé avec succès, vous pouvez continuer. Sinon, vous devrez peut-être commencer par réparer vos partitions à partir de OS X.\nDémarrez le support d’installation Arch ou LiveUSB en maintenant la touche enfoncée. Alt au démarrage. Continuez avec #Installation.","Il est possible de redimensionner la partition nouvellement créée à partir du support d&#39;installation Arch, ou de la supprimer afin de procéder à la création d&#39;autres partitions (par exemple, swap).","Pointe: Au lieu d&#39;encombrer votre disque avec une partition différente, il est possible d&#39;utiliser un fichier d&#39;échange au lieu d&#39;une partition dédiée. Une autre solution peut être de configurer LVM afin d’utiliser la partition nouvellement créée en tant que conteneur. Veuillez vous référer aux articles liés.\nOption 1: EFI","Supprimer la partition que vous avez créée Utilitaire de disque.app et créez les partitions nécessaires pour Arch Linux. OS X aime voir un espace de 128 Mo après les partitions. Ainsi, lorsque vous créez la première partition après la dernière partition OS X, saisissez + 128M quand cgdisk demande le premier secteur de la partition. Plus d&#39;informations sur la politique de partitionnement d&#39;Apple peuvent être lues ici. Un exemple simple (pas de LVM, crypto):","Remarque:","La partition d&#39;échange est facultative sur les machines disposant de 4 Go de RAM ou plus. UNE fichier d&#39;échange peut être créé plus tard.\nL’option de démarrage double la plus simple consiste à installer rEFInd à partir de OS X, dans son répertoire racine (par défaut pour install.sh). Ensuite, copiez le dossier du pilote depuis l’archive d’installation dans le nouvel emplacement rEFInd et décommentez les lignes. &quot;scan_all_linux_kernels&quot; et &quot;also_scan_dirs&quot; options dans refind.conf. La configuration des options de démarrage peut ensuite être effectuée à partir d’un refind_linux.conf dans Arch&#39;s /démarrage annuaire.\nSi vous voulez pouvoir démarrer GRUB à partir du chargeur de démarrage Apple, vous pouvez créer une petite partition hfs + (pour plus de commodité, utilisez OS X pour le formater de manière appropriée. Utilitaire de disque.app ensuite). Suivez la procédure d’installation de GRUB EFI et montez votre / boot / efi répertoire de la partition hfs + que vous avez créée. Enfin, terminez à nouveau dans OS X en bénissant la partition. Ceci définira GRUB comme option de démarrage par défaut (maintenir alt au démarrage ouvre toujours l’écran des options de démarrage du Mac. Voir http://mjg59.dreamwidth.org/7468.html).,\nLa partition EFI d&#39;OS X peut être partagée avec Arch Linux, rendant la création d&#39;une partition EFI supplémentaire dédiée à Arch totalement optionnelle.","Remarque: Pour plus d&#39;informations sur le partitionnement, voir Partitionnement\nétiquette du type de taille du point de montage de la partition\n/ dev / sda1 / boot / efi 200MiB vfat EFI\n/ dev / sda2 -? hfs + OS X\n/ dev / sda3 -? hfs + récupération\n/ dev / sda4 - 100 Mo hfs + Boot Arch Linux à partir du chargeur d&#39;amorçage Apple (facultatif)\n/ dev / sda5 / boot Boot de démarrage 100MiB\n/ dev / sda6 -? swap swap (optionnel)\n/ dev / sda7 / 15-20GiB racine ext4\n/ dev / sda8 / home restante ext4 maison","Option 2: compatibilité du BIOS","Supprimez la partition d&#39;espace vide et partitionnez l&#39;espace comme vous le feriez pour toute autre installation. Notez que le MBR est limité à 4 partitions principales (y compris la partition efi). Cela laisse 2 partitions primaires pour Arch. Une stratégie consiste à avoir une partition système et une partition principale et à utiliser un fichier d&#39;échange (je n&#39;ai pas essayé d&#39;utiliser des partitions logiques). Une autre consiste à dédier une partition à une partition partagée (voir ci-dessous).","Ensuite, créez de nouveaux systèmes de fichiers sur les partitions qui en ont besoin, en particulier la partition qui contiendra /démarrage. Si vous ne savez pas comment faire cela en utilisant mkfs.ext2 (ou autre chose), cours / arch / setup et travaillez jusqu’à ce que vous arriviez à préparer le disque dur et à utiliser le &quot;Configurer manuellement les périphériques en mode bloc &#8230;&quot; option, puis quittez le programme d&#39;installation. Cela est nécessaire pour que rEFIt définisse le type de partition approprié dans le MBR à l&#39;étape suivante (sans système de fichiers existant, il semble ignorer le type de partition défini par parted), sans quoi GRUB refusera de l&#39;installer sur la partition appropriée.","À ce stade, vous devez redémarrer votre ordinateur et demander à correct de corriger les tables de partition sur votre disque dur. (Si vous ne le faites pas, vous devrez peut-être réinstaller GRUB ultérieurement pour que votre Mac reconnaisse la partition Linux.) Lorsque vous êtes dans le menu reFIt, sélectionnez mettre à jour la table de partition, puis appuyez y. Redémarrer.","Triple démarrage sous OS X, Windows XP et Arch Linux\nCela ne fonctionnera peut-être pas pour tout le monde, mais il a été testé avec succès sur un MacBook depuis fin 2009.","Le moyen le plus simple de partitionner votre disque dur, afin que tous ces systèmes d&#39;exploitation puissent coexister, consiste à utiliser l&#39;utilitaire de disque sous OS X, à utiliser le formateur sous Windows XP, à installer XP et à terminer avec les outils Arch Linux.","Attention: Il est vivement recommandé de ne tenter cette opération qu&#39;après une nouvelle installation d&#39;OS X. L&#39;utilisation de ces méthodes sur un système pré-existant peut donner des résultats non souhaités. Avant de commencer, sauvegardez au moins vos affaires avec timemachine ou clonezilla.\nProcédure:","Sous OS X, exécutez Utilitaire de disque (situé dans / Applications / Utilitaires).","Sélectionnez le lecteur à partitionner dans la colonne de gauche (pas les partitions!). Clique sur le cloison onglet à droite.","Sélectionnez le volume à redimensionner dans le menu schéma de volume.","Décidez de combien d’espace vous souhaitez disposer pour votre partition OS X, de XP et de Linux. N&#39;oubliez pas qu&#39;une installation typique d&#39;OS X nécessite environ 15-20 Gio et environ de XP, en fonction du nombre d&#39;applications logicielles et de fichiers. Quelque chose comme OS X 200 Go, XP 25 Go, Arch 25 Go devrait aller.","Mettez vos décisions en action en appuyant sur le bouton + et en ajoutant les nouvelles partitions, étiquetez-les comme vous le souhaitez et assurez-vous que votre partition XP est la dernière sur le disque et est formatée pour FAT32. Il est probablement préférable d’archiver Arch au format HFS afin de ne pas vous embrouiller plus tard, il sera reformaté de toute façon.","Donc, en termes de Linux, vos partitions seront quelque chose comme:","sda (disque)\nsda1 (partition de démarrage Mac &#8211; vous ne pouvez pas voir celui-ci dans OS X)\nsda2 (installation de OS X sous HFS +)\nsda3 (Arch installer temporairement dans HFS)\nsda4 (installation de XP en FAT32)","Enfin, cliquez sur appliquer. Cela créera une nouvelle partition en dehors de l&#39;espace vide.","Remarque: En utilisant cette méthode, il est possible que vous ne puissiez pas avoir une partition partagée entre OS X et Arch Linux, car le Mac n&#39;autorisera que 4 partitions actives. Vous pourrez toutefois monter une partition HFS dans Arch pour une solution de contournement. Il existe d&#39;autres solutions de contournement possibles également.","Si ce qui précède s&#39;est terminé avec succès, vous pouvez continuer. Sinon, vous devrez peut-être commencer par réparer vos partitions à partir de OS X.","Vous n&#39;aurez pas besoin de camp d&#39;entraînement de cette façon, le programme rEFIt est beaucoup plus flexible (mais pas aussi flexible que GRUB). Téléchargez et installez rEFIt [1]","Allez dans un terminal sous OS X et effectuez les opérations suivantes, cela activera le gestionnaire de démarrage rEFIt.","cd / efi / refit\n./enable.sh","Redémarrez pour vérifier que le reFIt fonctionne, il devrait apparaître au démarrage. Lorsque cela se produit, allez dans le gestionnaire de partition REFIt et acceptez les modifications.","Placez votre CD d’installation XP et démarrez-le avec rEFIt &#8211; Il se peut que vous deviez redémarrer plusieurs fois jusqu’à ce qu’il soit reconnu par le chargeur de démarrage. Installez XP et une fois installé, utilisez le CD d’installation d’OS X pour que vos pilotes fonctionnent correctement sous XP.","Remarque: lors de l’installation de XP, assurez-vous de sélectionner votre partition XP et de la reformater dans le programme d’installation de XP. Si vous ne reformatez pas, cela ne fonctionnera pas.","Démarrez le CD d’installation Arch, connectez-vous en tant que root et exécutez # / arch / setup.","Suivez l’installation normalement, mais notez que vous devrez indiquer à cet installateur d’archive de monter sda3 en tant que partition racine et de la formater en tant qu’ext3; il n’y aura ni partition / boot ni swap, ignorez donc ces avertissements.","À ce stade, si vous effectuez un double démarrage, vous devez redémarrer votre ordinateur et demander à correct de réparer les tables de partitions sur votre disque dur. (Si vous ne le faites pas, vous devrez peut-être réinstaller GRUB ultérieurement pour que votre Mac reconnaisse la partition Linux.) Lorsque vous êtes dans le menu reFIt, sélectionnez mettre à jour la table de partition, puis appuyez sur Y.","# redémarrer","Configuration du chargeur de démarrage\nUtilisation du chargeur de démarrage Apple natif avec systemd-boot (recommandé)\nLe chargeur d&#39;amorçage EFI natif d&#39;Apple lit .efi fichiers situés dans la partition système EFI à /EFI/BOOT/BOOTX64.EFI. Heureusement, il s&#39;agit également de l&#39;emplacement d&#39;installation par défaut du binaire systemd-boot. Cela signifie que le démarrage de Linux en utilisant systemd-boot est très simple.","Tout d’abord, assurez-vous d’avoir monté la partition système EFI à /démarrage\nContinuez avec #Installation normalement\nUne fois dans l&#39;environnement chrooté, tapez la commande suivante pour installer systemd-boot:","# bootctl --path = / boot install\nLa commande ci-dessus va copier le systemd-boot binaire à /boot/EFI/BOOT/BOOTX64.EFI et ajouter systemd-boot elle-même en tant qu&#39;application EFI par défaut (entrée de démarrage par défaut) chargée par le gestionnaire de démarrage EFI.","Au prochain redémarrage, le gestionnaire de démarrage Apple, affiché lorsque vous maintenez la touche Option enfoncée lors du démarrage du MacBook, doit afficher Arch Linux (il sera affiché sous la forme suivante: Démarrage EFI comme option de démarrage possible.","Pointe: Si vous avez installé Arch Linux avec OS X, vous pourrez modifier l&#39;emplacement de démarrage par défaut à partir des paramètres système sous OS X. Si Arch Linux n&#39;apparaît pas comme une option de démarrage possible, vous devrez monter la partition système EFI sous OS. X avant de choisir votre option de démarrage:\n$ diskutil mount disk0s1","Utilisation du chargeur de démarrage Apple natif avec GRUB","Mid 2007 13&quot; &#8211; Version 2,1\nRemarque: I used the 201212 ISO image.\nSince older Macbooks have a 32bit EFI running, the usual installation image is not recognized. You need to either remove the UEFI support from the disc (Unified Extensible Firmware Interface#Remove UEFI boot support from optical media) or build a 32bit EFI version of the disc. The paragraphs below will take the first path to success, booting into BIOS mode and its pitfalls. For a try the other way round, read Unified Extensible Firmware Interface#Create UEFI bootable USB from ISO first.","First prepare your harddisc according to your wishes. In this scenario it was a &quot;Linux only&quot; approach with","/dev/sda1 HFS+ AF00 200M -&gt; EFI boot system on Apple HFS+ partition\n/dev/sda2 ext4 8300 147G -&gt; arch system\n/dev/sda3 swap 8200 1G   -&gt; swap","le hfsprogsAUR    package contains the tools to handle HFS/HFS+ filesystems. The rEFInd bootloader recognizes it on its own. Usually the partition for the EFI bootloader is a FAT32 (vfat) partition. In this case I tried rEFIt first, which apparently needs the HFS+ filesystem to work, and kept it at that.","The mount points are:","/dev/sda2 -&gt; /\n/dev/sda1 -&gt; /boot","The bootloader in use was rEFInd instead of rEFIt. To install it, the rEFInd homepage provides a good guide. Usually it is simply done by copying rEFInd:","mkdir /boot/EFI\ncp -vr /usr/share/refind/drivers_ia32 /boot/EFI/refind/\ncp -vr /usr/share/refind/tools_ia32 /boot/EFI/refind/\ncp -vr /usr/share/refind/fonts /boot/EFI/refind/\ncp -vr /usr/share/refind/icons /boot/EFI/refind/\ncp -v /usr/share/refind/refind_ia32.efi /boot/EFI/refind/\ncp -v /usr/share/refind/refind.conf-sample /boot/EFI/refind/refind.conf\ncp -v /usr/share/refind/refind_linux.conf-sample /boot/refind_linux.conf","Remarque: I&#39;m using the 32bit version of Arch and refind, since the EFI of the old MacBooks is 32bit. I&#39;m not sure about 32bit rEFInd booting a 64bit Arch&#8230;\nThe pitfall here is, that the system bootet in BIOS compatibility mode and not in EFI mode. You cannot therefore use efibootmgr, because the EFI variables (even with &#39;modprobe efivars&#39;) are not available. While installing the system get mactel-bootAUR. le hfs-bless utility comes in handy, when blessing the EFI bootloader. This is done by calling:","hfs-bless /boot/EFI/refind/refind_ia32.efi","Since the Linux kernel does come with EFI stub enabled, it seems a good idea to run it through a bootloader first. Especially if it runs not out of the box. But using rEFInd makes GRUB (or any other bootloader) obsolete, because of that.","Remarque: In the refind_linux.conf you add any kernel option you may want as long as you use the EFI stub of your kernel. In refind.conf you adjust your needs for the bootloader itself, like menu entries. If you use them (menu entries), rEFInd should not look for these EFI stub kernels itself, so blacklist the directories used in here, like /démarrage/.\nNot running out of the box is unfortunately the initial stage for the kernel. Since we installed it in BIOS mode, two modules are missing to grant access to the root partition while booting. Hence the &#39;initfsram-linux.img&#39; can not be found/loaded. Adding the following modules to your &#39;MODULES&#39; line in /etc/mkinitcpio.conf solved this (original post).","/etc/mkinitcpio.conf\nMODULES=&quot;ahci sd_mod&quot;\nRebuild your kernel image:","mkinitcpio -p linux","The bootloader rEFInd can scan kernels even out of the &#39;/boot/&#8230;&#39; directory and assumes an efi kernel even without the extension &#39;.efi&#39;. If you do not want to try out special kernels, this should work without the hassle to copy each kernel after building to some spot special.","If you happen to get multiple entries for one boot image, it often results of a previous installation of a bootloader within the MBR. To remove that, try the following &#8211; taken from the original post. This is valid for GPT partitioned discs, so please check your environment and save your MBR first.","# dd if=/dev/zero of=/dev/sda bs=440 count=1","Macbook Pro\nEarly 2015 13&quot;/15&quot; &#8211; Version 12,x/11,4+\nSans fil\nle brcmfmac driver is working as of 2015-11-20, with newer firmware necessary for working 5GHz support (see here.)","Remarque:  On the Macbook Pro 12,1 if the brcmfmac driver can not be started and the following errors occur in the journal:\nbrcmfmac: brcmf_chip_recognition: chip backplane type 15 is not supported\nbrcmfmac: brcmf_pcie_probe: failed 14e4:43ba","then check whether PCI runtime power management is enabled on the device, and disable it if so.","Bluetooth\nBluetooth is fully supported starting from kernel-4.4.0.","Suspend &amp; Power Off (11,4+)\nThe 11,4 and 11,5 MacBook Pros do not shutdown or suspend correctly with the default kernel. This issue is being addressed in Bug 103211 and a temporary patch is currently available in linux-macbookAUR. Note that Linux 4.13.0 has this patch included, and will be released shortly.","Keyboard &amp; Trackpad\nHaptic feedback works out of the box due to the trackpad&#39;s built-in firmware.","There are several drivers available that provide multitouch support. The following have been confirmed working with the MacBookPro12,1.","Pour xf86-input-libinput the following configuration emulates some features from the OS X functionality. For more options see libinput(4).","/etc/X11/xorg.conf.d/90-libinput.conf\nSection &quot;InputClass&quot;\n    Identifier &quot;libinput touchpad catchall&quot;\n    MatchIsTouchpad &quot;on&quot;\n    MatchDevicePath &quot;/dev/input/event*&quot;\n    Driver &quot;libinput&quot;\n    Option &quot;NaturalScrolling&quot; &quot;true&quot;\nEndSection\nPour xf86-input-synaptics the following configuration is necessary to make the touchpad work fully.","/etc/X11/xorg.conf.d/60-magictrackpad.conf\nSection &quot;InputClass&quot;\n    Identifier &quot;Trackpad&quot;\n    Driver &quot;synaptics&quot;\n    MatchIsTouchpad &quot;on&quot;\n    MatchDevicePath &quot;/dev/input/event*&quot;\nEndSection\nFurther, some US/ANSI keyboards suffer from an issue where the tilde key (~, the key vertically between Esc and Tab) registers as < and >. The following config file fixes this issue.","/etc/modprobe.d/hid_apple.conf\noptions hid_apple iso_layout=0\nSee this kernel bugzilla for more details and the relevant patches for earlier kernels.","Graphique\nFor Intel-only graphics, install the xf86-video-intel package. For more information or OpenGL/3D support, follow instructions at Intel graphics.","À partir de linux kernel 4.16.6 dual graphics switching does work on the 11,5 (2015) with Intel modesetting and the AMD GPU utilizing the radeon driver (amdgpu is untested). See MacBookPro11,x#Graphics to enable the integrated graphics. Once the laptop boots with integrated graphics enabled you can use VGA Switcheroo controls to power down the discrete GPU. However, if you keep it powered on you will be able to utilize HDMI connections and using switcheroo-controlAUR    you can run applications on the AMD GPU.","Remarque: The kernel parameters acpi_backlight, i915.lvds_downclock, i915.enable_ips, et intel_iommu are no longer necessary as of kernel 4.2.\nRemarque: (Kernel 4.10.8, MacBook Pro 11,4+) If you experience system lock ups and/or tearing in Xorg, remove the .xf86-video-intel completely, including any config file you made for it. Xorg will default to its modesetting DDX driver. The performance of this driver is good and the locks go away. See also:  Intel graphics\nRemarque: If you are experiencing flickering issues with Xorg, you can set i915.enable_rc6 to 0 parameter into the kernel parameters which will disable to power saving of Intel graphics.\n2012 &#8211; 2014 models\nMacbook Air\nMid 2013 13&quot; &#8211; Version 6,2\nDedicated forum thread","Installing and booting\nBooting from a normal 2013.6 USB key works fine, but I could not seem to get either GRUB or Syslinux working.","I was able to boot by first installing Arch Linux following the MacBook guide at the wiki (having a separate FAT32 /boot partition). Skip the bootloader installation.","Installing rEFInd from OS X (important!) and installing the EFI stub loader made me able to boot fine.","Dedicated thread.","Remarque:  Installing rEFInd from Linux (or from OS X, but to the esp) also works fine\nArch Only Installation\nThis method works without rEFInd and uses grub to boot EFI.  Partition as follows:","/dev/sda1 200M Microsoft basic data\n /dev/sda2 256M Linux filesystem\n /dev/sda3 4G Linux swap\n /dev/sda4 108.6G Linux filesystem","sda1 can also be a HFS+ partition for EFI.  This example chooses to use FAT32 (vfat). Although swap is optional, it is required for hibernation. Instead of sda4 for root and home, an alternative partition scheme would be to make sda4 as root and sda5 as home.","Format and mount:","mkfs.vfat -F 32 /dev/sda1\n mkfs.ext2 /dev/sda2\n mkswap /dev/sda3\n swapon /dev/sda3\n mkfs.ext4 /dev/sda4","mount /dev/sda4 /mnt\n mkdir / mnt / boot\n mount/dev/sda2 /mnt/boot\n mkdir /mnt/boot/efi\n mount /dev/sda1 /mnt/boot/efi","Finish the installation according to the Installation guide and skip anything after the bootloader.  After you have generated your initramfs and set root passwd follow below to setup grub:","pacman -S grub efibootmgr\n mount -t efivarfs efivarfs /sys/firmware/efi/efivars\n grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub --recheck --debug\n grub-mkconfig -o /boot/efi/EFI/grub/grub.cfg\n cp /boot/efi/EFI/grub/grub.cfg /boot/grub/grub.cfg\n cp /boot/efi/EFI/grub/grubx64.efi /boot/efi/EFI/boot/bootx64.efi}}","Now you can exit/unmount/reboot:","sortie\n umount -R /mnt\n redémarrer","Stability problems\nRemarque:  Passing libata.force=1:noncq to the kernel parameters solves the problem.\nThis is the big worry for me. Every now and then my system hangs for a brief moment and everything involving net or disk access just hangs there for a while and then it seems to work.\nSo far it only seems to happen when I run something disk- or CPU-intensive. Also had an occassion when I could not start X and just got this repeating all over my screen:","ata1.00: failed command: WRITE FPDMA QUEUED\nata1.00: cmd 61/08:f0:10:8c:c2/00:00:0b:00:00/40 tag 30 ncq 4096 out\nres 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)\nata1.00: status: { DRDY }","On the next attempt it worked fine.\nI did SMART short and long tests on my disk and they returned fine:","smartctl -a","There are some messages in my boot that indicate this could be disk and/or ACPI related.","These are with 2013-06 ISO, 3.9.7-1 2013 x86_64 kernel.","journalctl -b\nSeems to only work with the headphone jack, not with the speakers.","dmesg","Remarque:  Same problem in 2017 with a Macbook Air early 2014. Updating the firmware (via migration to macOS Sierra) solved the issue.\nMarvell ATA suspend bugs\nIf you have 2013 MacBook Air with a Marvell 128 or 256 GB drive, you might get the following ata errors instead after pm-suspend/resumes:","ata1: exception Emask 0x10 SAct 0x0 SErr 0x10000 action 0xe frozen\nata1: irq_stat 0x00400000, PHY RDY changed\nata1: SError: { PHYRdyChg }\nata1: hard resetting link\nata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)\nata1.00: unexpected _GTF length (8)\nata1.00: unexpected _GTF length (8)\nata1.00: configured for UDMA/33\nata1: EH complete","Try what Patrick and Tejun figured out on the linux bug. I followed what Patrick describes with sata_alpm, and I haven&#39;t seen the issue since.","There are more steps on how to resolve this issue in this thread on the Arch forum","Suspend/Resume\nBrightness is either 0% or 100% after resuming from suspend.  Until the kernel is fixed, use patjak&#39;s fix by installing mba6x_bl-dkmsAUR. Patjak&#39;s github is at [7].","Wifi\nWiFi does not work out of the box. Installer broadcom-wl-dkms to connect to a network.  If booting from the official Arch Linux ISO, one needs to unload a few standard modules in order to use the included wl module.  Do so as follows:","# rmmod b43 ssb bcma wl","Now simply load the wl module:","# modprobe wl","This should automatically load the onboard wifi which can be seen by issuing: ip a. From here follow the WPA supplicant#Connecting with wpa_cli article to bring up the wireless network.","Touchpad\nSince 3.10.3 kernel touchpad works perfectly with xf86-input-synaptics.","l&#39;audio\nALSA may recognise the HDMI audio out as card 0 which will be the default card. Confirm this by checking the output of","aplay -l","If that is the case, you may need to create a /etc/asound.conf with below entries:","defaults.pcm.card 1\n defaults.ctl.card 1","to use the HDA Intel card, ie. the built-in speakers / headphones.","Mid 2012 11.5&quot; — Version 5,1\nIf you have issues with waking from sleep while in X11 such as a black screen or showing the console with a frozen mouse cursor then remove xf86-input-synaptics et installer xf86-input-mtrack-gitAUR. This fixed errors such as","(EE) [dix] bcm5974: unable to find touch point 0","and backtraces that causes X11 to crash. This might apply to Version 5,2 assuming they use the same trackpad.","Mid 2011 — version 4,x\nWorks out-of-the-box since kernel 3.2.","Early 2008 — version 1,1\nEverything works out of the box though you will need the b43-fwcutter package (or simply b43-firmwareAUR) for the wireless adapter to work.","Since this model has only one USB port, you may find it easiest to install Arch with a powered USB hub. Plug a USB network adapter (wireless or ethernet adapter to plug into a USB port) and your Arch installation media into the USB hub.","If you can&#39;t get any result by scanning wireless network after boot, unload modules b43 et ssb and load them again:","rmmod ssb\n   rmmod b43\n   modprobe b43","There is a good chance you will find what&#39;s wrong with DMA from the dmesg log.","Even if you can scan wireless networks after reloading the modules, it&#39;s still possible that you will only be able to connect to some networks, but not all of them. According to a more detailed discussion here: http://crunchbang.org/forums/viewtopic.php?id=17368, adding pio=1,qos=0 options to the b43 module can solve this problem.","I tested this for a 13&#39; MacBookAir1,1 with a BCM4321 chipset, and it works.","Voir également"],"content_blocks":[{"id":"text-1","type":"text","heading":"","plain_text":"L’installation d’Arch Linux sur un MacBook (12 &quot;/ Air / Pro) ou un iMac est assez similaire à son installation sur n’importe quel autre ordinateur. Toutefois, en raison de la configuration matérielle spécifique d’un Mac, certaines divergences et considérations spéciales justifient Pour plus d’informations générales, consultez le Guide d’installation et UEFI, qui contient des instructions d’installation pouvant être utilisées sur tout ordinateur Apple dont le matériel est pris en charge par le noyau Linux. Reportez-vous aux pages &#39;connexes&#39; (en haut). à droite de cette page) pour obtenir des conseils et des solutions de dépannage spécifiques à un modèle.","html":"<p>L’installation d’Arch Linux sur un MacBook (12 &quot;/ Air / Pro) ou un iMac est assez similaire à son installation sur n’importe quel autre ordinateur. Toutefois, en raison de la configuration matérielle spécifique d’un Mac, certaines divergences et considérations spéciales justifient Pour plus d’informations générales, consultez le Guide d’installation et UEFI, qui contient des instructions d’installation pouvant être utilisées sur tout ordinateur Apple dont le matériel est pris en charge par le noyau Linux. Reportez-vous aux pages &#039;connexes&#039; (en haut). à droite de cette page) pour obtenir des conseils et des solutions de dépannage spécifiques à un modèle.</p>"},{"id":"text-2","type":"text","heading":"","plain_text":"Contenus\nToggleVue d&#39;ensembleMises à jour du firmwareDes partitionsArch Linux uniquementArch Linux avec OS X ou d&#39;autres systèmes d&#39;exploitationOption 1: EFIOption 2: compatibilité du BIOSTriple démarrage sous OS X, Windows XP et Arch LinuxConfiguration du chargeur de démarrageUtilisation du chargeur de démarrage Apple natif avec systemd-boot (recommandé)Utilisation du chargeur de démarrage Apple natif avec GRUBAutres méthodesInstaller directement GRUB sur une partition EFIUtiliser la bénédictionCompilationInstallationPost-installationVidéoPavé tactileClavierWifiGestion de l&#39;alimentationDésactiver ThunderboltSuspend and HibernateWake Up After SuspendCapteur de lumièreDu sonBluetoothMagic MouseWebcamiSightFacetime HDTemperature SensorsColor ProfileApple RemoteHFS partition sharingHFS+ PartitionsJournalingYosemite and laterHome SharingIn OS XIn ArchAvoid long EFI wait before bootingMute startup chimekworker using high CPUrEFItProblems with rEFItMavericks upgrade breaks Arch boot optionModel-specific informationMacBookMacbook ProEarly 2015 13&quot;/15&quot; &#8211; Version 12,x/11,4+2012 &#8211; 2014 modelsMacbook AirMid 2011 — version 4,xEarly 2008 — version 1,1Voir également\nVue d&#39;ensemble\nPlus précisément, la procédure d&#39;installation d&#39;Arch Linux sur un MacBook est la suivante:","html":"<p>Contenus\nToggleVue d&#039;ensembleMises à jour du firmwareDes partitionsArch Linux uniquementArch Linux avec OS X ou d&#039;autres systèmes d&#039;exploitationOption 1: EFIOption 2: compatibilité du BIOSTriple démarrage sous OS X, Windows XP et Arch LinuxConfiguration du chargeur de démarrageUtilisation du chargeur de démarrage Apple natif avec systemd-boot (recommandé)Utilisation du chargeur de démarrage Apple natif avec GRUBAutres méthodesInstaller directement GRUB sur une partition EFIUtiliser la bénédictionCompilationInstallationPost-installationVidéoPavé tactileClavierWifiGestion de l&#039;alimentationDésactiver ThunderboltSuspend and HibernateWake Up After SuspendCapteur de lumièreDu sonBluetoothMagic MouseWebcamiSightFacetime HDTemperature SensorsColor ProfileApple RemoteHFS partition sharingHFS+ PartitionsJournalingYosemite and laterHome SharingIn OS XIn ArchAvoid long EFI wait before bootingMute startup chimekworker using high CPUrEFItProblems with rEFItMavericks upgrade breaks Arch boot optionModel-specific informationMacBookMacbook ProEarly 2015 13&quot;/15&quot; &#8211; Version 12,x/11,4+2012 &#8211; 2014 modelsMacbook AirMid 2011 — version 4,xEarly 2008 — version 1,1Voir également\nVue d&#039;ensemble\nPlus précisément, la procédure d&#039;installation d&#039;Arch Linux sur un MacBook est la suivante:</p>"},{"id":"text-3","type":"text","heading":"","plain_text":"Mises à jour du firmware: Il est toujours utile de démarrer à partir d’une installation propre, sauvegardée et à jour de OS X.\nCloison: Redimensionnement ou suppression de la partition OS X pour créer des partitions pour Arch Linux.\nConfiguration du chargeur de démarrage: S&#39;assurer que la nouvelle partition est amorçable.\nInstaller Arch Linux: En train d’installer Arch Linux.\nPost-installation: Configuration spécifique au MacBook.","html":"<p>Mises à jour du firmware: Il est toujours utile de démarrer à partir d’une installation propre, sauvegardée et à jour de OS X.\nCloison: Redimensionnement ou suppression de la partition OS X pour créer des partitions pour Arch Linux.\nConfiguration du chargeur de démarrage: S&#039;assurer que la nouvelle partition est amorçable.\nInstaller Arch Linux: En train d’installer Arch Linux.\nPost-installation: Configuration spécifique au MacBook.</p>"},{"id":"text-4","type":"text","heading":"","plain_text":"Mises à jour du firmware\nAvant de procéder à l&#39;installation d&#39;Arch Linux, il est important de vous assurer que les dernières mises à jour de microprogramme pour votre MacBook sont installées. Cette procédure nécessite OS X.\nSous OS X, ouvrez l&#39;App Store et recherchez les mises à jour. Si votre mac trouve et installe des mises à jour, assurez-vous de redémarrer votre ordinateur, puis vérifiez à nouveau les mises à jour pour vous assurer que vous avez tout installé.","html":"<p>Mises à jour du firmware\nAvant de procéder à l&#039;installation d&#039;Arch Linux, il est important de vous assurer que les dernières mises à jour de microprogramme pour votre MacBook sont installées. Cette procédure nécessite OS X.\nSous OS X, ouvrez l&#039;App Store et recherchez les mises à jour. Si votre mac trouve et installe des mises à jour, assurez-vous de redémarrer votre ordinateur, puis vérifiez à nouveau les mises à jour pour vous assurer que vous avez tout installé.</p>"},{"id":"text-5","type":"text","heading":"","plain_text":"Remarque: Si vous avez désinstallé OS X ou si vous souhaitez le réinstaller, Apple dispose d&#39;excellentes instructions.\nIl est conseillé de garder OS X installé, car les mises à jour du microprogramme des MacBook ne peuvent être installées qu’avec OS X. Toutefois, si vous envisagez de supprimer complètement OS X, effectuez des sauvegardes de ces fichiers, dont vous aurez besoin sous Linux pour ajuster le profil de couleur:","html":"<p>Remarque: Si vous avez désinstallé OS X ou si vous souhaitez le réinstaller, Apple dispose d&#039;excellentes instructions.\nIl est conseillé de garder OS X installé, car les mises à jour du microprogramme des MacBook ne peuvent être installées qu’avec OS X. Toutefois, si vous envisagez de supprimer complètement OS X, effectuez des sauvegardes de ces fichiers, dont vous aurez besoin sous Linux pour ajuster le profil de couleur:</p>"},{"id":"text-6","type":"text","heading":"","plain_text":"/ Bibliothèque / ColorSync / Profils / Affichages / *","html":"<p>/ Bibliothèque / ColorSync / Profils / Affichages / *</p>"},{"id":"text-7","type":"text","heading":"","plain_text":"Continuer vers #Partitions","html":"<p>Continuer vers #Partitions</p>"},{"id":"text-8","type":"text","heading":"","plain_text":"Des partitions\nLa partition du disque de stockage ne diffère pas de tout autre PC ou ordinateur portable. Toutefois, si vous prévoyez de conserver OS X pour un double démarrage, vous devez considérer que, par défaut, le lecteur d&#39;un MacBook est formaté à l&#39;aide de la technologie GPT et contient au moins 3 partitions:","html":"<p>Des partitions\nLa partition du disque de stockage ne diffère pas de tout autre PC ou ordinateur portable. Toutefois, si vous prévoyez de conserver OS X pour un double démarrage, vous devez considérer que, par défaut, le lecteur d&#039;un MacBook est formaté à l&#039;aide de la technologie GPT et contient au moins 3 partitions:</p>"},{"id":"text-9","type":"text","heading":"","plain_text":"EFI: la partition système EFI d&#39;environ 200 Mo.\nOS X: la partition principale contenant votre installation OS X. Il est formaté avec HFS +.\nRécupération: Une partition de récupération présente dans presque tous les MacBooks exécutant OS X 10.7 ou plus récent. Il est généralement masqué sous OS X mais peut être visualisé à l&#39;aide d&#39;outils de partitionnement.","html":"<p>EFI: la partition système EFI d&#039;environ 200 Mo.\nOS X: la partition principale contenant votre installation OS X. Il est formaté avec HFS +.\nRécupération: Une partition de récupération présente dans presque tous les MacBooks exécutant OS X 10.7 ou plus récent. Il est généralement masqué sous OS X mais peut être visualisé à l&#039;aide d&#039;outils de partitionnement.</p>"},{"id":"text-10","type":"text","heading":"","plain_text":"La manière de partitionner dépend du nombre de systèmes d&#39;exploitation que vous souhaitez installer. Les options suivantes seront expliquées:","html":"<p>La manière de partitionner dépend du nombre de systèmes d&#039;exploitation que vous souhaitez installer. Les options suivantes seront expliquées:</p>"},{"id":"text-11","type":"text","heading":"","plain_text":"Arch Linux uniquement\nCette situation est la plus facile à gérer. Le partitionnement est identique à tout autre matériel sur lequel Arch Linux peut être installé. Veuillez vous reporter au guide d&#39;installation standard pour plus de détails.","html":"<p>Arch Linux uniquement\nCette situation est la plus facile à gérer. Le partitionnement est identique à tout autre matériel sur lequel Arch Linux peut être installé. Veuillez vous reporter au guide d&#039;installation standard pour plus de détails.</p>"},{"id":"text-12","type":"text","heading":"","plain_text":"Remarque: Il est conseillé de désactiver le son de démarrage du MacBook avant de procéder au partitionnement. Démarrez simplement dans OS X, coupez le son de votre système et redémarrez à nouveau sur le support d&#39;installation Arch Linux. N&#39;oubliez pas que le volume du son de démarrage ne peut être modifié de manière fiable que sous OS X.\nSi vous souhaitez configurer votre système de manière à ce que le cryptage intégral du disque soit activé, veuillez consulter la page Dm-crypt / Cryptage de tout un système pour plus de détails.","html":"<p>Remarque: Il est conseillé de désactiver le son de démarrage du MacBook avant de procéder au partitionnement. Démarrez simplement dans OS X, coupez le son de votre système et redémarrez à nouveau sur le support d&#039;installation Arch Linux. N&#039;oubliez pas que le volume du son de démarrage ne peut être modifié de manière fiable que sous OS X.\nSi vous souhaitez configurer votre système de manière à ce que le cryptage intégral du disque soit activé, veuillez consulter la page Dm-crypt / Cryptage de tout un système pour plus de détails.</p>"},{"id":"text-13","type":"text","heading":"","plain_text":"Un exemple pour un partitionnement très basique, qui ne considère pas un séparé /maison partition, ni chiffrement, ni LVM, est la suivante:","html":"<p>Un exemple pour un partitionnement très basique, qui ne considère pas un séparé /maison partition, ni chiffrement, ni LVM, est la suivante:</p>"},{"id":"text-14","type":"text","heading":"","plain_text":"étiquette du type de taille du point de montage de la partition\n/ dev / sda1 / boot 200MiB vfat EFI\n/ dev / sda2 / swap ajuste le swap\n/ dev / sda3 / reste la racine ext4","html":"<p>étiquette du type de taille du point de montage de la partition\n/ dev / sda1 / boot 200MiB vfat EFI\n/ dev / sda2 / swap ajuste le swap\n/ dev / sda3 / reste la racine ext4</p>"},{"id":"text-15","type":"text","heading":"","plain_text":"Arch Linux avec OS X ou d&#39;autres systèmes d&#39;exploitation\nVous devez partitionner votre disque dur tout en conservant les partitions utilisées pour OS X / Windows. Si vous souhaitez conserver OS X, le moyen le plus simple consiste à utiliser les outils de partitionnement sous OS X, puis à utiliser les outils Arch Linux.","html":"<p>Arch Linux avec OS X ou d&#039;autres systèmes d&#039;exploitation\nVous devez partitionner votre disque dur tout en conservant les partitions utilisées pour OS X / Windows. Si vous souhaitez conserver OS X, le moyen le plus simple consiste à utiliser les outils de partitionnement sous OS X, puis à utiliser les outils Arch Linux.</p>"},{"id":"text-16","type":"text","heading":"","plain_text":"Attention:  Si votre partition OS X est cryptée avec FileVault 2, vous doit désactiver le cryptage du disque avant de continuer. Une fois la partition OS X redimensionnée, FileVault 2 peut être réactivé.\nProcédure:","html":"<p>Attention:  Si votre partition OS X est cryptée avec FileVault 2, vous doit désactiver le cryptage du disque avant de continuer. Une fois la partition OS X redimensionnée, FileVault 2 peut être réactivé.\nProcédure:</p>"},{"id":"text-17","type":"text","heading":"","plain_text":"Sous OS X, exécutez Utilitaire de disque.app (situé dans / Applications / Utilitaires)\nSélectionnez le lecteur à partitionner dans la colonne de gauche (pas les partitions!). Clique sur le Cloison bouton.\nAjoutez une nouvelle partition en appuyant sur le bouton + bouton et choisissez l’espace que vous souhaitez laisser pour OS X et celui de la nouvelle partition. Gardez à l&#39;esprit que la nouvelle partition sera formatée dans Arch Linux, vous pourrez donc choisir le type de partition de votre choix.\nSi ce qui précède s&#39;est terminé avec succès, vous pouvez continuer. Sinon, vous devrez peut-être commencer par réparer vos partitions à partir de OS X.\nDémarrez le support d’installation Arch ou LiveUSB en maintenant la touche enfoncée. Alt au démarrage. Continuez avec #Installation.","html":"<p>Sous OS X, exécutez Utilitaire de disque.app (situé dans / Applications / Utilitaires)\nSélectionnez le lecteur à partitionner dans la colonne de gauche (pas les partitions!). Clique sur le Cloison bouton.\nAjoutez une nouvelle partition en appuyant sur le bouton + bouton et choisissez l’espace que vous souhaitez laisser pour OS X et celui de la nouvelle partition. Gardez à l&#039;esprit que la nouvelle partition sera formatée dans Arch Linux, vous pourrez donc choisir le type de partition de votre choix.\nSi ce qui précède s&#039;est terminé avec succès, vous pouvez continuer. Sinon, vous devrez peut-être commencer par réparer vos partitions à partir de OS X.\nDémarrez le support d’installation Arch ou LiveUSB en maintenant la touche enfoncée. Alt au démarrage. Continuez avec #Installation.</p>"},{"id":"text-18","type":"text","heading":"","plain_text":"Il est possible de redimensionner la partition nouvellement créée à partir du support d&#39;installation Arch, ou de la supprimer afin de procéder à la création d&#39;autres partitions (par exemple, swap).","html":"<p>Il est possible de redimensionner la partition nouvellement créée à partir du support d&#039;installation Arch, ou de la supprimer afin de procéder à la création d&#039;autres partitions (par exemple, swap).</p>"},{"id":"text-19","type":"text","heading":"","plain_text":"Pointe: Au lieu d&#39;encombrer votre disque avec une partition différente, il est possible d&#39;utiliser un fichier d&#39;échange au lieu d&#39;une partition dédiée. Une autre solution peut être de configurer LVM afin d’utiliser la partition nouvellement créée en tant que conteneur. Veuillez vous référer aux articles liés.\nOption 1: EFI","html":"<p>Pointe: Au lieu d&#039;encombrer votre disque avec une partition différente, il est possible d&#039;utiliser un fichier d&#039;échange au lieu d&#039;une partition dédiée. Une autre solution peut être de configurer LVM afin d’utiliser la partition nouvellement créée en tant que conteneur. Veuillez vous référer aux articles liés.\nOption 1: EFI</p>"},{"id":"text-20","type":"text","heading":"","plain_text":"Supprimer la partition que vous avez créée Utilitaire de disque.app et créez les partitions nécessaires pour Arch Linux. OS X aime voir un espace de 128 Mo après les partitions. Ainsi, lorsque vous créez la première partition après la dernière partition OS X, saisissez + 128M quand cgdisk demande le premier secteur de la partition. Plus d&#39;informations sur la politique de partitionnement d&#39;Apple peuvent être lues ici. Un exemple simple (pas de LVM, crypto):","html":"<p>Supprimer la partition que vous avez créée Utilitaire de disque.app et créez les partitions nécessaires pour Arch Linux. OS X aime voir un espace de 128 Mo après les partitions. Ainsi, lorsque vous créez la première partition après la dernière partition OS X, saisissez + 128M quand cgdisk demande le premier secteur de la partition. Plus d&#039;informations sur la politique de partitionnement d&#039;Apple peuvent être lues ici. Un exemple simple (pas de LVM, crypto):</p>"},{"id":"text-21","type":"text","heading":"","plain_text":"Remarque:","html":"<p>Remarque:</p>"},{"id":"text-22","type":"text","heading":"","plain_text":"La partition d&#39;échange est facultative sur les machines disposant de 4 Go de RAM ou plus. UNE fichier d&#39;échange peut être créé plus tard.\nL’option de démarrage double la plus simple consiste à installer rEFInd à partir de OS X, dans son répertoire racine (par défaut pour install.sh). Ensuite, copiez le dossier du pilote depuis l’archive d’installation dans le nouvel emplacement rEFInd et décommentez les lignes. &quot;scan_all_linux_kernels&quot; et &quot;also_scan_dirs&quot; options dans refind.conf. La configuration des options de démarrage peut ensuite être effectuée à partir d’un refind_linux.conf dans Arch&#39;s /démarrage annuaire.\nSi vous voulez pouvoir démarrer GRUB à partir du chargeur de démarrage Apple, vous pouvez créer une petite partition hfs + (pour plus de commodité, utilisez OS X pour le formater de manière appropriée. Utilitaire de disque.app ensuite). Suivez la procédure d’installation de GRUB EFI et montez votre / boot / efi répertoire de la partition hfs + que vous avez créée. Enfin, terminez à nouveau dans OS X en bénissant la partition. Ceci définira GRUB comme option de démarrage par défaut (maintenir alt au démarrage ouvre toujours l’écran des options de démarrage du Mac. Voir http://mjg59.dreamwidth.org/7468.html).,\nLa partition EFI d&#39;OS X peut être partagée avec Arch Linux, rendant la création d&#39;une partition EFI supplémentaire dédiée à Arch totalement optionnelle.","html":"<p>La partition d&#039;échange est facultative sur les machines disposant de 4 Go de RAM ou plus. UNE fichier d&#039;échange peut être créé plus tard.\nL’option de démarrage double la plus simple consiste à installer rEFInd à partir de OS X, dans son répertoire racine (par défaut pour install.sh). Ensuite, copiez le dossier du pilote depuis l’archive d’installation dans le nouvel emplacement rEFInd et décommentez les lignes. &quot;scan_all_linux_kernels&quot; et &quot;also_scan_dirs&quot; options dans refind.conf. La configuration des options de démarrage peut ensuite être effectuée à partir d’un refind_linux.conf dans Arch&#039;s /démarrage annuaire.\nSi vous voulez pouvoir démarrer GRUB à partir du chargeur de démarrage Apple, vous pouvez créer une petite partition hfs + (pour plus de commodité, utilisez OS X pour le formater de manière appropriée. Utilitaire de disque.app ensuite). Suivez la procédure d’installation de GRUB EFI et montez votre / boot / efi répertoire de la partition hfs + que vous avez créée. Enfin, terminez à nouveau dans OS X en bénissant la partition. Ceci définira GRUB comme option de démarrage par défaut (maintenir alt au démarrage ouvre toujours l’écran des options de démarrage du Mac. Voir http://mjg59.dreamwidth.org/7468.html).,\nLa partition EFI d&#039;OS X peut être partagée avec Arch Linux, rendant la création d&#039;une partition EFI supplémentaire dédiée à Arch totalement optionnelle.</p>"},{"id":"text-23","type":"text","heading":"","plain_text":"Remarque: Pour plus d&#39;informations sur le partitionnement, voir Partitionnement\nétiquette du type de taille du point de montage de la partition\n/ dev / sda1 / boot / efi 200MiB vfat EFI\n/ dev / sda2 -? hfs + OS X\n/ dev / sda3 -? hfs + récupération\n/ dev / sda4 - 100 Mo hfs + Boot Arch Linux à partir du chargeur d&#39;amorçage Apple (facultatif)\n/ dev / sda5 / boot Boot de démarrage 100MiB\n/ dev / sda6 -? swap swap (optionnel)\n/ dev / sda7 / 15-20GiB racine ext4\n/ dev / sda8 / home restante ext4 maison","html":"<p>Remarque: Pour plus d&#039;informations sur le partitionnement, voir Partitionnement\nétiquette du type de taille du point de montage de la partition\n/ dev / sda1 / boot / efi 200MiB vfat EFI\n/ dev / sda2 -? hfs + OS X\n/ dev / sda3 -? hfs + récupération\n/ dev / sda4 - 100 Mo hfs + Boot Arch Linux à partir du chargeur d&#039;amorçage Apple (facultatif)\n/ dev / sda5 / boot Boot de démarrage 100MiB\n/ dev / sda6 -? swap swap (optionnel)\n/ dev / sda7 / 15-20GiB racine ext4\n/ dev / sda8 / home restante ext4 maison</p>"},{"id":"text-24","type":"text","heading":"","plain_text":"Option 2: compatibilité du BIOS","html":"<p>Option 2: compatibilité du BIOS</p>"},{"id":"text-25","type":"text","heading":"","plain_text":"Supprimez la partition d&#39;espace vide et partitionnez l&#39;espace comme vous le feriez pour toute autre installation. Notez que le MBR est limité à 4 partitions principales (y compris la partition efi). Cela laisse 2 partitions primaires pour Arch. Une stratégie consiste à avoir une partition système et une partition principale et à utiliser un fichier d&#39;échange (je n&#39;ai pas essayé d&#39;utiliser des partitions logiques). Une autre consiste à dédier une partition à une partition partagée (voir ci-dessous).","html":"<p>Supprimez la partition d&#039;espace vide et partitionnez l&#039;espace comme vous le feriez pour toute autre installation. Notez que le MBR est limité à 4 partitions principales (y compris la partition efi). Cela laisse 2 partitions primaires pour Arch. Une stratégie consiste à avoir une partition système et une partition principale et à utiliser un fichier d&#039;échange (je n&#039;ai pas essayé d&#039;utiliser des partitions logiques). Une autre consiste à dédier une partition à une partition partagée (voir ci-dessous).</p>"},{"id":"text-26","type":"text","heading":"","plain_text":"Ensuite, créez de nouveaux systèmes de fichiers sur les partitions qui en ont besoin, en particulier la partition qui contiendra /démarrage. Si vous ne savez pas comment faire cela en utilisant mkfs.ext2 (ou autre chose), cours / arch / setup et travaillez jusqu’à ce que vous arriviez à préparer le disque dur et à utiliser le &quot;Configurer manuellement les périphériques en mode bloc &#8230;&quot; option, puis quittez le programme d&#39;installation. Cela est nécessaire pour que rEFIt définisse le type de partition approprié dans le MBR à l&#39;étape suivante (sans système de fichiers existant, il semble ignorer le type de partition défini par parted), sans quoi GRUB refusera de l&#39;installer sur la partition appropriée.","html":"<p>Ensuite, créez de nouveaux systèmes de fichiers sur les partitions qui en ont besoin, en particulier la partition qui contiendra /démarrage. Si vous ne savez pas comment faire cela en utilisant mkfs.ext2 (ou autre chose), cours / arch / setup et travaillez jusqu’à ce que vous arriviez à préparer le disque dur et à utiliser le &quot;Configurer manuellement les périphériques en mode bloc &#8230;&quot; option, puis quittez le programme d&#039;installation. Cela est nécessaire pour que rEFIt définisse le type de partition approprié dans le MBR à l&#039;étape suivante (sans système de fichiers existant, il semble ignorer le type de partition défini par parted), sans quoi GRUB refusera de l&#039;installer sur la partition appropriée.</p>"},{"id":"text-27","type":"text","heading":"","plain_text":"À ce stade, vous devez redémarrer votre ordinateur et demander à correct de corriger les tables de partition sur votre disque dur. (Si vous ne le faites pas, vous devrez peut-être réinstaller GRUB ultérieurement pour que votre Mac reconnaisse la partition Linux.) Lorsque vous êtes dans le menu reFIt, sélectionnez mettre à jour la table de partition, puis appuyez y. Redémarrer.","html":"<p>À ce stade, vous devez redémarrer votre ordinateur et demander à correct de corriger les tables de partition sur votre disque dur. (Si vous ne le faites pas, vous devrez peut-être réinstaller GRUB ultérieurement pour que votre Mac reconnaisse la partition Linux.) Lorsque vous êtes dans le menu reFIt, sélectionnez mettre à jour la table de partition, puis appuyez y. Redémarrer.</p>"},{"id":"text-28","type":"text","heading":"","plain_text":"Triple démarrage sous OS X, Windows XP et Arch Linux\nCela ne fonctionnera peut-être pas pour tout le monde, mais il a été testé avec succès sur un MacBook depuis fin 2009.","html":"<p>Triple démarrage sous OS X, Windows XP et Arch Linux\nCela ne fonctionnera peut-être pas pour tout le monde, mais il a été testé avec succès sur un MacBook depuis fin 2009.</p>"},{"id":"text-29","type":"text","heading":"","plain_text":"Le moyen le plus simple de partitionner votre disque dur, afin que tous ces systèmes d&#39;exploitation puissent coexister, consiste à utiliser l&#39;utilitaire de disque sous OS X, à utiliser le formateur sous Windows XP, à installer XP et à terminer avec les outils Arch Linux.","html":"<p>Le moyen le plus simple de partitionner votre disque dur, afin que tous ces systèmes d&#039;exploitation puissent coexister, consiste à utiliser l&#039;utilitaire de disque sous OS X, à utiliser le formateur sous Windows XP, à installer XP et à terminer avec les outils Arch Linux.</p>"},{"id":"text-30","type":"text","heading":"","plain_text":"Attention: Il est vivement recommandé de ne tenter cette opération qu&#39;après une nouvelle installation d&#39;OS X. L&#39;utilisation de ces méthodes sur un système pré-existant peut donner des résultats non souhaités. Avant de commencer, sauvegardez au moins vos affaires avec timemachine ou clonezilla.\nProcédure:","html":"<p>Attention: Il est vivement recommandé de ne tenter cette opération qu&#039;après une nouvelle installation d&#039;OS X. L&#039;utilisation de ces méthodes sur un système pré-existant peut donner des résultats non souhaités. Avant de commencer, sauvegardez au moins vos affaires avec timemachine ou clonezilla.\nProcédure:</p>"},{"id":"text-31","type":"text","heading":"","plain_text":"Sous OS X, exécutez Utilitaire de disque (situé dans / Applications / Utilitaires).","html":"<p>Sous OS X, exécutez Utilitaire de disque (situé dans / Applications / Utilitaires).</p>"},{"id":"text-32","type":"text","heading":"","plain_text":"Sélectionnez le lecteur à partitionner dans la colonne de gauche (pas les partitions!). Clique sur le cloison onglet à droite.","html":"<p>Sélectionnez le lecteur à partitionner dans la colonne de gauche (pas les partitions!). Clique sur le cloison onglet à droite.</p>"},{"id":"text-33","type":"text","heading":"","plain_text":"Sélectionnez le volume à redimensionner dans le menu schéma de volume.","html":"<p>Sélectionnez le volume à redimensionner dans le menu schéma de volume.</p>"},{"id":"text-34","type":"text","heading":"","plain_text":"Décidez de combien d’espace vous souhaitez disposer pour votre partition OS X, de XP et de Linux. N&#39;oubliez pas qu&#39;une installation typique d&#39;OS X nécessite environ 15-20 Gio et environ de XP, en fonction du nombre d&#39;applications logicielles et de fichiers. Quelque chose comme OS X 200 Go, XP 25 Go, Arch 25 Go devrait aller.","html":"<p>Décidez de combien d’espace vous souhaitez disposer pour votre partition OS X, de XP et de Linux. N&#039;oubliez pas qu&#039;une installation typique d&#039;OS X nécessite environ 15-20 Gio et environ de XP, en fonction du nombre d&#039;applications logicielles et de fichiers. Quelque chose comme OS X 200 Go, XP 25 Go, Arch 25 Go devrait aller.</p>"},{"id":"text-35","type":"text","heading":"","plain_text":"Mettez vos décisions en action en appuyant sur le bouton + et en ajoutant les nouvelles partitions, étiquetez-les comme vous le souhaitez et assurez-vous que votre partition XP est la dernière sur le disque et est formatée pour FAT32. Il est probablement préférable d’archiver Arch au format HFS afin de ne pas vous embrouiller plus tard, il sera reformaté de toute façon.","html":"<p>Mettez vos décisions en action en appuyant sur le bouton + et en ajoutant les nouvelles partitions, étiquetez-les comme vous le souhaitez et assurez-vous que votre partition XP est la dernière sur le disque et est formatée pour FAT32. Il est probablement préférable d’archiver Arch au format HFS afin de ne pas vous embrouiller plus tard, il sera reformaté de toute façon.</p>"},{"id":"text-36","type":"text","heading":"","plain_text":"Donc, en termes de Linux, vos partitions seront quelque chose comme:","html":"<p>Donc, en termes de Linux, vos partitions seront quelque chose comme:</p>"},{"id":"text-37","type":"text","heading":"","plain_text":"sda (disque)\nsda1 (partition de démarrage Mac &#8211; vous ne pouvez pas voir celui-ci dans OS X)\nsda2 (installation de OS X sous HFS +)\nsda3 (Arch installer temporairement dans HFS)\nsda4 (installation de XP en FAT32)","html":"<p>sda (disque)\nsda1 (partition de démarrage Mac &#8211; vous ne pouvez pas voir celui-ci dans OS X)\nsda2 (installation de OS X sous HFS +)\nsda3 (Arch installer temporairement dans HFS)\nsda4 (installation de XP en FAT32)</p>"},{"id":"text-38","type":"text","heading":"","plain_text":"Enfin, cliquez sur appliquer. Cela créera une nouvelle partition en dehors de l&#39;espace vide.","html":"<p>Enfin, cliquez sur appliquer. Cela créera une nouvelle partition en dehors de l&#039;espace vide.</p>"},{"id":"text-39","type":"text","heading":"","plain_text":"Remarque: En utilisant cette méthode, il est possible que vous ne puissiez pas avoir une partition partagée entre OS X et Arch Linux, car le Mac n&#39;autorisera que 4 partitions actives. Vous pourrez toutefois monter une partition HFS dans Arch pour une solution de contournement. Il existe d&#39;autres solutions de contournement possibles également.","html":"<p>Remarque: En utilisant cette méthode, il est possible que vous ne puissiez pas avoir une partition partagée entre OS X et Arch Linux, car le Mac n&#039;autorisera que 4 partitions actives. Vous pourrez toutefois monter une partition HFS dans Arch pour une solution de contournement. Il existe d&#039;autres solutions de contournement possibles également.</p>"},{"id":"text-40","type":"text","heading":"","plain_text":"Si ce qui précède s&#39;est terminé avec succès, vous pouvez continuer. Sinon, vous devrez peut-être commencer par réparer vos partitions à partir de OS X.","html":"<p>Si ce qui précède s&#039;est terminé avec succès, vous pouvez continuer. Sinon, vous devrez peut-être commencer par réparer vos partitions à partir de OS X.</p>"},{"id":"text-41","type":"text","heading":"","plain_text":"Vous n&#39;aurez pas besoin de camp d&#39;entraînement de cette façon, le programme rEFIt est beaucoup plus flexible (mais pas aussi flexible que GRUB). Téléchargez et installez rEFIt [1]","html":"<p>Vous n&#039;aurez pas besoin de camp d&#039;entraînement de cette façon, le programme rEFIt est beaucoup plus flexible (mais pas aussi flexible que GRUB). Téléchargez et installez rEFIt [1]</p>"},{"id":"text-42","type":"text","heading":"","plain_text":"Allez dans un terminal sous OS X et effectuez les opérations suivantes, cela activera le gestionnaire de démarrage rEFIt.","html":"<p>Allez dans un terminal sous OS X et effectuez les opérations suivantes, cela activera le gestionnaire de démarrage rEFIt.</p>"},{"id":"text-43","type":"text","heading":"","plain_text":"cd / efi / refit\n./enable.sh","html":"<p>cd / efi / refit\n./enable.sh</p>"},{"id":"text-44","type":"text","heading":"","plain_text":"Redémarrez pour vérifier que le reFIt fonctionne, il devrait apparaître au démarrage. Lorsque cela se produit, allez dans le gestionnaire de partition REFIt et acceptez les modifications.","html":"<p>Redémarrez pour vérifier que le reFIt fonctionne, il devrait apparaître au démarrage. Lorsque cela se produit, allez dans le gestionnaire de partition REFIt et acceptez les modifications.</p>"},{"id":"text-45","type":"text","heading":"","plain_text":"Placez votre CD d’installation XP et démarrez-le avec rEFIt &#8211; Il se peut que vous deviez redémarrer plusieurs fois jusqu’à ce qu’il soit reconnu par le chargeur de démarrage. Installez XP et une fois installé, utilisez le CD d’installation d’OS X pour que vos pilotes fonctionnent correctement sous XP.","html":"<p>Placez votre CD d’installation XP et démarrez-le avec rEFIt &#8211; Il se peut que vous deviez redémarrer plusieurs fois jusqu’à ce qu’il soit reconnu par le chargeur de démarrage. Installez XP et une fois installé, utilisez le CD d’installation d’OS X pour que vos pilotes fonctionnent correctement sous XP.</p>"},{"id":"text-46","type":"text","heading":"","plain_text":"Remarque: lors de l’installation de XP, assurez-vous de sélectionner votre partition XP et de la reformater dans le programme d’installation de XP. Si vous ne reformatez pas, cela ne fonctionnera pas.","html":"<p>Remarque: lors de l’installation de XP, assurez-vous de sélectionner votre partition XP et de la reformater dans le programme d’installation de XP. Si vous ne reformatez pas, cela ne fonctionnera pas.</p>"},{"id":"text-47","type":"text","heading":"","plain_text":"Démarrez le CD d’installation Arch, connectez-vous en tant que root et exécutez # / arch / setup.","html":"<p>Démarrez le CD d’installation Arch, connectez-vous en tant que root et exécutez # / arch / setup.</p>"},{"id":"text-48","type":"text","heading":"","plain_text":"Suivez l’installation normalement, mais notez que vous devrez indiquer à cet installateur d’archive de monter sda3 en tant que partition racine et de la formater en tant qu’ext3; il n’y aura ni partition / boot ni swap, ignorez donc ces avertissements.","html":"<p>Suivez l’installation normalement, mais notez que vous devrez indiquer à cet installateur d’archive de monter sda3 en tant que partition racine et de la formater en tant qu’ext3; il n’y aura ni partition / boot ni swap, ignorez donc ces avertissements.</p>"},{"id":"text-49","type":"text","heading":"","plain_text":"À ce stade, si vous effectuez un double démarrage, vous devez redémarrer votre ordinateur et demander à correct de réparer les tables de partitions sur votre disque dur. (Si vous ne le faites pas, vous devrez peut-être réinstaller GRUB ultérieurement pour que votre Mac reconnaisse la partition Linux.) Lorsque vous êtes dans le menu reFIt, sélectionnez mettre à jour la table de partition, puis appuyez sur Y.","html":"<p>À ce stade, si vous effectuez un double démarrage, vous devez redémarrer votre ordinateur et demander à correct de réparer les tables de partitions sur votre disque dur. (Si vous ne le faites pas, vous devrez peut-être réinstaller GRUB ultérieurement pour que votre Mac reconnaisse la partition Linux.) Lorsque vous êtes dans le menu reFIt, sélectionnez mettre à jour la table de partition, puis appuyez sur Y.</p>"},{"id":"text-50","type":"text","heading":"","plain_text":"# redémarrer","html":"<p># redémarrer</p>"},{"id":"text-51","type":"text","heading":"","plain_text":"Configuration du chargeur de démarrage\nUtilisation du chargeur de démarrage Apple natif avec systemd-boot (recommandé)\nLe chargeur d&#39;amorçage EFI natif d&#39;Apple lit .efi fichiers situés dans la partition système EFI à /EFI/BOOT/BOOTX64.EFI. Heureusement, il s&#39;agit également de l&#39;emplacement d&#39;installation par défaut du binaire systemd-boot. Cela signifie que le démarrage de Linux en utilisant systemd-boot est très simple.","html":"<p>Configuration du chargeur de démarrage\nUtilisation du chargeur de démarrage Apple natif avec systemd-boot (recommandé)\nLe chargeur d&#039;amorçage EFI natif d&#039;Apple lit .efi fichiers situés dans la partition système EFI à /EFI/BOOT/BOOTX64.EFI. Heureusement, il s&#039;agit également de l&#039;emplacement d&#039;installation par défaut du binaire systemd-boot. Cela signifie que le démarrage de Linux en utilisant systemd-boot est très simple.</p>"},{"id":"text-52","type":"text","heading":"","plain_text":"Tout d’abord, assurez-vous d’avoir monté la partition système EFI à /démarrage\nContinuez avec #Installation normalement\nUne fois dans l&#39;environnement chrooté, tapez la commande suivante pour installer systemd-boot:","html":"<p>Tout d’abord, assurez-vous d’avoir monté la partition système EFI à /démarrage\nContinuez avec #Installation normalement\nUne fois dans l&#039;environnement chrooté, tapez la commande suivante pour installer systemd-boot:</p>"},{"id":"text-53","type":"text","heading":"","plain_text":"# bootctl --path = / boot install\nLa commande ci-dessus va copier le systemd-boot binaire à /boot/EFI/BOOT/BOOTX64.EFI et ajouter systemd-boot elle-même en tant qu&#39;application EFI par défaut (entrée de démarrage par défaut) chargée par le gestionnaire de démarrage EFI.","html":"<p># bootctl --path = / boot install\nLa commande ci-dessus va copier le systemd-boot binaire à /boot/EFI/BOOT/BOOTX64.EFI et ajouter systemd-boot elle-même en tant qu&#039;application EFI par défaut (entrée de démarrage par défaut) chargée par le gestionnaire de démarrage EFI.</p>"},{"id":"text-54","type":"text","heading":"","plain_text":"Au prochain redémarrage, le gestionnaire de démarrage Apple, affiché lorsque vous maintenez la touche Option enfoncée lors du démarrage du MacBook, doit afficher Arch Linux (il sera affiché sous la forme suivante: Démarrage EFI comme option de démarrage possible.","html":"<p>Au prochain redémarrage, le gestionnaire de démarrage Apple, affiché lorsque vous maintenez la touche Option enfoncée lors du démarrage du MacBook, doit afficher Arch Linux (il sera affiché sous la forme suivante: Démarrage EFI comme option de démarrage possible.</p>"},{"id":"text-55","type":"text","heading":"","plain_text":"Pointe: Si vous avez installé Arch Linux avec OS X, vous pourrez modifier l&#39;emplacement de démarrage par défaut à partir des paramètres système sous OS X. Si Arch Linux n&#39;apparaît pas comme une option de démarrage possible, vous devrez monter la partition système EFI sous OS. X avant de choisir votre option de démarrage:\n$ diskutil mount disk0s1","html":"<p>Pointe: Si vous avez installé Arch Linux avec OS X, vous pourrez modifier l&#039;emplacement de démarrage par défaut à partir des paramètres système sous OS X. Si Arch Linux n&#039;apparaît pas comme une option de démarrage possible, vous devrez monter la partition système EFI sous OS. X avant de choisir votre option de démarrage:\n$ diskutil mount disk0s1</p>"},{"id":"text-56","type":"text","heading":"","plain_text":"Utilisation du chargeur de démarrage Apple natif avec GRUB","html":"<p>Utilisation du chargeur de démarrage Apple natif avec GRUB</p>"},{"id":"text-57","type":"text","heading":"","plain_text":"Mid 2007 13&quot; &#8211; Version 2,1\nRemarque: I used the 201212 ISO image.\nSince older Macbooks have a 32bit EFI running, the usual installation image is not recognized. You need to either remove the UEFI support from the disc (Unified Extensible Firmware Interface#Remove UEFI boot support from optical media) or build a 32bit EFI version of the disc. The paragraphs below will take the first path to success, booting into BIOS mode and its pitfalls. For a try the other way round, read Unified Extensible Firmware Interface#Create UEFI bootable USB from ISO first.","html":"<p>Mid 2007 13&quot; &#8211; Version 2,1\nRemarque: I used the 201212 ISO image.\nSince older Macbooks have a 32bit EFI running, the usual installation image is not recognized. You need to either remove the UEFI support from the disc (Unified Extensible Firmware Interface#Remove UEFI boot support from optical media) or build a 32bit EFI version of the disc. The paragraphs below will take the first path to success, booting into BIOS mode and its pitfalls. For a try the other way round, read Unified Extensible Firmware Interface#Create UEFI bootable USB from ISO first.</p>"},{"id":"text-58","type":"text","heading":"","plain_text":"First prepare your harddisc according to your wishes. In this scenario it was a &quot;Linux only&quot; approach with","html":"<p>First prepare your harddisc according to your wishes. In this scenario it was a &quot;Linux only&quot; approach with</p>"},{"id":"text-59","type":"text","heading":"","plain_text":"/dev/sda1 HFS+ AF00 200M -&gt; EFI boot system on Apple HFS+ partition\n/dev/sda2 ext4 8300 147G -&gt; arch system\n/dev/sda3 swap 8200 1G   -&gt; swap","html":"<p>/dev/sda1 HFS+ AF00 200M -&gt; EFI boot system on Apple HFS+ partition\n/dev/sda2 ext4 8300 147G -&gt; arch system\n/dev/sda3 swap 8200 1G   -&gt; swap</p>"},{"id":"text-60","type":"text","heading":"","plain_text":"le hfsprogsAUR    package contains the tools to handle HFS/HFS+ filesystems. The rEFInd bootloader recognizes it on its own. Usually the partition for the EFI bootloader is a FAT32 (vfat) partition. In this case I tried rEFIt first, which apparently needs the HFS+ filesystem to work, and kept it at that.","html":"<p>le hfsprogsAUR    package contains the tools to handle HFS/HFS+ filesystems. The rEFInd bootloader recognizes it on its own. Usually the partition for the EFI bootloader is a FAT32 (vfat) partition. In this case I tried rEFIt first, which apparently needs the HFS+ filesystem to work, and kept it at that.</p>"},{"id":"text-61","type":"text","heading":"","plain_text":"The mount points are:","html":"<p>The mount points are:</p>"},{"id":"text-62","type":"text","heading":"","plain_text":"/dev/sda2 -&gt; /\n/dev/sda1 -&gt; /boot","html":"<p>/dev/sda2 -&gt; /\n/dev/sda1 -&gt; /boot</p>"},{"id":"text-63","type":"text","heading":"","plain_text":"The bootloader in use was rEFInd instead of rEFIt. To install it, the rEFInd homepage provides a good guide. Usually it is simply done by copying rEFInd:","html":"<p>The bootloader in use was rEFInd instead of rEFIt. To install it, the rEFInd homepage provides a good guide. Usually it is simply done by copying rEFInd:</p>"},{"id":"text-64","type":"text","heading":"","plain_text":"mkdir /boot/EFI\ncp -vr /usr/share/refind/drivers_ia32 /boot/EFI/refind/\ncp -vr /usr/share/refind/tools_ia32 /boot/EFI/refind/\ncp -vr /usr/share/refind/fonts /boot/EFI/refind/\ncp -vr /usr/share/refind/icons /boot/EFI/refind/\ncp -v /usr/share/refind/refind_ia32.efi /boot/EFI/refind/\ncp -v /usr/share/refind/refind.conf-sample /boot/EFI/refind/refind.conf\ncp -v /usr/share/refind/refind_linux.conf-sample /boot/refind_linux.conf","html":"<p>mkdir /boot/EFI\ncp -vr /usr/share/refind/drivers_ia32 /boot/EFI/refind/\ncp -vr /usr/share/refind/tools_ia32 /boot/EFI/refind/\ncp -vr /usr/share/refind/fonts /boot/EFI/refind/\ncp -vr /usr/share/refind/icons /boot/EFI/refind/\ncp -v /usr/share/refind/refind_ia32.efi /boot/EFI/refind/\ncp -v /usr/share/refind/refind.conf-sample /boot/EFI/refind/refind.conf\ncp -v /usr/share/refind/refind_linux.conf-sample /boot/refind_linux.conf</p>"},{"id":"text-65","type":"text","heading":"","plain_text":"Remarque: I&#39;m using the 32bit version of Arch and refind, since the EFI of the old MacBooks is 32bit. I&#39;m not sure about 32bit rEFInd booting a 64bit Arch&#8230;\nThe pitfall here is, that the system bootet in BIOS compatibility mode and not in EFI mode. You cannot therefore use efibootmgr, because the EFI variables (even with &#39;modprobe efivars&#39;) are not available. While installing the system get mactel-bootAUR. le hfs-bless utility comes in handy, when blessing the EFI bootloader. This is done by calling:","html":"<p>Remarque: I&#039;m using the 32bit version of Arch and refind, since the EFI of the old MacBooks is 32bit. I&#039;m not sure about 32bit rEFInd booting a 64bit Arch&#8230;\nThe pitfall here is, that the system bootet in BIOS compatibility mode and not in EFI mode. You cannot therefore use efibootmgr, because the EFI variables (even with &#039;modprobe efivars&#039;) are not available. While installing the system get mactel-bootAUR. le hfs-bless utility comes in handy, when blessing the EFI bootloader. This is done by calling:</p>"},{"id":"text-66","type":"text","heading":"","plain_text":"hfs-bless /boot/EFI/refind/refind_ia32.efi","html":"<p>hfs-bless /boot/EFI/refind/refind_ia32.efi</p>"},{"id":"text-67","type":"text","heading":"","plain_text":"Since the Linux kernel does come with EFI stub enabled, it seems a good idea to run it through a bootloader first. Especially if it runs not out of the box. But using rEFInd makes GRUB (or any other bootloader) obsolete, because of that.","html":"<p>Since the Linux kernel does come with EFI stub enabled, it seems a good idea to run it through a bootloader first. Especially if it runs not out of the box. But using rEFInd makes GRUB (or any other bootloader) obsolete, because of that.</p>"},{"id":"text-68","type":"text","heading":"","plain_text":"Remarque: In the refind_linux.conf you add any kernel option you may want as long as you use the EFI stub of your kernel. In refind.conf you adjust your needs for the bootloader itself, like menu entries. If you use them (menu entries), rEFInd should not look for these EFI stub kernels itself, so blacklist the directories used in here, like /démarrage/.\nNot running out of the box is unfortunately the initial stage for the kernel. Since we installed it in BIOS mode, two modules are missing to grant access to the root partition while booting. Hence the &#39;initfsram-linux.img&#39; can not be found/loaded. Adding the following modules to your &#39;MODULES&#39; line in /etc/mkinitcpio.conf solved this (original post).","html":"<p>Remarque: In the refind_linux.conf you add any kernel option you may want as long as you use the EFI stub of your kernel. In refind.conf you adjust your needs for the bootloader itself, like menu entries. If you use them (menu entries), rEFInd should not look for these EFI stub kernels itself, so blacklist the directories used in here, like /démarrage/.\nNot running out of the box is unfortunately the initial stage for the kernel. Since we installed it in BIOS mode, two modules are missing to grant access to the root partition while booting. Hence the &#039;initfsram-linux.img&#039; can not be found/loaded. Adding the following modules to your &#039;MODULES&#039; line in /etc/mkinitcpio.conf solved this (original post).</p>"},{"id":"text-69","type":"text","heading":"","plain_text":"/etc/mkinitcpio.conf\nMODULES=&quot;ahci sd_mod&quot;\nRebuild your kernel image:","html":"<p>/etc/mkinitcpio.conf\nMODULES=&quot;ahci sd_mod&quot;\nRebuild your kernel image:</p>"},{"id":"text-70","type":"text","heading":"","plain_text":"mkinitcpio -p linux","html":"<p>mkinitcpio -p linux</p>"},{"id":"text-71","type":"text","heading":"","plain_text":"The bootloader rEFInd can scan kernels even out of the &#39;/boot/&#8230;&#39; directory and assumes an efi kernel even without the extension &#39;.efi&#39;. If you do not want to try out special kernels, this should work without the hassle to copy each kernel after building to some spot special.","html":"<p>The bootloader rEFInd can scan kernels even out of the &#039;/boot/&#8230;&#039; directory and assumes an efi kernel even without the extension &#039;.efi&#039;. If you do not want to try out special kernels, this should work without the hassle to copy each kernel after building to some spot special.</p>"},{"id":"text-72","type":"text","heading":"","plain_text":"If you happen to get multiple entries for one boot image, it often results of a previous installation of a bootloader within the MBR. To remove that, try the following &#8211; taken from the original post. This is valid for GPT partitioned discs, so please check your environment and save your MBR first.","html":"<p>If you happen to get multiple entries for one boot image, it often results of a previous installation of a bootloader within the MBR. To remove that, try the following &#8211; taken from the original post. This is valid for GPT partitioned discs, so please check your environment and save your MBR first.</p>"},{"id":"text-73","type":"text","heading":"","plain_text":"# dd if=/dev/zero of=/dev/sda bs=440 count=1","html":"<p># dd if=/dev/zero of=/dev/sda bs=440 count=1</p>"},{"id":"text-74","type":"text","heading":"","plain_text":"Macbook Pro\nEarly 2015 13&quot;/15&quot; &#8211; Version 12,x/11,4+\nSans fil\nle brcmfmac driver is working as of 2015-11-20, with newer firmware necessary for working 5GHz support (see here.)","html":"<p>Macbook Pro\nEarly 2015 13&quot;/15&quot; &#8211; Version 12,x/11,4+\nSans fil\nle brcmfmac driver is working as of 2015-11-20, with newer firmware necessary for working 5GHz support (see here.)</p>"},{"id":"text-75","type":"text","heading":"","plain_text":"Remarque:  On the Macbook Pro 12,1 if the brcmfmac driver can not be started and the following errors occur in the journal:\nbrcmfmac: brcmf_chip_recognition: chip backplane type 15 is not supported\nbrcmfmac: brcmf_pcie_probe: failed 14e4:43ba","html":"<p>Remarque:  On the Macbook Pro 12,1 if the brcmfmac driver can not be started and the following errors occur in the journal:\nbrcmfmac: brcmf_chip_recognition: chip backplane type 15 is not supported\nbrcmfmac: brcmf_pcie_probe: failed 14e4:43ba</p>"},{"id":"text-76","type":"text","heading":"","plain_text":"then check whether PCI runtime power management is enabled on the device, and disable it if so.","html":"<p>then check whether PCI runtime power management is enabled on the device, and disable it if so.</p>"},{"id":"text-77","type":"text","heading":"","plain_text":"Bluetooth\nBluetooth is fully supported starting from kernel-4.4.0.","html":"<p>Bluetooth\nBluetooth is fully supported starting from kernel-4.4.0.</p>"},{"id":"text-78","type":"text","heading":"","plain_text":"Suspend &amp; Power Off (11,4+)\nThe 11,4 and 11,5 MacBook Pros do not shutdown or suspend correctly with the default kernel. This issue is being addressed in Bug 103211 and a temporary patch is currently available in linux-macbookAUR. Note that Linux 4.13.0 has this patch included, and will be released shortly.","html":"<p>Suspend &amp; Power Off (11,4+)\nThe 11,4 and 11,5 MacBook Pros do not shutdown or suspend correctly with the default kernel. This issue is being addressed in Bug 103211 and a temporary patch is currently available in linux-macbookAUR. Note that Linux 4.13.0 has this patch included, and will be released shortly.</p>"},{"id":"text-79","type":"text","heading":"","plain_text":"Keyboard &amp; Trackpad\nHaptic feedback works out of the box due to the trackpad&#39;s built-in firmware.","html":"<p>Keyboard &amp; Trackpad\nHaptic feedback works out of the box due to the trackpad&#039;s built-in firmware.</p>"},{"id":"text-80","type":"text","heading":"","plain_text":"There are several drivers available that provide multitouch support. The following have been confirmed working with the MacBookPro12,1.","html":"<p>There are several drivers available that provide multitouch support. The following have been confirmed working with the MacBookPro12,1.</p>"},{"id":"text-81","type":"text","heading":"","plain_text":"Pour xf86-input-libinput the following configuration emulates some features from the OS X functionality. For more options see libinput(4).","html":"<p>Pour xf86-input-libinput the following configuration emulates some features from the OS X functionality. For more options see libinput(4).</p>"},{"id":"text-82","type":"text","heading":"","plain_text":"/etc/X11/xorg.conf.d/90-libinput.conf\nSection &quot;InputClass&quot;\n    Identifier &quot;libinput touchpad catchall&quot;\n    MatchIsTouchpad &quot;on&quot;\n    MatchDevicePath &quot;/dev/input/event*&quot;\n    Driver &quot;libinput&quot;\n    Option &quot;NaturalScrolling&quot; &quot;true&quot;\nEndSection\nPour xf86-input-synaptics the following configuration is necessary to make the touchpad work fully.","html":"<p>/etc/X11/xorg.conf.d/90-libinput.conf\nSection &quot;InputClass&quot;\n    Identifier &quot;libinput touchpad catchall&quot;\n    MatchIsTouchpad &quot;on&quot;\n    MatchDevicePath &quot;/dev/input/event*&quot;\n    Driver &quot;libinput&quot;\n    Option &quot;NaturalScrolling&quot; &quot;true&quot;\nEndSection\nPour xf86-input-synaptics the following configuration is necessary to make the touchpad work fully.</p>"},{"id":"text-83","type":"text","heading":"","plain_text":"/etc/X11/xorg.conf.d/60-magictrackpad.conf\nSection &quot;InputClass&quot;\n    Identifier &quot;Trackpad&quot;\n    Driver &quot;synaptics&quot;\n    MatchIsTouchpad &quot;on&quot;\n    MatchDevicePath &quot;/dev/input/event*&quot;\nEndSection\nFurther, some US/ANSI keyboards suffer from an issue where the tilde key (~, the key vertically between Esc and Tab) registers as < and >. The following config file fixes this issue.","html":"<p>/etc/X11/xorg.conf.d/60-magictrackpad.conf\nSection &quot;InputClass&quot;\n    Identifier &quot;Trackpad&quot;\n    Driver &quot;synaptics&quot;\n    MatchIsTouchpad &quot;on&quot;\n    MatchDevicePath &quot;/dev/input/event*&quot;\nEndSection\nFurther, some US/ANSI keyboards suffer from an issue where the tilde key (~, the key vertically between Esc and Tab) registers as &lt; and &gt;. The following config file fixes this issue.</p>"},{"id":"text-84","type":"text","heading":"","plain_text":"/etc/modprobe.d/hid_apple.conf\noptions hid_apple iso_layout=0\nSee this kernel bugzilla for more details and the relevant patches for earlier kernels.","html":"<p>/etc/modprobe.d/hid_apple.conf\noptions hid_apple iso_layout=0\nSee this kernel bugzilla for more details and the relevant patches for earlier kernels.</p>"},{"id":"text-85","type":"text","heading":"","plain_text":"Graphique\nFor Intel-only graphics, install the xf86-video-intel package. For more information or OpenGL/3D support, follow instructions at Intel graphics.","html":"<p>Graphique\nFor Intel-only graphics, install the xf86-video-intel package. For more information or OpenGL/3D support, follow instructions at Intel graphics.</p>"},{"id":"text-86","type":"text","heading":"","plain_text":"À partir de linux kernel 4.16.6 dual graphics switching does work on the 11,5 (2015) with Intel modesetting and the AMD GPU utilizing the radeon driver (amdgpu is untested). See MacBookPro11,x#Graphics to enable the integrated graphics. Once the laptop boots with integrated graphics enabled you can use VGA Switcheroo controls to power down the discrete GPU. However, if you keep it powered on you will be able to utilize HDMI connections and using switcheroo-controlAUR    you can run applications on the AMD GPU.","html":"<p>À partir de linux kernel 4.16.6 dual graphics switching does work on the 11,5 (2015) with Intel modesetting and the AMD GPU utilizing the radeon driver (amdgpu is untested). See MacBookPro11,x#Graphics to enable the integrated graphics. Once the laptop boots with integrated graphics enabled you can use VGA Switcheroo controls to power down the discrete GPU. However, if you keep it powered on you will be able to utilize HDMI connections and using switcheroo-controlAUR    you can run applications on the AMD GPU.</p>"},{"id":"text-87","type":"text","heading":"","plain_text":"Remarque: The kernel parameters acpi_backlight, i915.lvds_downclock, i915.enable_ips, et intel_iommu are no longer necessary as of kernel 4.2.\nRemarque: (Kernel 4.10.8, MacBook Pro 11,4+) If you experience system lock ups and/or tearing in Xorg, remove the .xf86-video-intel completely, including any config file you made for it. Xorg will default to its modesetting DDX driver. The performance of this driver is good and the locks go away. See also:  Intel graphics\nRemarque: If you are experiencing flickering issues with Xorg, you can set i915.enable_rc6 to 0 parameter into the kernel parameters which will disable to power saving of Intel graphics.\n2012 &#8211; 2014 models\nMacbook Air\nMid 2013 13&quot; &#8211; Version 6,2\nDedicated forum thread","html":"<p>Remarque: The kernel parameters acpi_backlight, i915.lvds_downclock, i915.enable_ips, et intel_iommu are no longer necessary as of kernel 4.2.\nRemarque: (Kernel 4.10.8, MacBook Pro 11,4+) If you experience system lock ups and/or tearing in Xorg, remove the .xf86-video-intel completely, including any config file you made for it. Xorg will default to its modesetting DDX driver. The performance of this driver is good and the locks go away. See also:  Intel graphics\nRemarque: If you are experiencing flickering issues with Xorg, you can set i915.enable_rc6 to 0 parameter into the kernel parameters which will disable to power saving of Intel graphics.\n2012 &#8211; 2014 models\nMacbook Air\nMid 2013 13&quot; &#8211; Version 6,2\nDedicated forum thread</p>"},{"id":"text-88","type":"text","heading":"","plain_text":"Installing and booting\nBooting from a normal 2013.6 USB key works fine, but I could not seem to get either GRUB or Syslinux working.","html":"<p>Installing and booting\nBooting from a normal 2013.6 USB key works fine, but I could not seem to get either GRUB or Syslinux working.</p>"},{"id":"text-89","type":"text","heading":"","plain_text":"I was able to boot by first installing Arch Linux following the MacBook guide at the wiki (having a separate FAT32 /boot partition). Skip the bootloader installation.","html":"<p>I was able to boot by first installing Arch Linux following the MacBook guide at the wiki (having a separate FAT32 /boot partition). Skip the bootloader installation.</p>"},{"id":"text-90","type":"text","heading":"","plain_text":"Installing rEFInd from OS X (important!) and installing the EFI stub loader made me able to boot fine.","html":"<p>Installing rEFInd from OS X (important!) and installing the EFI stub loader made me able to boot fine.</p>"},{"id":"text-91","type":"text","heading":"","plain_text":"Dedicated thread.","html":"<p>Dedicated thread.</p>"},{"id":"text-92","type":"text","heading":"","plain_text":"Remarque:  Installing rEFInd from Linux (or from OS X, but to the esp) also works fine\nArch Only Installation\nThis method works without rEFInd and uses grub to boot EFI.  Partition as follows:","html":"<p>Remarque:  Installing rEFInd from Linux (or from OS X, but to the esp) also works fine\nArch Only Installation\nThis method works without rEFInd and uses grub to boot EFI.  Partition as follows:</p>"},{"id":"text-93","type":"text","heading":"","plain_text":"/dev/sda1 200M Microsoft basic data\n /dev/sda2 256M Linux filesystem\n /dev/sda3 4G Linux swap\n /dev/sda4 108.6G Linux filesystem","html":"<p>/dev/sda1 200M Microsoft basic data\n /dev/sda2 256M Linux filesystem\n /dev/sda3 4G Linux swap\n /dev/sda4 108.6G Linux filesystem</p>"},{"id":"text-94","type":"text","heading":"","plain_text":"sda1 can also be a HFS+ partition for EFI.  This example chooses to use FAT32 (vfat). Although swap is optional, it is required for hibernation. Instead of sda4 for root and home, an alternative partition scheme would be to make sda4 as root and sda5 as home.","html":"<p>sda1 can also be a HFS+ partition for EFI.  This example chooses to use FAT32 (vfat). Although swap is optional, it is required for hibernation. Instead of sda4 for root and home, an alternative partition scheme would be to make sda4 as root and sda5 as home.</p>"},{"id":"text-95","type":"text","heading":"","plain_text":"Format and mount:","html":"<p>Format and mount:</p>"},{"id":"text-96","type":"text","heading":"","plain_text":"mkfs.vfat -F 32 /dev/sda1\n mkfs.ext2 /dev/sda2\n mkswap /dev/sda3\n swapon /dev/sda3\n mkfs.ext4 /dev/sda4","html":"<p>mkfs.vfat -F 32 /dev/sda1\n mkfs.ext2 /dev/sda2\n mkswap /dev/sda3\n swapon /dev/sda3\n mkfs.ext4 /dev/sda4</p>"},{"id":"text-97","type":"text","heading":"","plain_text":"mount /dev/sda4 /mnt\n mkdir / mnt / boot\n mount/dev/sda2 /mnt/boot\n mkdir /mnt/boot/efi\n mount /dev/sda1 /mnt/boot/efi","html":"<p>mount /dev/sda4 /mnt\n mkdir / mnt / boot\n mount/dev/sda2 /mnt/boot\n mkdir /mnt/boot/efi\n mount /dev/sda1 /mnt/boot/efi</p>"},{"id":"text-98","type":"text","heading":"","plain_text":"Finish the installation according to the Installation guide and skip anything after the bootloader.  After you have generated your initramfs and set root passwd follow below to setup grub:","html":"<p>Finish the installation according to the Installation guide and skip anything after the bootloader.  After you have generated your initramfs and set root passwd follow below to setup grub:</p>"},{"id":"text-99","type":"text","heading":"","plain_text":"pacman -S grub efibootmgr\n mount -t efivarfs efivarfs /sys/firmware/efi/efivars\n grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub --recheck --debug\n grub-mkconfig -o /boot/efi/EFI/grub/grub.cfg\n cp /boot/efi/EFI/grub/grub.cfg /boot/grub/grub.cfg\n cp /boot/efi/EFI/grub/grubx64.efi /boot/efi/EFI/boot/bootx64.efi}}","html":"<p>pacman -S grub efibootmgr\n mount -t efivarfs efivarfs /sys/firmware/efi/efivars\n grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub --recheck --debug\n grub-mkconfig -o /boot/efi/EFI/grub/grub.cfg\n cp /boot/efi/EFI/grub/grub.cfg /boot/grub/grub.cfg\n cp /boot/efi/EFI/grub/grubx64.efi /boot/efi/EFI/boot/bootx64.efi}}</p>"},{"id":"text-100","type":"text","heading":"","plain_text":"Now you can exit/unmount/reboot:","html":"<p>Now you can exit/unmount/reboot:</p>"},{"id":"text-101","type":"text","heading":"","plain_text":"sortie\n umount -R /mnt\n redémarrer","html":"<p>sortie\n umount -R /mnt\n redémarrer</p>"},{"id":"text-102","type":"text","heading":"","plain_text":"Stability problems\nRemarque:  Passing libata.force=1:noncq to the kernel parameters solves the problem.\nThis is the big worry for me. Every now and then my system hangs for a brief moment and everything involving net or disk access just hangs there for a while and then it seems to work.\nSo far it only seems to happen when I run something disk- or CPU-intensive. Also had an occassion when I could not start X and just got this repeating all over my screen:","html":"<p>Stability problems\nRemarque:  Passing libata.force=1:noncq to the kernel parameters solves the problem.\nThis is the big worry for me. Every now and then my system hangs for a brief moment and everything involving net or disk access just hangs there for a while and then it seems to work.\nSo far it only seems to happen when I run something disk- or CPU-intensive. Also had an occassion when I could not start X and just got this repeating all over my screen:</p>"},{"id":"text-103","type":"text","heading":"","plain_text":"ata1.00: failed command: WRITE FPDMA QUEUED\nata1.00: cmd 61/08:f0:10:8c:c2/00:00:0b:00:00/40 tag 30 ncq 4096 out\nres 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)\nata1.00: status: { DRDY }","html":"<p>ata1.00: failed command: WRITE FPDMA QUEUED\nata1.00: cmd 61/08:f0:10:8c:c2/00:00:0b:00:00/40 tag 30 ncq 4096 out\nres 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)\nata1.00: status: { DRDY }</p>"},{"id":"text-104","type":"text","heading":"","plain_text":"On the next attempt it worked fine.\nI did SMART short and long tests on my disk and they returned fine:","html":"<p>On the next attempt it worked fine.\nI did SMART short and long tests on my disk and they returned fine:</p>"},{"id":"text-105","type":"text","heading":"","plain_text":"smartctl -a","html":"<p>smartctl -a</p>"},{"id":"text-106","type":"text","heading":"","plain_text":"There are some messages in my boot that indicate this could be disk and/or ACPI related.","html":"<p>There are some messages in my boot that indicate this could be disk and/or ACPI related.</p>"},{"id":"text-107","type":"text","heading":"","plain_text":"These are with 2013-06 ISO, 3.9.7-1 2013 x86_64 kernel.","html":"<p>These are with 2013-06 ISO, 3.9.7-1 2013 x86_64 kernel.</p>"},{"id":"text-108","type":"text","heading":"","plain_text":"journalctl -b\nSeems to only work with the headphone jack, not with the speakers.","html":"<p>journalctl -b\nSeems to only work with the headphone jack, not with the speakers.</p>"},{"id":"text-109","type":"text","heading":"","plain_text":"dmesg","html":"<p>dmesg</p>"},{"id":"text-110","type":"text","heading":"","plain_text":"Remarque:  Same problem in 2017 with a Macbook Air early 2014. Updating the firmware (via migration to macOS Sierra) solved the issue.\nMarvell ATA suspend bugs\nIf you have 2013 MacBook Air with a Marvell 128 or 256 GB drive, you might get the following ata errors instead after pm-suspend/resumes:","html":"<p>Remarque:  Same problem in 2017 with a Macbook Air early 2014. Updating the firmware (via migration to macOS Sierra) solved the issue.\nMarvell ATA suspend bugs\nIf you have 2013 MacBook Air with a Marvell 128 or 256 GB drive, you might get the following ata errors instead after pm-suspend/resumes:</p>"},{"id":"text-111","type":"text","heading":"","plain_text":"ata1: exception Emask 0x10 SAct 0x0 SErr 0x10000 action 0xe frozen\nata1: irq_stat 0x00400000, PHY RDY changed\nata1: SError: { PHYRdyChg }\nata1: hard resetting link\nata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)\nata1.00: unexpected _GTF length (8)\nata1.00: unexpected _GTF length (8)\nata1.00: configured for UDMA/33\nata1: EH complete","html":"<p>ata1: exception Emask 0x10 SAct 0x0 SErr 0x10000 action 0xe frozen\nata1: irq_stat 0x00400000, PHY RDY changed\nata1: SError: { PHYRdyChg }\nata1: hard resetting link\nata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)\nata1.00: unexpected _GTF length (8)\nata1.00: unexpected _GTF length (8)\nata1.00: configured for UDMA/33\nata1: EH complete</p>"},{"id":"text-112","type":"text","heading":"","plain_text":"Try what Patrick and Tejun figured out on the linux bug. I followed what Patrick describes with sata_alpm, and I haven&#39;t seen the issue since.","html":"<p>Try what Patrick and Tejun figured out on the linux bug. I followed what Patrick describes with sata_alpm, and I haven&#039;t seen the issue since.</p>"},{"id":"text-113","type":"text","heading":"","plain_text":"There are more steps on how to resolve this issue in this thread on the Arch forum","html":"<p>There are more steps on how to resolve this issue in this thread on the Arch forum</p>"},{"id":"text-114","type":"text","heading":"","plain_text":"Suspend/Resume\nBrightness is either 0% or 100% after resuming from suspend.  Until the kernel is fixed, use patjak&#39;s fix by installing mba6x_bl-dkmsAUR. Patjak&#39;s github is at [7].","html":"<p>Suspend/Resume\nBrightness is either 0% or 100% after resuming from suspend.  Until the kernel is fixed, use patjak&#039;s fix by installing mba6x_bl-dkmsAUR. Patjak&#039;s github is at [7].</p>"},{"id":"text-115","type":"text","heading":"","plain_text":"Wifi\nWiFi does not work out of the box. Installer broadcom-wl-dkms to connect to a network.  If booting from the official Arch Linux ISO, one needs to unload a few standard modules in order to use the included wl module.  Do so as follows:","html":"<p>Wifi\nWiFi does not work out of the box. Installer broadcom-wl-dkms to connect to a network.  If booting from the official Arch Linux ISO, one needs to unload a few standard modules in order to use the included wl module.  Do so as follows:</p>"},{"id":"text-116","type":"text","heading":"","plain_text":"# rmmod b43 ssb bcma wl","html":"<p># rmmod b43 ssb bcma wl</p>"},{"id":"text-117","type":"text","heading":"","plain_text":"Now simply load the wl module:","html":"<p>Now simply load the wl module:</p>"},{"id":"text-118","type":"text","heading":"","plain_text":"# modprobe wl","html":"<p># modprobe wl</p>"},{"id":"text-119","type":"text","heading":"","plain_text":"This should automatically load the onboard wifi which can be seen by issuing: ip a. From here follow the WPA supplicant#Connecting with wpa_cli article to bring up the wireless network.","html":"<p>This should automatically load the onboard wifi which can be seen by issuing: ip a. From here follow the WPA supplicant#Connecting with wpa_cli article to bring up the wireless network.</p>"},{"id":"text-120","type":"text","heading":"","plain_text":"Touchpad\nSince 3.10.3 kernel touchpad works perfectly with xf86-input-synaptics.","html":"<p>Touchpad\nSince 3.10.3 kernel touchpad works perfectly with xf86-input-synaptics.</p>"},{"id":"text-121","type":"text","heading":"","plain_text":"l&#39;audio\nALSA may recognise the HDMI audio out as card 0 which will be the default card. Confirm this by checking the output of","html":"<p>l&#039;audio\nALSA may recognise the HDMI audio out as card 0 which will be the default card. Confirm this by checking the output of</p>"},{"id":"text-122","type":"text","heading":"","plain_text":"aplay -l","html":"<p>aplay -l</p>"},{"id":"text-123","type":"text","heading":"","plain_text":"If that is the case, you may need to create a /etc/asound.conf with below entries:","html":"<p>If that is the case, you may need to create a /etc/asound.conf with below entries:</p>"},{"id":"text-124","type":"text","heading":"","plain_text":"defaults.pcm.card 1\n defaults.ctl.card 1","html":"<p>defaults.pcm.card 1\n defaults.ctl.card 1</p>"},{"id":"text-125","type":"text","heading":"","plain_text":"to use the HDA Intel card, ie. the built-in speakers / headphones.","html":"<p>to use the HDA Intel card, ie. the built-in speakers / headphones.</p>"},{"id":"text-126","type":"text","heading":"","plain_text":"Mid 2012 11.5&quot; — Version 5,1\nIf you have issues with waking from sleep while in X11 such as a black screen or showing the console with a frozen mouse cursor then remove xf86-input-synaptics et installer xf86-input-mtrack-gitAUR. This fixed errors such as","html":"<p>Mid 2012 11.5&quot; — Version 5,1\nIf you have issues with waking from sleep while in X11 such as a black screen or showing the console with a frozen mouse cursor then remove xf86-input-synaptics et installer xf86-input-mtrack-gitAUR. This fixed errors such as</p>"},{"id":"text-127","type":"text","heading":"","plain_text":"(EE) [dix] bcm5974: unable to find touch point 0","html":"<p>(EE) [dix] bcm5974: unable to find touch point 0</p>"},{"id":"text-128","type":"text","heading":"","plain_text":"and backtraces that causes X11 to crash. This might apply to Version 5,2 assuming they use the same trackpad.","html":"<p>and backtraces that causes X11 to crash. This might apply to Version 5,2 assuming they use the same trackpad.</p>"},{"id":"text-129","type":"text","heading":"","plain_text":"Mid 2011 — version 4,x\nWorks out-of-the-box since kernel 3.2.","html":"<p>Mid 2011 — version 4,x\nWorks out-of-the-box since kernel 3.2.</p>"},{"id":"text-130","type":"text","heading":"","plain_text":"Early 2008 — version 1,1\nEverything works out of the box though you will need the b43-fwcutter package (or simply b43-firmwareAUR) for the wireless adapter to work.","html":"<p>Early 2008 — version 1,1\nEverything works out of the box though you will need the b43-fwcutter package (or simply b43-firmwareAUR) for the wireless adapter to work.</p>"},{"id":"text-131","type":"text","heading":"","plain_text":"Since this model has only one USB port, you may find it easiest to install Arch with a powered USB hub. Plug a USB network adapter (wireless or ethernet adapter to plug into a USB port) and your Arch installation media into the USB hub.","html":"<p>Since this model has only one USB port, you may find it easiest to install Arch with a powered USB hub. Plug a USB network adapter (wireless or ethernet adapter to plug into a USB port) and your Arch installation media into the USB hub.</p>"},{"id":"text-132","type":"text","heading":"","plain_text":"If you can&#39;t get any result by scanning wireless network after boot, unload modules b43 et ssb and load them again:","html":"<p>If you can&#039;t get any result by scanning wireless network after boot, unload modules b43 et ssb and load them again:</p>"},{"id":"text-133","type":"text","heading":"","plain_text":"rmmod ssb\n   rmmod b43\n   modprobe b43","html":"<p>rmmod ssb\n   rmmod b43\n   modprobe b43</p>"},{"id":"text-134","type":"text","heading":"","plain_text":"There is a good chance you will find what&#39;s wrong with DMA from the dmesg log.","html":"<p>There is a good chance you will find what&#039;s wrong with DMA from the dmesg log.</p>"},{"id":"text-135","type":"text","heading":"","plain_text":"Even if you can scan wireless networks after reloading the modules, it&#39;s still possible that you will only be able to connect to some networks, but not all of them. According to a more detailed discussion here: http://crunchbang.org/forums/viewtopic.php?id=17368, adding pio=1,qos=0 options to the b43 module can solve this problem.","html":"<p>Even if you can scan wireless networks after reloading the modules, it&#039;s still possible that you will only be able to connect to some networks, but not all of them. According to a more detailed discussion here: http://crunchbang.org/forums/viewtopic.php?id=17368, adding pio=1,qos=0 options to the b43 module can solve this problem.</p>"},{"id":"text-136","type":"text","heading":"","plain_text":"I tested this for a 13&#39; MacBookAir1,1 with a BCM4321 chipset, and it works.","html":"<p>I tested this for a 13&#039; MacBookAir1,1 with a BCM4321 chipset, and it works.</p>"},{"id":"text-137","type":"text","heading":"","plain_text":"Voir également","html":"<p>Voir également</p>"}],"sections":[{"id":"text-1","heading":"Text","content":"L’installation d’Arch Linux sur un MacBook (12 &quot;/ Air / Pro) ou un iMac est assez similaire à son installation sur n’importe quel autre ordinateur. Toutefois, en raison de la configuration matérielle spécifique d’un Mac, certaines divergences et considérations spéciales justifient Pour plus d’informations générales, consultez le Guide d’installation et UEFI, qui contient des instructions d’installation pouvant être utilisées sur tout ordinateur Apple dont le matériel est pris en charge par le noyau Linux. Reportez-vous aux pages &#39;connexes&#39; (en haut). à droite de cette page) pour obtenir des conseils et des solutions de dépannage spécifiques à un modèle."},{"id":"text-2","heading":"Text","content":"Contenus\nToggleVue d&#39;ensembleMises à jour du firmwareDes partitionsArch Linux uniquementArch Linux avec OS X ou d&#39;autres systèmes d&#39;exploitationOption 1: EFIOption 2: compatibilité du BIOSTriple démarrage sous OS X, Windows XP et Arch LinuxConfiguration du chargeur de démarrageUtilisation du chargeur de démarrage Apple natif avec systemd-boot (recommandé)Utilisation du chargeur de démarrage Apple natif avec GRUBAutres méthodesInstaller directement GRUB sur une partition EFIUtiliser la bénédictionCompilationInstallationPost-installationVidéoPavé tactileClavierWifiGestion de l&#39;alimentationDésactiver ThunderboltSuspend and HibernateWake Up After SuspendCapteur de lumièreDu sonBluetoothMagic MouseWebcamiSightFacetime HDTemperature SensorsColor ProfileApple RemoteHFS partition sharingHFS+ PartitionsJournalingYosemite and laterHome SharingIn OS XIn ArchAvoid long EFI wait before bootingMute startup chimekworker using high CPUrEFItProblems with rEFItMavericks upgrade breaks Arch boot optionModel-specific informationMacBookMacbook ProEarly 2015 13&quot;/15&quot; &#8211; Version 12,x/11,4+2012 &#8211; 2014 modelsMacbook AirMid 2011 — version 4,xEarly 2008 — version 1,1Voir également\nVue d&#39;ensemble\nPlus précisément, la procédure d&#39;installation d&#39;Arch Linux sur un MacBook est la suivante:"},{"id":"text-3","heading":"Text","content":"Mises à jour du firmware: Il est toujours utile de démarrer à partir d’une installation propre, sauvegardée et à jour de OS X.\nCloison: Redimensionnement ou suppression de la partition OS X pour créer des partitions pour Arch Linux.\nConfiguration du chargeur de démarrage: S&#39;assurer que la nouvelle partition est amorçable.\nInstaller Arch Linux: En train d’installer Arch Linux.\nPost-installation: Configuration spécifique au MacBook."},{"id":"text-4","heading":"Text","content":"Mises à jour du firmware\nAvant de procéder à l&#39;installation d&#39;Arch Linux, il est important de vous assurer que les dernières mises à jour de microprogramme pour votre MacBook sont installées. Cette procédure nécessite OS X.\nSous OS X, ouvrez l&#39;App Store et recherchez les mises à jour. Si votre mac trouve et installe des mises à jour, assurez-vous de redémarrer votre ordinateur, puis vérifiez à nouveau les mises à jour pour vous assurer que vous avez tout installé."},{"id":"text-5","heading":"Text","content":"Remarque: Si vous avez désinstallé OS X ou si vous souhaitez le réinstaller, Apple dispose d&#39;excellentes instructions.\nIl est conseillé de garder OS X installé, car les mises à jour du microprogramme des MacBook ne peuvent être installées qu’avec OS X. Toutefois, si vous envisagez de supprimer complètement OS X, effectuez des sauvegardes de ces fichiers, dont vous aurez besoin sous Linux pour ajuster le profil de couleur:"},{"id":"text-6","heading":"Text","content":"/ Bibliothèque / ColorSync / Profils / Affichages / *"},{"id":"text-7","heading":"Text","content":"Continuer vers #Partitions"},{"id":"text-8","heading":"Text","content":"Des partitions\nLa partition du disque de stockage ne diffère pas de tout autre PC ou ordinateur portable. Toutefois, si vous prévoyez de conserver OS X pour un double démarrage, vous devez considérer que, par défaut, le lecteur d&#39;un MacBook est formaté à l&#39;aide de la technologie GPT et contient au moins 3 partitions:"},{"id":"text-9","heading":"Text","content":"EFI: la partition système EFI d&#39;environ 200 Mo.\nOS X: la partition principale contenant votre installation OS X. Il est formaté avec HFS +.\nRécupération: Une partition de récupération présente dans presque tous les MacBooks exécutant OS X 10.7 ou plus récent. Il est généralement masqué sous OS X mais peut être visualisé à l&#39;aide d&#39;outils de partitionnement."},{"id":"text-10","heading":"Text","content":"La manière de partitionner dépend du nombre de systèmes d&#39;exploitation que vous souhaitez installer. Les options suivantes seront expliquées:"},{"id":"text-11","heading":"Text","content":"Arch Linux uniquement\nCette situation est la plus facile à gérer. Le partitionnement est identique à tout autre matériel sur lequel Arch Linux peut être installé. Veuillez vous reporter au guide d&#39;installation standard pour plus de détails."},{"id":"text-12","heading":"Text","content":"Remarque: Il est conseillé de désactiver le son de démarrage du MacBook avant de procéder au partitionnement. Démarrez simplement dans OS X, coupez le son de votre système et redémarrez à nouveau sur le support d&#39;installation Arch Linux. N&#39;oubliez pas que le volume du son de démarrage ne peut être modifié de manière fiable que sous OS X.\nSi vous souhaitez configurer votre système de manière à ce que le cryptage intégral du disque soit activé, veuillez consulter la page Dm-crypt / Cryptage de tout un système pour plus de détails."},{"id":"text-13","heading":"Text","content":"Un exemple pour un partitionnement très basique, qui ne considère pas un séparé /maison partition, ni chiffrement, ni LVM, est la suivante:"},{"id":"text-14","heading":"Text","content":"étiquette du type de taille du point de montage de la partition\n/ dev / sda1 / boot 200MiB vfat EFI\n/ dev / sda2 / swap ajuste le swap\n/ dev / sda3 / reste la racine ext4"},{"id":"text-15","heading":"Text","content":"Arch Linux avec OS X ou d&#39;autres systèmes d&#39;exploitation\nVous devez partitionner votre disque dur tout en conservant les partitions utilisées pour OS X / Windows. Si vous souhaitez conserver OS X, le moyen le plus simple consiste à utiliser les outils de partitionnement sous OS X, puis à utiliser les outils Arch Linux."},{"id":"text-16","heading":"Text","content":"Attention:  Si votre partition OS X est cryptée avec FileVault 2, vous doit désactiver le cryptage du disque avant de continuer. Une fois la partition OS X redimensionnée, FileVault 2 peut être réactivé.\nProcédure:"},{"id":"text-17","heading":"Text","content":"Sous OS X, exécutez Utilitaire de disque.app (situé dans / Applications / Utilitaires)\nSélectionnez le lecteur à partitionner dans la colonne de gauche (pas les partitions!). Clique sur le Cloison bouton.\nAjoutez une nouvelle partition en appuyant sur le bouton + bouton et choisissez l’espace que vous souhaitez laisser pour OS X et celui de la nouvelle partition. Gardez à l&#39;esprit que la nouvelle partition sera formatée dans Arch Linux, vous pourrez donc choisir le type de partition de votre choix.\nSi ce qui précède s&#39;est terminé avec succès, vous pouvez continuer. Sinon, vous devrez peut-être commencer par réparer vos partitions à partir de OS X.\nDémarrez le support d’installation Arch ou LiveUSB en maintenant la touche enfoncée. Alt au démarrage. Continuez avec #Installation."},{"id":"text-18","heading":"Text","content":"Il est possible de redimensionner la partition nouvellement créée à partir du support d&#39;installation Arch, ou de la supprimer afin de procéder à la création d&#39;autres partitions (par exemple, swap)."},{"id":"text-19","heading":"Text","content":"Pointe: Au lieu d&#39;encombrer votre disque avec une partition différente, il est possible d&#39;utiliser un fichier d&#39;échange au lieu d&#39;une partition dédiée. Une autre solution peut être de configurer LVM afin d’utiliser la partition nouvellement créée en tant que conteneur. Veuillez vous référer aux articles liés.\nOption 1: EFI"},{"id":"text-20","heading":"Text","content":"Supprimer la partition que vous avez créée Utilitaire de disque.app et créez les partitions nécessaires pour Arch Linux. OS X aime voir un espace de 128 Mo après les partitions. Ainsi, lorsque vous créez la première partition après la dernière partition OS X, saisissez + 128M quand cgdisk demande le premier secteur de la partition. Plus d&#39;informations sur la politique de partitionnement d&#39;Apple peuvent être lues ici. Un exemple simple (pas de LVM, crypto):"},{"id":"text-21","heading":"Text","content":"Remarque:"},{"id":"text-22","heading":"Text","content":"La partition d&#39;échange est facultative sur les machines disposant de 4 Go de RAM ou plus. UNE fichier d&#39;échange peut être créé plus tard.\nL’option de démarrage double la plus simple consiste à installer rEFInd à partir de OS X, dans son répertoire racine (par défaut pour install.sh). Ensuite, copiez le dossier du pilote depuis l’archive d’installation dans le nouvel emplacement rEFInd et décommentez les lignes. &quot;scan_all_linux_kernels&quot; et &quot;also_scan_dirs&quot; options dans refind.conf. La configuration des options de démarrage peut ensuite être effectuée à partir d’un refind_linux.conf dans Arch&#39;s /démarrage annuaire.\nSi vous voulez pouvoir démarrer GRUB à partir du chargeur de démarrage Apple, vous pouvez créer une petite partition hfs + (pour plus de commodité, utilisez OS X pour le formater de manière appropriée. Utilitaire de disque.app ensuite). Suivez la procédure d’installation de GRUB EFI et montez votre / boot / efi répertoire de la partition hfs + que vous avez créée. Enfin, terminez à nouveau dans OS X en bénissant la partition. Ceci définira GRUB comme option de démarrage par défaut (maintenir alt au démarrage ouvre toujours l’écran des options de démarrage du Mac. Voir http://mjg59.dreamwidth.org/7468.html).,\nLa partition EFI d&#39;OS X peut être partagée avec Arch Linux, rendant la création d&#39;une partition EFI supplémentaire dédiée à Arch totalement optionnelle."},{"id":"text-23","heading":"Text","content":"Remarque: Pour plus d&#39;informations sur le partitionnement, voir Partitionnement\nétiquette du type de taille du point de montage de la partition\n/ dev / sda1 / boot / efi 200MiB vfat EFI\n/ dev / sda2 -? hfs + OS X\n/ dev / sda3 -? hfs + récupération\n/ dev / sda4 - 100 Mo hfs + Boot Arch Linux à partir du chargeur d&#39;amorçage Apple (facultatif)\n/ dev / sda5 / boot Boot de démarrage 100MiB\n/ dev / sda6 -? swap swap (optionnel)\n/ dev / sda7 / 15-20GiB racine ext4\n/ dev / sda8 / home restante ext4 maison"},{"id":"text-24","heading":"Text","content":"Option 2: compatibilité du BIOS"},{"id":"text-25","heading":"Text","content":"Supprimez la partition d&#39;espace vide et partitionnez l&#39;espace comme vous le feriez pour toute autre installation. Notez que le MBR est limité à 4 partitions principales (y compris la partition efi). Cela laisse 2 partitions primaires pour Arch. Une stratégie consiste à avoir une partition système et une partition principale et à utiliser un fichier d&#39;échange (je n&#39;ai pas essayé d&#39;utiliser des partitions logiques). Une autre consiste à dédier une partition à une partition partagée (voir ci-dessous)."},{"id":"text-26","heading":"Text","content":"Ensuite, créez de nouveaux systèmes de fichiers sur les partitions qui en ont besoin, en particulier la partition qui contiendra /démarrage. Si vous ne savez pas comment faire cela en utilisant mkfs.ext2 (ou autre chose), cours / arch / setup et travaillez jusqu’à ce que vous arriviez à préparer le disque dur et à utiliser le &quot;Configurer manuellement les périphériques en mode bloc &#8230;&quot; option, puis quittez le programme d&#39;installation. Cela est nécessaire pour que rEFIt définisse le type de partition approprié dans le MBR à l&#39;étape suivante (sans système de fichiers existant, il semble ignorer le type de partition défini par parted), sans quoi GRUB refusera de l&#39;installer sur la partition appropriée."},{"id":"text-27","heading":"Text","content":"À ce stade, vous devez redémarrer votre ordinateur et demander à correct de corriger les tables de partition sur votre disque dur. (Si vous ne le faites pas, vous devrez peut-être réinstaller GRUB ultérieurement pour que votre Mac reconnaisse la partition Linux.) Lorsque vous êtes dans le menu reFIt, sélectionnez mettre à jour la table de partition, puis appuyez y. Redémarrer."},{"id":"text-28","heading":"Text","content":"Triple démarrage sous OS X, Windows XP et Arch Linux\nCela ne fonctionnera peut-être pas pour tout le monde, mais il a été testé avec succès sur un MacBook depuis fin 2009."},{"id":"text-29","heading":"Text","content":"Le moyen le plus simple de partitionner votre disque dur, afin que tous ces systèmes d&#39;exploitation puissent coexister, consiste à utiliser l&#39;utilitaire de disque sous OS X, à utiliser le formateur sous Windows XP, à installer XP et à terminer avec les outils Arch Linux."},{"id":"text-30","heading":"Text","content":"Attention: Il est vivement recommandé de ne tenter cette opération qu&#39;après une nouvelle installation d&#39;OS X. L&#39;utilisation de ces méthodes sur un système pré-existant peut donner des résultats non souhaités. Avant de commencer, sauvegardez au moins vos affaires avec timemachine ou clonezilla.\nProcédure:"},{"id":"text-31","heading":"Text","content":"Sous OS X, exécutez Utilitaire de disque (situé dans / Applications / Utilitaires)."},{"id":"text-32","heading":"Text","content":"Sélectionnez le lecteur à partitionner dans la colonne de gauche (pas les partitions!). Clique sur le cloison onglet à droite."},{"id":"text-33","heading":"Text","content":"Sélectionnez le volume à redimensionner dans le menu schéma de volume."},{"id":"text-34","heading":"Text","content":"Décidez de combien d’espace vous souhaitez disposer pour votre partition OS X, de XP et de Linux. N&#39;oubliez pas qu&#39;une installation typique d&#39;OS X nécessite environ 15-20 Gio et environ de XP, en fonction du nombre d&#39;applications logicielles et de fichiers. Quelque chose comme OS X 200 Go, XP 25 Go, Arch 25 Go devrait aller."},{"id":"text-35","heading":"Text","content":"Mettez vos décisions en action en appuyant sur le bouton + et en ajoutant les nouvelles partitions, étiquetez-les comme vous le souhaitez et assurez-vous que votre partition XP est la dernière sur le disque et est formatée pour FAT32. Il est probablement préférable d’archiver Arch au format HFS afin de ne pas vous embrouiller plus tard, il sera reformaté de toute façon."},{"id":"text-36","heading":"Text","content":"Donc, en termes de Linux, vos partitions seront quelque chose comme:"},{"id":"text-37","heading":"Text","content":"sda (disque)\nsda1 (partition de démarrage Mac &#8211; vous ne pouvez pas voir celui-ci dans OS X)\nsda2 (installation de OS X sous HFS +)\nsda3 (Arch installer temporairement dans HFS)\nsda4 (installation de XP en FAT32)"},{"id":"text-38","heading":"Text","content":"Enfin, cliquez sur appliquer. Cela créera une nouvelle partition en dehors de l&#39;espace vide."},{"id":"text-39","heading":"Text","content":"Remarque: En utilisant cette méthode, il est possible que vous ne puissiez pas avoir une partition partagée entre OS X et Arch Linux, car le Mac n&#39;autorisera que 4 partitions actives. Vous pourrez toutefois monter une partition HFS dans Arch pour une solution de contournement. Il existe d&#39;autres solutions de contournement possibles également."},{"id":"text-40","heading":"Text","content":"Si ce qui précède s&#39;est terminé avec succès, vous pouvez continuer. Sinon, vous devrez peut-être commencer par réparer vos partitions à partir de OS X."},{"id":"text-41","heading":"Text","content":"Vous n&#39;aurez pas besoin de camp d&#39;entraînement de cette façon, le programme rEFIt est beaucoup plus flexible (mais pas aussi flexible que GRUB). Téléchargez et installez rEFIt [1]"},{"id":"text-42","heading":"Text","content":"Allez dans un terminal sous OS X et effectuez les opérations suivantes, cela activera le gestionnaire de démarrage rEFIt."},{"id":"text-43","heading":"Text","content":"cd / efi / refit\n./enable.sh"},{"id":"text-44","heading":"Text","content":"Redémarrez pour vérifier que le reFIt fonctionne, il devrait apparaître au démarrage. Lorsque cela se produit, allez dans le gestionnaire de partition REFIt et acceptez les modifications."},{"id":"text-45","heading":"Text","content":"Placez votre CD d’installation XP et démarrez-le avec rEFIt &#8211; Il se peut que vous deviez redémarrer plusieurs fois jusqu’à ce qu’il soit reconnu par le chargeur de démarrage. Installez XP et une fois installé, utilisez le CD d’installation d’OS X pour que vos pilotes fonctionnent correctement sous XP."},{"id":"text-46","heading":"Text","content":"Remarque: lors de l’installation de XP, assurez-vous de sélectionner votre partition XP et de la reformater dans le programme d’installation de XP. Si vous ne reformatez pas, cela ne fonctionnera pas."},{"id":"text-47","heading":"Text","content":"Démarrez le CD d’installation Arch, connectez-vous en tant que root et exécutez # / arch / setup."},{"id":"text-48","heading":"Text","content":"Suivez l’installation normalement, mais notez que vous devrez indiquer à cet installateur d’archive de monter sda3 en tant que partition racine et de la formater en tant qu’ext3; il n’y aura ni partition / boot ni swap, ignorez donc ces avertissements."},{"id":"text-49","heading":"Text","content":"À ce stade, si vous effectuez un double démarrage, vous devez redémarrer votre ordinateur et demander à correct de réparer les tables de partitions sur votre disque dur. (Si vous ne le faites pas, vous devrez peut-être réinstaller GRUB ultérieurement pour que votre Mac reconnaisse la partition Linux.) Lorsque vous êtes dans le menu reFIt, sélectionnez mettre à jour la table de partition, puis appuyez sur Y."},{"id":"text-50","heading":"Text","content":"# redémarrer"},{"id":"text-51","heading":"Text","content":"Configuration du chargeur de démarrage\nUtilisation du chargeur de démarrage Apple natif avec systemd-boot (recommandé)\nLe chargeur d&#39;amorçage EFI natif d&#39;Apple lit .efi fichiers situés dans la partition système EFI à /EFI/BOOT/BOOTX64.EFI. Heureusement, il s&#39;agit également de l&#39;emplacement d&#39;installation par défaut du binaire systemd-boot. Cela signifie que le démarrage de Linux en utilisant systemd-boot est très simple."},{"id":"text-52","heading":"Text","content":"Tout d’abord, assurez-vous d’avoir monté la partition système EFI à /démarrage\nContinuez avec #Installation normalement\nUne fois dans l&#39;environnement chrooté, tapez la commande suivante pour installer systemd-boot:"},{"id":"text-53","heading":"Text","content":"# bootctl --path = / boot install\nLa commande ci-dessus va copier le systemd-boot binaire à /boot/EFI/BOOT/BOOTX64.EFI et ajouter systemd-boot elle-même en tant qu&#39;application EFI par défaut (entrée de démarrage par défaut) chargée par le gestionnaire de démarrage EFI."},{"id":"text-54","heading":"Text","content":"Au prochain redémarrage, le gestionnaire de démarrage Apple, affiché lorsque vous maintenez la touche Option enfoncée lors du démarrage du MacBook, doit afficher Arch Linux (il sera affiché sous la forme suivante: Démarrage EFI comme option de démarrage possible."},{"id":"text-55","heading":"Text","content":"Pointe: Si vous avez installé Arch Linux avec OS X, vous pourrez modifier l&#39;emplacement de démarrage par défaut à partir des paramètres système sous OS X. Si Arch Linux n&#39;apparaît pas comme une option de démarrage possible, vous devrez monter la partition système EFI sous OS. X avant de choisir votre option de démarrage:\n$ diskutil mount disk0s1"},{"id":"text-56","heading":"Text","content":"Utilisation du chargeur de démarrage Apple natif avec GRUB"},{"id":"text-57","heading":"Text","content":"Mid 2007 13&quot; &#8211; Version 2,1\nRemarque: I used the 201212 ISO image.\nSince older Macbooks have a 32bit EFI running, the usual installation image is not recognized. You need to either remove the UEFI support from the disc (Unified Extensible Firmware Interface#Remove UEFI boot support from optical media) or build a 32bit EFI version of the disc. The paragraphs below will take the first path to success, booting into BIOS mode and its pitfalls. For a try the other way round, read Unified Extensible Firmware Interface#Create UEFI bootable USB from ISO first."},{"id":"text-58","heading":"Text","content":"First prepare your harddisc according to your wishes. In this scenario it was a &quot;Linux only&quot; approach with"},{"id":"text-59","heading":"Text","content":"/dev/sda1 HFS+ AF00 200M -&gt; EFI boot system on Apple HFS+ partition\n/dev/sda2 ext4 8300 147G -&gt; arch system\n/dev/sda3 swap 8200 1G   -&gt; swap"},{"id":"text-60","heading":"Text","content":"le hfsprogsAUR    package contains the tools to handle HFS/HFS+ filesystems. The rEFInd bootloader recognizes it on its own. Usually the partition for the EFI bootloader is a FAT32 (vfat) partition. In this case I tried rEFIt first, which apparently needs the HFS+ filesystem to work, and kept it at that."},{"id":"text-61","heading":"Text","content":"The mount points are:"},{"id":"text-62","heading":"Text","content":"/dev/sda2 -&gt; /\n/dev/sda1 -&gt; /boot"},{"id":"text-63","heading":"Text","content":"The bootloader in use was rEFInd instead of rEFIt. To install it, the rEFInd homepage provides a good guide. Usually it is simply done by copying rEFInd:"},{"id":"text-64","heading":"Text","content":"mkdir /boot/EFI\ncp -vr /usr/share/refind/drivers_ia32 /boot/EFI/refind/\ncp -vr /usr/share/refind/tools_ia32 /boot/EFI/refind/\ncp -vr /usr/share/refind/fonts /boot/EFI/refind/\ncp -vr /usr/share/refind/icons /boot/EFI/refind/\ncp -v /usr/share/refind/refind_ia32.efi /boot/EFI/refind/\ncp -v /usr/share/refind/refind.conf-sample /boot/EFI/refind/refind.conf\ncp -v /usr/share/refind/refind_linux.conf-sample /boot/refind_linux.conf"},{"id":"text-65","heading":"Text","content":"Remarque: I&#39;m using the 32bit version of Arch and refind, since the EFI of the old MacBooks is 32bit. I&#39;m not sure about 32bit rEFInd booting a 64bit Arch&#8230;\nThe pitfall here is, that the system bootet in BIOS compatibility mode and not in EFI mode. You cannot therefore use efibootmgr, because the EFI variables (even with &#39;modprobe efivars&#39;) are not available. While installing the system get mactel-bootAUR. le hfs-bless utility comes in handy, when blessing the EFI bootloader. This is done by calling:"},{"id":"text-66","heading":"Text","content":"hfs-bless /boot/EFI/refind/refind_ia32.efi"},{"id":"text-67","heading":"Text","content":"Since the Linux kernel does come with EFI stub enabled, it seems a good idea to run it through a bootloader first. Especially if it runs not out of the box. But using rEFInd makes GRUB (or any other bootloader) obsolete, because of that."},{"id":"text-68","heading":"Text","content":"Remarque: In the refind_linux.conf you add any kernel option you may want as long as you use the EFI stub of your kernel. In refind.conf you adjust your needs for the bootloader itself, like menu entries. If you use them (menu entries), rEFInd should not look for these EFI stub kernels itself, so blacklist the directories used in here, like /démarrage/.\nNot running out of the box is unfortunately the initial stage for the kernel. Since we installed it in BIOS mode, two modules are missing to grant access to the root partition while booting. Hence the &#39;initfsram-linux.img&#39; can not be found/loaded. Adding the following modules to your &#39;MODULES&#39; line in /etc/mkinitcpio.conf solved this (original post)."},{"id":"text-69","heading":"Text","content":"/etc/mkinitcpio.conf\nMODULES=&quot;ahci sd_mod&quot;\nRebuild your kernel image:"},{"id":"text-70","heading":"Text","content":"mkinitcpio -p linux"},{"id":"text-71","heading":"Text","content":"The bootloader rEFInd can scan kernels even out of the &#39;/boot/&#8230;&#39; directory and assumes an efi kernel even without the extension &#39;.efi&#39;. If you do not want to try out special kernels, this should work without the hassle to copy each kernel after building to some spot special."},{"id":"text-72","heading":"Text","content":"If you happen to get multiple entries for one boot image, it often results of a previous installation of a bootloader within the MBR. To remove that, try the following &#8211; taken from the original post. This is valid for GPT partitioned discs, so please check your environment and save your MBR first."},{"id":"text-73","heading":"Text","content":"# dd if=/dev/zero of=/dev/sda bs=440 count=1"},{"id":"text-74","heading":"Text","content":"Macbook Pro\nEarly 2015 13&quot;/15&quot; &#8211; Version 12,x/11,4+\nSans fil\nle brcmfmac driver is working as of 2015-11-20, with newer firmware necessary for working 5GHz support (see here.)"},{"id":"text-75","heading":"Text","content":"Remarque:  On the Macbook Pro 12,1 if the brcmfmac driver can not be started and the following errors occur in the journal:\nbrcmfmac: brcmf_chip_recognition: chip backplane type 15 is not supported\nbrcmfmac: brcmf_pcie_probe: failed 14e4:43ba"},{"id":"text-76","heading":"Text","content":"then check whether PCI runtime power management is enabled on the device, and disable it if so."},{"id":"text-77","heading":"Text","content":"Bluetooth\nBluetooth is fully supported starting from kernel-4.4.0."},{"id":"text-78","heading":"Text","content":"Suspend &amp; Power Off (11,4+)\nThe 11,4 and 11,5 MacBook Pros do not shutdown or suspend correctly with the default kernel. This issue is being addressed in Bug 103211 and a temporary patch is currently available in linux-macbookAUR. Note that Linux 4.13.0 has this patch included, and will be released shortly."},{"id":"text-79","heading":"Text","content":"Keyboard &amp; Trackpad\nHaptic feedback works out of the box due to the trackpad&#39;s built-in firmware."},{"id":"text-80","heading":"Text","content":"There are several drivers available that provide multitouch support. The following have been confirmed working with the MacBookPro12,1."},{"id":"text-81","heading":"Text","content":"Pour xf86-input-libinput the following configuration emulates some features from the OS X functionality. For more options see libinput(4)."},{"id":"text-82","heading":"Text","content":"/etc/X11/xorg.conf.d/90-libinput.conf\nSection &quot;InputClass&quot;\n    Identifier &quot;libinput touchpad catchall&quot;\n    MatchIsTouchpad &quot;on&quot;\n    MatchDevicePath &quot;/dev/input/event*&quot;\n    Driver &quot;libinput&quot;\n    Option &quot;NaturalScrolling&quot; &quot;true&quot;\nEndSection\nPour xf86-input-synaptics the following configuration is necessary to make the touchpad work fully."},{"id":"text-83","heading":"Text","content":"/etc/X11/xorg.conf.d/60-magictrackpad.conf\nSection &quot;InputClass&quot;\n    Identifier &quot;Trackpad&quot;\n    Driver &quot;synaptics&quot;\n    MatchIsTouchpad &quot;on&quot;\n    MatchDevicePath &quot;/dev/input/event*&quot;\nEndSection\nFurther, some US/ANSI keyboards suffer from an issue where the tilde key (~, the key vertically between Esc and Tab) registers as < and >. The following config file fixes this issue."},{"id":"text-84","heading":"Text","content":"/etc/modprobe.d/hid_apple.conf\noptions hid_apple iso_layout=0\nSee this kernel bugzilla for more details and the relevant patches for earlier kernels."},{"id":"text-85","heading":"Text","content":"Graphique\nFor Intel-only graphics, install the xf86-video-intel package. For more information or OpenGL/3D support, follow instructions at Intel graphics."},{"id":"text-86","heading":"Text","content":"À partir de linux kernel 4.16.6 dual graphics switching does work on the 11,5 (2015) with Intel modesetting and the AMD GPU utilizing the radeon driver (amdgpu is untested). See MacBookPro11,x#Graphics to enable the integrated graphics. Once the laptop boots with integrated graphics enabled you can use VGA Switcheroo controls to power down the discrete GPU. However, if you keep it powered on you will be able to utilize HDMI connections and using switcheroo-controlAUR    you can run applications on the AMD GPU."},{"id":"text-87","heading":"Text","content":"Remarque: The kernel parameters acpi_backlight, i915.lvds_downclock, i915.enable_ips, et intel_iommu are no longer necessary as of kernel 4.2.\nRemarque: (Kernel 4.10.8, MacBook Pro 11,4+) If you experience system lock ups and/or tearing in Xorg, remove the .xf86-video-intel completely, including any config file you made for it. Xorg will default to its modesetting DDX driver. The performance of this driver is good and the locks go away. See also:  Intel graphics\nRemarque: If you are experiencing flickering issues with Xorg, you can set i915.enable_rc6 to 0 parameter into the kernel parameters which will disable to power saving of Intel graphics.\n2012 &#8211; 2014 models\nMacbook Air\nMid 2013 13&quot; &#8211; Version 6,2\nDedicated forum thread"},{"id":"text-88","heading":"Text","content":"Installing and booting\nBooting from a normal 2013.6 USB key works fine, but I could not seem to get either GRUB or Syslinux working."},{"id":"text-89","heading":"Text","content":"I was able to boot by first installing Arch Linux following the MacBook guide at the wiki (having a separate FAT32 /boot partition). Skip the bootloader installation."},{"id":"text-90","heading":"Text","content":"Installing rEFInd from OS X (important!) and installing the EFI stub loader made me able to boot fine."},{"id":"text-91","heading":"Text","content":"Dedicated thread."},{"id":"text-92","heading":"Text","content":"Remarque:  Installing rEFInd from Linux (or from OS X, but to the esp) also works fine\nArch Only Installation\nThis method works without rEFInd and uses grub to boot EFI.  Partition as follows:"},{"id":"text-93","heading":"Text","content":"/dev/sda1 200M Microsoft basic data\n /dev/sda2 256M Linux filesystem\n /dev/sda3 4G Linux swap\n /dev/sda4 108.6G Linux filesystem"},{"id":"text-94","heading":"Text","content":"sda1 can also be a HFS+ partition for EFI.  This example chooses to use FAT32 (vfat). Although swap is optional, it is required for hibernation. Instead of sda4 for root and home, an alternative partition scheme would be to make sda4 as root and sda5 as home."},{"id":"text-95","heading":"Text","content":"Format and mount:"},{"id":"text-96","heading":"Text","content":"mkfs.vfat -F 32 /dev/sda1\n mkfs.ext2 /dev/sda2\n mkswap /dev/sda3\n swapon /dev/sda3\n mkfs.ext4 /dev/sda4"},{"id":"text-97","heading":"Text","content":"mount /dev/sda4 /mnt\n mkdir / mnt / boot\n mount/dev/sda2 /mnt/boot\n mkdir /mnt/boot/efi\n mount /dev/sda1 /mnt/boot/efi"},{"id":"text-98","heading":"Text","content":"Finish the installation according to the Installation guide and skip anything after the bootloader.  After you have generated your initramfs and set root passwd follow below to setup grub:"},{"id":"text-99","heading":"Text","content":"pacman -S grub efibootmgr\n mount -t efivarfs efivarfs /sys/firmware/efi/efivars\n grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub --recheck --debug\n grub-mkconfig -o /boot/efi/EFI/grub/grub.cfg\n cp /boot/efi/EFI/grub/grub.cfg /boot/grub/grub.cfg\n cp /boot/efi/EFI/grub/grubx64.efi /boot/efi/EFI/boot/bootx64.efi}}"},{"id":"text-100","heading":"Text","content":"Now you can exit/unmount/reboot:"},{"id":"text-101","heading":"Text","content":"sortie\n umount -R /mnt\n redémarrer"},{"id":"text-102","heading":"Text","content":"Stability problems\nRemarque:  Passing libata.force=1:noncq to the kernel parameters solves the problem.\nThis is the big worry for me. Every now and then my system hangs for a brief moment and everything involving net or disk access just hangs there for a while and then it seems to work.\nSo far it only seems to happen when I run something disk- or CPU-intensive. Also had an occassion when I could not start X and just got this repeating all over my screen:"},{"id":"text-103","heading":"Text","content":"ata1.00: failed command: WRITE FPDMA QUEUED\nata1.00: cmd 61/08:f0:10:8c:c2/00:00:0b:00:00/40 tag 30 ncq 4096 out\nres 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)\nata1.00: status: { DRDY }"},{"id":"text-104","heading":"Text","content":"On the next attempt it worked fine.\nI did SMART short and long tests on my disk and they returned fine:"},{"id":"text-105","heading":"Text","content":"smartctl -a"},{"id":"text-106","heading":"Text","content":"There are some messages in my boot that indicate this could be disk and/or ACPI related."},{"id":"text-107","heading":"Text","content":"These are with 2013-06 ISO, 3.9.7-1 2013 x86_64 kernel."},{"id":"text-108","heading":"Text","content":"journalctl -b\nSeems to only work with the headphone jack, not with the speakers."},{"id":"text-109","heading":"Text","content":"dmesg"},{"id":"text-110","heading":"Text","content":"Remarque:  Same problem in 2017 with a Macbook Air early 2014. Updating the firmware (via migration to macOS Sierra) solved the issue.\nMarvell ATA suspend bugs\nIf you have 2013 MacBook Air with a Marvell 128 or 256 GB drive, you might get the following ata errors instead after pm-suspend/resumes:"},{"id":"text-111","heading":"Text","content":"ata1: exception Emask 0x10 SAct 0x0 SErr 0x10000 action 0xe frozen\nata1: irq_stat 0x00400000, PHY RDY changed\nata1: SError: { PHYRdyChg }\nata1: hard resetting link\nata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)\nata1.00: unexpected _GTF length (8)\nata1.00: unexpected _GTF length (8)\nata1.00: configured for UDMA/33\nata1: EH complete"},{"id":"text-112","heading":"Text","content":"Try what Patrick and Tejun figured out on the linux bug. I followed what Patrick describes with sata_alpm, and I haven&#39;t seen the issue since."},{"id":"text-113","heading":"Text","content":"There are more steps on how to resolve this issue in this thread on the Arch forum"},{"id":"text-114","heading":"Text","content":"Suspend/Resume\nBrightness is either 0% or 100% after resuming from suspend.  Until the kernel is fixed, use patjak&#39;s fix by installing mba6x_bl-dkmsAUR. Patjak&#39;s github is at [7]."},{"id":"text-115","heading":"Text","content":"Wifi\nWiFi does not work out of the box. Installer broadcom-wl-dkms to connect to a network.  If booting from the official Arch Linux ISO, one needs to unload a few standard modules in order to use the included wl module.  Do so as follows:"},{"id":"text-116","heading":"Text","content":"# rmmod b43 ssb bcma wl"},{"id":"text-117","heading":"Text","content":"Now simply load the wl module:"},{"id":"text-118","heading":"Text","content":"# modprobe wl"},{"id":"text-119","heading":"Text","content":"This should automatically load the onboard wifi which can be seen by issuing: ip a. From here follow the WPA supplicant#Connecting with wpa_cli article to bring up the wireless network."},{"id":"text-120","heading":"Text","content":"Touchpad\nSince 3.10.3 kernel touchpad works perfectly with xf86-input-synaptics."},{"id":"text-121","heading":"Text","content":"l&#39;audio\nALSA may recognise the HDMI audio out as card 0 which will be the default card. Confirm this by checking the output of"},{"id":"text-122","heading":"Text","content":"aplay -l"},{"id":"text-123","heading":"Text","content":"If that is the case, you may need to create a /etc/asound.conf with below entries:"},{"id":"text-124","heading":"Text","content":"defaults.pcm.card 1\n defaults.ctl.card 1"},{"id":"text-125","heading":"Text","content":"to use the HDA Intel card, ie. the built-in speakers / headphones."},{"id":"text-126","heading":"Text","content":"Mid 2012 11.5&quot; — Version 5,1\nIf you have issues with waking from sleep while in X11 such as a black screen or showing the console with a frozen mouse cursor then remove xf86-input-synaptics et installer xf86-input-mtrack-gitAUR. This fixed errors such as"},{"id":"text-127","heading":"Text","content":"(EE) [dix] bcm5974: unable to find touch point 0"},{"id":"text-128","heading":"Text","content":"and backtraces that causes X11 to crash. This might apply to Version 5,2 assuming they use the same trackpad."},{"id":"text-129","heading":"Text","content":"Mid 2011 — version 4,x\nWorks out-of-the-box since kernel 3.2."},{"id":"text-130","heading":"Text","content":"Early 2008 — version 1,1\nEverything works out of the box though you will need the b43-fwcutter package (or simply b43-firmwareAUR) for the wireless adapter to work."},{"id":"text-131","heading":"Text","content":"Since this model has only one USB port, you may find it easiest to install Arch with a powered USB hub. Plug a USB network adapter (wireless or ethernet adapter to plug into a USB port) and your Arch installation media into the USB hub."},{"id":"text-132","heading":"Text","content":"If you can&#39;t get any result by scanning wireless network after boot, unload modules b43 et ssb and load them again:"},{"id":"text-133","heading":"Text","content":"rmmod ssb\n   rmmod b43\n   modprobe b43"},{"id":"text-134","heading":"Text","content":"There is a good chance you will find what&#39;s wrong with DMA from the dmesg log."},{"id":"text-135","heading":"Text","content":"Even if you can scan wireless networks after reloading the modules, it&#39;s still possible that you will only be able to connect to some networks, but not all of them. According to a more detailed discussion here: http://crunchbang.org/forums/viewtopic.php?id=17368, adding pio=1,qos=0 options to the b43 module can solve this problem."},{"id":"text-136","heading":"Text","content":"I tested this for a 13&#39; MacBookAir1,1 with a BCM4321 chipset, and it works."},{"id":"text-137","heading":"Text","content":"Voir également"}],"media":{"primary_image":""},"relations":[{"rel":"canonical","href":"https://ipom.fr/2019/06/08/mac-archwiki/"},{"rel":"alternate","href":"https://ipom.fr/2019/06/08/mac-archwiki/llm","type":"text/html"},{"rel":"alternate","href":"https://ipom.fr/2019/06/08/mac-archwiki/llm.json","type":"application/json"},{"rel":"llm-manifest","href":"https://ipom.fr/llm-endpoints-manifest.json","type":"application/json"}],"http_headers":{"X-LLM-Friendly":"1","X-LLM-Schema":"1.1.0","Content-Security-Policy":"default-src 'none'; img-src * data:; style-src 'unsafe-inline'"},"license":"CC BY-ND 4.0","attribution_required":true,"allow_cors":false}