Macbook 13″ and Slackware 13 dual boot

Important: the procedure can destroy all your system’s data if you don’t pay attention. First of all create a full backup. Time machine could be a good choice.

There are plenty of HOW-TOs to help in making a Macbook dual bootable with pictures and screenshot how to use disk utility and bootcamp so please refer to those documents, I’ll give a short overview and focus the attention on the installation process.
This covers the Slackware 13 but it’s applicable to any otherĀ  distro I guess.

Initial condition:

  • Macbook white, 2007 series with standard Leopard installation and some free space on the disk;
  • Slackware 13 installation disks (are sufficient the first and second CD or the DVD).

Reserve space for Slackware

The first step is to create a bootcamp partition. The process is quite simple and straightforward with the above mentioned bootcamp.

GNU/Linux Slackware installation

It’s time to play. Insert the first Slack CD and boot the Mac holding the “Command” key (left Alt) to start from the CD and begin a normal installation.

Partitioning disk

Use fdisk or cfdisk to partition the disk (I’m an fdisk’s fan since old time)

# fdisk /dev/sda

The “b” type labeled W95 FAT32 partition should be shown. It’s bootcamp.

Delete it and create the “Swap partition” and the “Linux root” partition (simplest way), save, and start the normal setup.

Be careful with the disk partitioning tool to not delete OS X!

After the packages are installed, it’s time to set a minimum configuration.

Follow some settings that worked for me:

Console framebuffer: 1024×768 256 colors

Lilo installed in the MBR

Slackware logo: yes, of course!

Reboot

After the reboot I was surprised by the impossibility to hold down “Command” and choose the OS I’d like to boot.

Now it’s time to install rEFIt

Reboot again and… surprise surprise, you don’t se rEFIt menu’. Shutdown the Mac and boot again.

Now rEFIt boot menu’ should show up, choose Linux and hopefully it boots. My way was a bit harder and got the message: “no bootable disk”.

After some additional shutdown and boot up, it started working.

Running Slackware 13 on Macbook

Ethernet and WiFi cards seem to work perfectly just after the first boot.

The keyboard has few problem:

  • Function keys need to press fn;
  • Scrolling up and down is possible with the combination of fn + shift + up/down arrow

Other devices to be checked:
– graphic card
– cd/dvd
– iSight cam
– soundcard
– mouse pad

The rest works quite fine.