Home Howtos Linux on Apple Hardware openSUSE 10.3 on Macbook (Santa Rosa)
openSUSE 10.3 on Macbook (Santa Rosa) Print E-mail
Written by Michael Hoffer   
Thursday, 03 April 2008 13:12

In this Article I will describe the difficulties you might have with installing openSUSE 10.3 on the new MacBook (Santa Rosa, bought on March, 2008) and guide you through the process of compiling a custom kernel that will support all the hardware. For wifi you need ndiswrapper. Installing openSUSE works fine. But there are some issues with the default kernel, i.e. sound does not work. Therefore it is necessary to install a new kernel.


Installing necessary development tools (copied from: here)

Open YaST and go to Software Management:

yast-01


Now select "Patterns" from the "Filter" drop-down selector (top left).

yast-02


Make sure you have checked ALL of these:

  • Base Development
  • KDE Development
  • C/C++ Development
  • Linux Kernel Development

Also locate and install the main Xorg/X11 Development packages such as xorg-x11-devel.


Downloading kernel and some additional dependencies

Open a terminal, create an "installs" directory and download kernel-2.6.24 and some dependencies:

mkdir -p installs/custom_kernel
cd installs/custom_kernel
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2
wget http://mihosoft-legacy-pre-2012.mihosoft.eu/Media/files/howtos/opensuse_on_macbook/kernel_2.6.24_deps.tar.bz2


After downloading the kernel and the dependency archive you have to extract them by typing:

tar xvjf *.bz2
mv linux-2.6.24 kernel_2.6.24_deps/

Patching the kernel and installing dependencies

Now it is time to install the rpm packages:

cd kernel_2.6.24_deps
sudo rpm -Uhv *.rpm


If everything went well you can proceed with patching the kernel. We will first copy the bootsplash patch into the kernel directory and then copy the kernel to /usr/src and then start with the mactel patches:

cp bootsplash-3.1.6-2.6.21.diff linux-2.6.24
su
cp -r linux-2.6.24 /usr/src
cd /usr/src
rm linux
ln -s /usr/src/linux-2.6.24 linux
cd linux
patch -p1 < bootsplash-3.1.6-2.6.21.diff
exit
cd mactel-patches-2.6.24
sudo ./apply /usr/src/linux


Now you have a fully patched kernel! The only thing that's left is to actually build the kernel.


Building and installing the kernel

We start by copying a customized config file. You don't have to do any manual configuration!

sudo cp config /usr/src/linux/.config


After that the annoying part is over and it's getting a bit more exciting:) Now we start compiling and installing the kernel. Be aware that this may take some time (several minutes):

su
cd /usr/src/linux
make && make modules_install && make_install


It's over! The kernel has been created and installed. Usually even the boot menu entries have been created (but better check that). So everything you have to do is to reboot:

alt


You should have full hardware support now!

Have fun!

[comments disabled due to technical difficulties]

Last Updated on Sunday, 04 July 2010 13:38
 

Add comment

Security code
Refresh