Difference between revisions of "Talk:Mac"

From ArchWiki
Jump to: navigation, search
m (hardware table & works table: new section)
(MacBook Pro 14,3 2018: new section)
 
(74 intermediate revisions by 28 users not shown)
Line 1: Line 1:
== Major Edit ==
+
== Personal feedback ==
Hi all, I'm working on a major edit for this page. It seems to me that a lot of this article can be condensed and made a little more clear, so I'm taking a go at it. I have already changed a few sections. It will probably take me a couple days to finish everything, so let me know what you think as time progresses.
+
Hi. I've spent a lot of time to install Arch on a Macbook 1.1, and I've fixed several issues that can be of real interest for other people...
  
--[[User:Arcanazar|Arcanazar]] 20:37, 16 July 2009 (EDT)
+
First, my hard drive was brand new, and I wanted a pure EFI boot. Moreover, my CDROM drive is dead, so I had to boot Arch install from a live USB. To do so, I've used a rEFIt usbkey. Then, after the standard Arch install, I've made a HFS+ partition for the *.efi grub2 have generated. Finally, I've bless-ed those files with OsX from another computer, so that my new install can boot without rEFIt.
  
I'm helping you
+
My second issue was the keyboard mapping. I was forced to make a new console keymap from scratch to get all my keys working "apple-style". Not a big deal. For xorg, it was a bit more difficult. I've specified a "macbook79" keyboard in evdev xorg config file, and I've added the following lines at the end of /usr/share/X11/xkb/keycodes/evdev :
  
After this i test it .....
+
xkb_keycodes "macbook79" {
 +
    include "evdev(evdev)"
 +
    <RALT> = 64;
 +
    <LALT> = 133;
 +
};
  
and fix, add, cancel bugged parts
+
And the new following rule to /usr/share/X11/xkb/rules/evdev (just after line 118) :
 +
macbook79    =      evdev(macbook79)
  
--[[User:NTia89|nTia89]] 13:21, 17 July 2009 (EDT)
+
This allows to have key combinations such as ALT+5 working, leading to a "{" symbol... without using dirty Xmodmap tricks. Since Mod1 (LALT) is used a lot, I've decided to map it to the left Option key, but you can choose another key.
  
=== Partition Section ===
+
== Question about primary partitions ==
This section is a mess. I think that we should just find the fastest way to partition the hard drive, with a preference to tools on the Arch Linux install disk (as long as the work). Having multiple ways of creating the partitions seems confusing. I recommend using <tt>parted</tt> as it is part of Arch and can handle GPT format hard drives. --[[User:Arcanazar|Arcanazar]] 13:36, 17 July 2009 (EDT)
 
  
== RE ==
+
It's said in the article that only 4 primary partitions are authorized, including the efi's one. But isn't that only true for MBR partition tables?
 +
The macbook pro uses GPT partition tables and thus can have as many primary partition as it supports partitions no? {{Unsigned| 22:50, 3 November 2011‎|Geoffroy}}
  
yes i think
+
== EFI bootloader ==
i think also that we can completely delete triple boot section and even the dual boot section redirecting users who wants dual boot to another guide like Ubuntu
 
i think this because Archlinux users are experience users and precisely for this we can write a short partition section
 
  
--[[User:NTia89|nTia89]] 15:00, 17 July 2009 (EDT)
+
i think we should update bootloader section with latest selection of bootloaders
  
