To use a MacBook’s Atheros wireless chipset on Linux, you need to use Ndiswrapper with the provided Boot Camp drivers.
- Get the wi-fi driver at makel.org. The one you’re looking for is drivers/Atheros/AtherosXPInstaller.exe.
- Install ndiswrapper from apt.
- Install unrar from apt.
- Extract the drivers with “$ unrar x AtherosXPInstaller.exe“
- Install the drivers with “$ ndiswrapper -i net5416.inf“
- $ sudo modprobe ndiswrapper
- $ sudo echo >> /etc/modules “ndiswrapper”
- Delete the temporary files
- The wireless should start working immediately.
(not for public use)
Here’s my plan:
- Windows partition (NTFS), about 40 GB or more
- Mac partition (HFS+), about 20 GB or more
- Data partition (preferably FAT32), the rest of the drive
The data partition is for all the documents and music and stuff, so it can be shared by both operating systems. The reason for using FAT32 is that Mac can read, but not write to NTFS partitions (unless you install MacFUSE with the NTFS-3G driver, remount your drives, and remember to always dismount your drives before you shutdown).
Alternatively, if you don’t want three partitions:
- Windows partition (NTFS) the rest of the drive
- Mac partition, about 20 GB or more
This is for one drive. If you have another hard drive that you can wipe and dedicate to Mac, you can completely skip partitioning and save some work.
- First, boot to the Ubuntu disc. When it starts, go to System → Administration → Disk Partition tool (or run gparted from a console).
- Decide on your plan of action. What the computer probably has right now is one large NTFS partition. Choose one of the plans listed above, or create your own if you want to boot more operating systems. Remember that you can only create four “primary” partitions. If you need more, you would have to create a “logical” partition (which counts as one primary partition) that can be further divided into smaller partitions. It is recommended that you always put operating systems on primary partitions.
- Partition the drive.
- Shrink the NTFS partition to make room for the other partitions. You must have plenty of free space on your hard drive for this.
- Depending on your plan, create one or more new partitions to take up the freed space. However, GParted cannot create HFS+ partitions that Mac uses. So, for the Mac partition, just create a partition that’s the right size and format it as FAT32 or anything else. Don’t try creating an HFS partition.
- Commit your changes.
- Exit GParted.
- (Optional. I think you can do without, but this is how I did it.) Start cfdisk. Go to Programs → Accessories → Terminal and run “cfdisk.” If cfdisk is not installed, run “sudo apt-get install cfdisk.”
- Cfdisk is a text-based program. The left and right arrow keys choose the actions at the bottom, and the up and down keys choose the listed partitions. What you want to do is manually set the identifier for the partition you made for Mac to “AF.”
- Reboot into the Mac DVD.
- This is Kalyway’s Leopard install DVD for great justice.
- Before you follow the wizard, start Disk Utility. Reformat the partition you made for Mac into an HFS+ partition. Don’t touch anything else.
- Now you can follow the wizard. Make sure that on the last screen, you click the “Customize…” button. Choose only the drivers that you need. The most important one is NVInject for your video card, and the standard one should work. Only choose other drivers if they match your motherboard’s stuff. In the KOOLSTUFF list, I recommend downloading Adium and things like that after you install Leopard.
- When you boot your computer, it should now boot into the Darwin bootloader, which should let you choose which OS to boot to. Don’t ever use the partitioner in Windows again. It will change your boot so that it only boots to Windows. Making a backup of your MBR is not a bad idea.
- Download important things like Adium, VLC, and Firefox.
- In iTunes, if you’re sharing music, it might be a good idea to tell iTunes not to copy everything to your Music folder. Alternatively, you can get Songbird.
- If your video resolution is still bad (1024×768 or worse) and you can’t set it higher, that probably means you don’t have the right video drivers. This can be confirmed by looking in the System Profiler. Get the latest NVInject and install it.
- If you have no sound (e.g. music won’t play in iTunes), you might need the AppleHDA patcher and the corresponding Linux codec dump (there is a link to some on the AppleHDA patcher page).
- When stuck, look on the OSXProject Wiki’s Hardware Compatibility List for your motherboard.
- Buy a Mac.