on the dual boot section ew can only write what they must do but NOT how
+
see the link for more info: [http://www.phoronix.com/scan.php?page=news_item&px=MTEzODY]
example
+
forum thread: [https://bbs.archlinux.org/viewtopic.php?pid=1130080#p1130080]
# install refit
 
# partition disk with .....
 
# install arch | and when you install grub select to install in the /boot NOT in /dev/sda
 
  
== wiFi section ==
+
--[[User:NTia89|nTia89]] ([[User talk:NTia89|talk]]) 15:14, 15 July 2012 (UTC)
  
needs to be reworked
+
:I'm updating the Boot section of the Macbook 11,x page. Perhaps we can merge some of that onto here when I'm done. [[User:Trusktr|Trusktr]] ([[User talk:Trusktr|talk]]) 20:40, 2 July 2014 (UTC)
  
--[[User:NTia89|nTia89]] 16:49, 17 July 2009 (EDT)
+
== Linking to common articles ==
  
What is wrong with the Wifi section? I have a first-gen MacBook and wireless works out of the box for me.
+
I've added refereces to the common articles for some things like power management and suspending.
--[[User:Arcanazar|Arcanazar]] 16:54, 17 July 2009 (EDT)
 
  
nothing is wrong, only needs a reorganization
+
While there are a few small details to consider on macbooks, we were duplicating huge amounts of information from those articles, without keeping them up to date. I deleted the out-of-date information, and linked the relevant articles. Please only add information here if it '''only''' applies to macbooks. Otherwise, use the general article.
  
NOW is OK
+
This all make this article shorter, and only include the really relevant information. Plus, we don't need to keep other stuff up-to-date here.
  
--[[User:NTia89|nTia89]] 06:33, 18 July 2009 (EDT)
+
Let me know if you have any comments on these changes.
 +
[[User:Hobarrera|Hobarrera]] ([[User talk:Hobarrera|talk]]) 10:47, 5 July 2014 (UTC)
  
== new macbook note ==
+
== Duplication with Beginners' guide ==
  
needs to be putted in begin of the page , first of all
+
:Moved from [[Beginners' guide]]. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 05:50, 20 February 2015 (UTC)
  
--[[User:NTia89|nTia89]] 16:49, 17 July 2009 (EDT)
+
Just wanted to lend my first time experience. I personally was installing on a macbook air, so perhaps this might be better suited for that discussion page. However, I can honestly say that most of it can be merged together with this page. I barely (and I mean barely.) deviated from the usual archboot install for a mac. And I did it three times to make sure it was do-able.
  
Why don't we move this page to one called "Apple" or something similar. It doesn't matter whether you're installing on a MacBook/Pro, Mac Mini, etc. except for drivers, which are easily listed on one page. At the very least, the new MacBook page should be merged with this one. We shouldn't have to make a new page each time a new model comes out.
+
Considering the archboot is basically the live usb wrapped in a gui (I believe?) it probably means that the two would've been quite similar for installing on a mba, and thus for macs in general. (The issues of xorg, wifi, etc, are real problems for macbooks, but I meant the general install should not require two wiki pages) [[User:Victoroux|Victoroux]] ([[User talk:Victoroux|talk]]) 14:01, 7 June 2013 (UTC)
  
--[[User:Arcanazar|Arcanazar]] 16:54, 17 July 2009 (EDT)
+
== Recommended touchpad driver ==
  
IMHO we don't need it. first we must  do very well, that all works for macbook.
+
The touchpad section explains that the driver xf86-input-multitouch-git adds functionality and that, oh by the way, there is xf86-input-mtrack-git which adds configuration capabilities. In reality most people seem to be using input-mtrack. Also input-multitouch doesn't seem to be maintained while input-mtrack received recent updates.
For me a Apple page OK but that contain less things
 
  
--[[User:NTia89|nTia89]] 07:00, 26 July 2009 (EDT)
+
I propose to instruct the installation input-mtrack and mention input-multitouch in passing only or removing mention to it altogether.
 +
[[User:Tburette|Tburette]] ([[User talk:Tburette|talk]]) 09:28, 10 June 2015 (UTC)
  
I'd like some new wiki for the 2009 MBP 5.5, but don't know where to start. On these pages? I agree we don't need a new wiki for every model coming out. As far as the "Apple" page, I don't have an opinion.
+
== Macbook Pro 2015 models ==
  
--[[User:Jryarch|Jryarch]] 19:11, 22 August 2009 (EDT)
+
The 15" MBP from 2015 is actually the Macbook Pro 11,4, and was released in mid 2015, as opposed to the 13" MBP, which is the Macbook Pro 12,1 and was released in early 2015. Does anyone know if the 15" MBP is more similar to the MBP 12,1 or the 11,x models? [[User:Vijfhoek|Vijfhoek]] ([[User talk:Vijfhoek|talk]])
  
== Doesn't work !!! ==
+
: I think the 11,4 (and 11,5) are pretty similar to the 12,1. If it helps, I am trying to keep an updated list of issues and fixes at https://teamsammut.com/blog/2015/09/apple-macbook-pro-linux-issue-tracking.html. There are fixes for the video brightness, bluetooth and 5Ghz wireless there, for example. [[User:tsammut|tsammut]]
  
home sharing and sound doesn't works for me !!!
+
== Macbook Pro 4,1 (Early 2008) ==
  
--[[User:NTia89|nTia89]] 16:48, 17 July 2009 (EDT)
+
In case anyone tries to install arch on a Macbook Pro 4,1:
  
I'll try home sharing later. I know that the old instructions for configuring ALSA worked for me.
+
*I couldn't boot from the live CD so I used a Fedora Live CD and installed manually from there.
 +
*To get a live USB to boot, create a GPT partition table on it, not MBR.
 +
*Refind will help a lot. Super Grub Disk also if you want to BIOS boot.
 +
*Mount the EFI partition(usually /dev/sda1) to /boot.
 +
*Nvidia won't work in EFI mode. In BIOS mode nvidia-340xx will do the trick.
 +
*If nouveau is giving you trouble when loading try using a vbios file. Boot in BIOS mode and use [http://cgit.freedesktop.org/~stuart/vbtracetool/ vbtracetool] to dump it to /lib/firmware. Then load it by adding to the kernel command line the following and booting in EFI mode: <code>nouveau.config=NvBios=vbios.rom</code>
 +
*Nouveau and X11 wouldn't work until I modified xorg.conf and added the following (change the busID to match yours-get it from lspci):
 +
<pre>
 +
Section "Device"
 +
    Identifier "n"
 +
    Driver "nouveau"
 +
    BusID "PCI:1:0:0"
 +
EndSection
 +
</pre>
  
--[[User:Arcanazar|Arcanazar]] 16:54, 17 July 2009 (EDT)
+
For BIOS booting:
 +
*Use syslinux as a BIOS bootloader.
 +
*Use gdisk to create a hybrid partition scheme(both MBR and GPT). Add the EFI partition and your linux partition.
  
I just checked the ALSA page, and those were the only instructions that I had to use to set up sound. It worked just fine for me. What generation is your MacBook?
+
[[User:Koassim|Koassim]] ([[User talk:Koassim|talk]]) 22:24, 16 May 2016 (UTC)
  
--[[User:Arcanazar|Arcanazar]] 17:03, 17 July 2009 (EDT)
+
== Updated bootloader section ==
 +
Hi everyone.
 +
Just to inform that I updated to bootloader installation part in order to include a method that does not require external software such as rEFInd and is perfectly compatible with single/dual/triple boot configurations, as it uses the native Apple bootloader to load GRUB inside an HFS+ boot partition.
  
i've a 2,1 macbook white
+
The section was written after re-elaborating the content from [https://glandium.org/blog/?p=2830 this source], with some minor addition regarding the setting of the partition type as {{ic|af00}}.
 +
I tried on two different macbook models and it works nicely.
  
--[[User:NTia89|nTia89]] 06:34, 18 July 2009 (EDT)
+
[[User:Jujstme|Jujstme]] ([[User talk:Jujstme|talk]]) 04:17, 20 Aug 2016 (UTC)
  
The iSight installation wouldn't work for me. I had to do it manually. It's easy:
+
== MacBook Pro 14,3 2018 ==
sudo ift-extract -a /media/MacOSX//System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBVideoSupport.kext/Contents/MacOS/AppleUSBVideoSupport
 
  
--[[User:Apol|Apol]] 20:58, 25 July 2009 (EDT)
+
[https://wiki.archlinux.org/index.php/User:AskApache/MacBookPro14,x MacBookPro14,3 Draft]
 +
- Got Arch installed as the primary OS dual-boot (OS-X) on a brand new 2018 MacBook Pro 14,3 model.  Latest arch iso was broken so had to use an older archboot image to boot via usb drive with usb keyboard, then install basic system to disk, then upgrade in ramdisk to latest arch, install systemd-boot to efi, finally got it installed after 4 hrs.
  
thanks Apol
+
Still a ton of work to be done for it to feel like a real Arch machine and look/act the part. Working on the draft now, please feel free to let me know of any tips or tricks or anything else to help it along. Once done and tested will add to this main Mac article which is a bit outdated.
then edit it please
 
  
--[[User:NTia89|nTia89]] 07:00, 26 July 2009 (EDT)
+
--[[User:AskApache|AskApache]] ([[User talk:AskApache|talk]]) 07:32, 9 March 2018 (UTC)
 
 
== Quirks/tweaks ==
 
 
 
After (finally) getting my new MacBook Pro (5,3) to dual-boot OSX and Arch, I thought I'd share my findings.  I added the reboot quirk and module tweaks to the [[MacBook#Installation|Installation]] section, and I moved the note about using rEFIt to fix the partition table up in the article.
 
 
 
My experience with rEFIt was that if I adjusted the table after installing GRUB (i.e. after finishing the Arch install process), the Mac wouldn't correcly recognize the boot partition, and I'd get an "Operating system not found" or similar error.  If I reinstalled GRUB on the partition, it would then work.  However, when I used rEFIt between partitioning and installing, everything worked on the first go.
 
 
 
As for the modules, I was attempting to use [[LUKS]] for disk encryption, but when I got to the password prompt, the computer appeared to freeze.  I discovered this was actually just because it wasn't accepting keyboard input, and I narrowed down which modules needed to be present for it to work.  Since I rebooted a ''lot'' during this process, I found it nice when I could get the reboot command to work properly too.
 
 
 
{{Note|I don't know if adjusting MODULES is the "right" solution, or if there's a bug with the udev hook that needs to be filed.  If someone more acquainted with mkinitcpio lore could fill me in, I'd appreciate it!}}
 
 
 
--[[User:DJPohly|DJPohly]] 17:01, 8 August 2009 (EDT)
 
 
 
: Looks like my intuition about "there must be a better way" was right.  Changed the article to use the <code>usbinput</code> hook rather than the extra modules.  --[[User:DJPohly|DJPohly]] 18:31, 9 August 2009 (EDT)
 
 
 
== hardware table & works table ==
 
 
 
add a hardware table & works table like in some Acer archwiki page
 
 
 
--[[User:NTia89|nTia89]] 11:09, 14 September 2009 (EDT)
 

Latest revision as of 07:32, 9 March 2018

Personal feedback

Hi. I've spent a lot of time to install Arch on a Macbook 1.1, and I've fixed several issues that can be of real interest for other people...

First, my hard drive was brand new, and I wanted a pure EFI boot. Moreover, my CDROM drive is dead, so I had to boot Arch install from a live USB. To do so, I've used a rEFIt usbkey. Then, after the standard Arch install, I've made a HFS+ partition for the *.efi grub2 have generated. Finally, I've bless-ed those files with OsX from another computer, so that my new install can boot without rEFIt.

My second issue was the keyboard mapping. I was forced to make a new console keymap from scratch to get all my keys working "apple-style". Not a big deal. For xorg, it was a bit more difficult. I've specified a "macbook79" keyboard in evdev xorg config file, and I've added the following lines at the end of /usr/share/X11/xkb/keycodes/evdev :

xkb_keycodes "macbook79" {
    include "evdev(evdev)"
    <RALT> = 64;
    <LALT> = 133;
};

And the new following rule to /usr/share/X11/xkb/rules/evdev (just after line 118) :

macbook79     =       evdev(macbook79)

This allows to have key combinations such as ALT+5 working, leading to a "{" symbol... without using dirty Xmodmap tricks. Since Mod1 (LALT) is used a lot, I've decided to map it to the left Option key, but you can choose another key.

Question about primary partitions

It's said in the article that only 4 primary partitions are authorized, including the efi's one. But isn't that only true for MBR partition tables? The macbook pro uses GPT partition tables and thus can have as many primary partition as it supports partitions no? —This unsigned comment is by Geoffroy (talk) 22:50, 3 November 2011‎. Please sign your posts with ~~~~!

EFI bootloader

i think we should update bootloader section with latest selection of bootloaders

see the link for more info: [1] forum thread: [2]

--nTia89 (talk) 15:14, 15 July 2012 (UTC)

I'm updating the Boot section of the Macbook 11,x page. Perhaps we can merge some of that onto here when I'm done. Trusktr (talk) 20:40, 2 July 2014 (UTC)

Linking to common articles

I've added refereces to the common articles for some things like power management and suspending.

While there are a few small details to consider on macbooks, we were duplicating huge amounts of information from those articles, without keeping them up to date. I deleted the out-of-date information, and linked the relevant articles. Please only add information here if it only applies to macbooks. Otherwise, use the general article.

This all make this article shorter, and only include the really relevant information. Plus, we don't need to keep other stuff up-to-date here.

Let me know if you have any comments on these changes. Hobarrera (talk) 10:47, 5 July 2014 (UTC)

Duplication with Beginners' guide

Moved from Beginners' guide. -- Alad (talk) 05:50, 20 February 2015 (UTC)

Just wanted to lend my first time experience. I personally was installing on a macbook air, so perhaps this might be better suited for that discussion page. However, I can honestly say that most of it can be merged together with this page. I barely (and I mean barely.) deviated from the usual archboot install for a mac. And I did it three times to make sure it was do-able.

Considering the archboot is basically the live usb wrapped in a gui (I believe?) it probably means that the two would've been quite similar for installing on a mba, and thus for macs in general. (The issues of xorg, wifi, etc, are real problems for macbooks, but I meant the general install should not require two wiki pages) Victoroux (talk) 14:01, 7 June 2013 (UTC)

Recommended touchpad driver

The touchpad section explains that the driver xf86-input-multitouch-git adds functionality and that, oh by the way, there is xf86-input-mtrack-git which adds configuration capabilities. In reality most people seem to be using input-mtrack. Also input-multitouch doesn't seem to be maintained while input-mtrack received recent updates.

I propose to instruct the installation input-mtrack and mention input-multitouch in passing only or removing mention to it altogether. Tburette (talk) 09:28, 10 June 2015 (UTC)

Macbook Pro 2015 models

The 15" MBP from 2015 is actually the Macbook Pro 11,4, and was released in mid 2015, as opposed to the 13" MBP, which is the Macbook Pro 12,1 and was released in early 2015. Does anyone know if the 15" MBP is more similar to the MBP 12,1 or the 11,x models? Vijfhoek (talk)

I think the 11,4 (and 11,5) are pretty similar to the 12,1. If it helps, I am trying to keep an updated list of issues and fixes at https://teamsammut.com/blog/2015/09/apple-macbook-pro-linux-issue-tracking.html. There are fixes for the video brightness, bluetooth and 5Ghz wireless there, for example. tsammut

Macbook Pro 4,1 (Early 2008)

In case anyone tries to install arch on a Macbook Pro 4,1:

  • I couldn't boot from the live CD so I used a Fedora Live CD and installed manually from there.
  • To get a live USB to boot, create a GPT partition table on it, not MBR.
  • Refind will help a lot. Super Grub Disk also if you want to BIOS boot.
  • Mount the EFI partition(usually /dev/sda1) to /boot.
  • Nvidia won't work in EFI mode. In BIOS mode nvidia-340xx will do the trick.
  • If nouveau is giving you trouble when loading try using a vbios file. Boot in BIOS mode and use vbtracetool to dump it to /lib/firmware. Then load it by adding to the kernel command line the following and booting in EFI mode: nouveau.config=NvBios=vbios.rom
  • Nouveau and X11 wouldn't work until I modified xorg.conf and added the following (change the busID to match yours-get it from lspci):
Section "Device"
    Identifier "n"
    Driver "nouveau"
    BusID "PCI:1:0:0"
EndSection

For BIOS booting:

  • Use syslinux as a BIOS bootloader.
  • Use gdisk to create a hybrid partition scheme(both MBR and GPT). Add the EFI partition and your linux partition.

Koassim (talk) 22:24, 16 May 2016 (UTC)

Updated bootloader section

Hi everyone. Just to inform that I updated to bootloader installation part in order to include a method that does not require external software such as rEFInd and is perfectly compatible with single/dual/triple boot configurations, as it uses the native Apple bootloader to load GRUB inside an HFS+ boot partition.

The section was written after re-elaborating the content from this source, with some minor addition regarding the setting of the partition type as af00. I tried on two different macbook models and it works nicely.

Jujstme (talk) 04:17, 20 Aug 2016 (UTC)

MacBook Pro 14,3 2018

MacBookPro14,3 Draft - Got Arch installed as the primary OS dual-boot (OS-X) on a brand new 2018 MacBook Pro 14,3 model. Latest arch iso was broken so had to use an older archboot image to boot via usb drive with usb keyboard, then install basic system to disk, then upgrade in ramdisk to latest arch, install systemd-boot to efi, finally got it installed after 4 hrs.

Still a ton of work to be done for it to feel like a real Arch machine and look/act the part. Working on the draft now, please feel free to let me know of any tips or tricks or anything else to help it along. Once done and tested will add to this main Mac article which is a bit outdated.

--AskApache (talk) 07:32, 9 March 2018 (UTC)