{"id":7,"date":"2008-04-03T13:12:15","date_gmt":"2008-04-03T13:12:15","guid":{"rendered":"https:\/\/mihosoft.eu\/?p=7"},"modified":"2013-02-07T22:57:03","modified_gmt":"2013-02-07T21:57:03","slug":"opensuse-10-3-on-macbook-santa-rosa-2","status":"publish","type":"post","link":"https:\/\/mihosoft.eu\/?p=7","title":{"rendered":"openSUSE 10.3 on Macbook (Santa Rosa)"},"content":{"rendered":"<p>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 <strong>ndiswrapper<\/strong>. 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.<\/p>\n\n<p>&nbsp;\n<h2>Installing necessary development tools (copied from: <a href=\"http:\/\/en.opensuse.org\/Configure,_Build_and_Install_a_Custom_Linux_Kernel\">here<\/a>)<\/h2>\nOpen <strong>YaST<\/strong> and go to <strong>Software Management<\/strong>:<\/p>\n\n<p><img decoding=\"async\" title=\"yast-01\" src=\"images\/stories\/images\/howtos\/opensuse_on_macbook\/yast-01.png\" alt=\"yast-01\" \/><\/p>\n\n<p>&nbsp;<\/p>\n\n<p>Now select &#8220;Patterns&#8221; from the &#8220;Filter&#8221; drop-down selector (top left).<\/p>\n\n<p><img decoding=\"async\" title=\"yast-02\" src=\"images\/stories\/images\/howtos\/opensuse_on_macbook\/yast-02.png\" alt=\"yast-02\" \/><\/p>\n\n<p>&nbsp;<\/p>\n\n<p>Make sure you have checked ALL of these:\n<div style=\"margin-left: 20px;\">\n<ul>\n    <li>Base Development<\/li>\n    <li>KDE Development<\/li>\n    <li>C\/C++ Development<\/li>\n    <li>Linux Kernel Development<\/li>\n<\/ul>\n<\/div>\nAlso locate and install the main Xorg\/X11 Development packages such as xorg-x11-devel.<\/p>\n\n<p>&nbsp;\n<h2>Downloading kernel and some additional dependencies<\/h2>\nOpen a terminal, create an &#8220;installs&#8221; directory and download kernel-2.6.24 and some dependencies:\n<div class=\"code\">\n<pre class=\"codepane\">mkdir -p installs\/custom<em>kernel\ncd installs\/custom<\/em>kernel\nwget http:\/\/www.kernel.org\/pub\/linux\/kernel\/v2.6\/linux-2.6.24.tar.bz2\nwget https:\/\/mihosoft.eu\/Media\/files\/howtos\/opensuse<em>on<\/em>macbook\/kernel<em>2.6.24<\/em>deps.tar.bz2<\/pre>\n<\/div>\n&nbsp;<\/p>\n\n<p>After downloading the kernel and the dependency archive you have to extract them by typing:\n<div class=\"code\">\n<pre class=\"codepane\">tar xvjf *.bz2\nmv linux-2.6.24 kernel_2.6.24_deps\/<\/pre>\n<\/div>\n<h3><\/h3>\n<h2>Patching the kernel and installing dependencies<\/h2>\nNow it is time to install the rpm packages:\n<div class=\"code\">\n<pre class=\"codepane\">cd kernel_2.6.24_deps\nsudo rpm -Uhv *.rpm<\/pre>\n<\/div>\n&nbsp;<\/p>\n\n<p>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:\n<div class=\"code\">\n<pre class=\"codepane\">cp bootsplash-3.1.6-2.6.21.diff linux-2.6.24\nsu\ncp -r linux-2.6.24 \/usr\/src\ncd \/usr\/src\nrm linux\nln -s \/usr\/src\/linux-2.6.24 linux\ncd linux\npatch -p1 &lt; bootsplash-3.1.6-2.6.21.diff\nexit\ncd mactel-patches-2.6.24\nsudo .\/apply \/usr\/src\/linux<\/pre>\n<\/div>\n&nbsp;<\/p>\n\n<p>Now you have a fully patched kernel! The only thing that&#8217;s left is to actually build the kernel.<\/p>\n\n<p>&nbsp;\n<h2>Building and installing the kernel<\/h2>\nWe start by copying a customized config file. You don&#8217;t have to do any manual configuration!\n<div class=\"code\">\n<pre class=\"codepane\">sudo cp config \/usr\/src\/linux\/.config<\/pre>\n<\/div>\n&nbsp;<\/p>\n\n<p>After that the annoying part is over and it&#8217;s getting a bit more exciting:) Now we start compiling and installing the kernel. Be aware that this may take some time (several minutes):\n<div class=\"code\">\n<pre class=\"codepane\">su\ncd \/usr\/src\/linux\nmake &amp;&amp; make modules<em>install &amp;&amp; make<\/em>install<\/pre>\n<\/div>\n&nbsp;<\/p>\n\n<p>It&#8217;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:<\/p>\n\n<p><img decoding=\"async\" src=\"images\/stories\/images\/howtos\/opensuse_on_macbook\/103bootsplash.png\" alt=\"alt\" \/><\/p>\n\n<p>&nbsp;<\/p>\n\n<p>You should have full hardware support now!<\/p>\n\n<p>Have fun!<\/p>\n\n<p>[comments disabled due to technical difficulties]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8230;<\/p>","protected":false},"author":1,"featured_media":64,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[13,4],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/mihosoft.eu\/wp-content\/uploads\/2008\/04\/linux_mac.png","jetpack_shortlink":"https:\/\/wp.me\/p2P2yR-7","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/posts\/7"}],"collection":[{"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7"}],"version-history":[{"count":6,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/posts\/7\/revisions"}],"predecessor-version":[{"id":427,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/posts\/7\/revisions\/427"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/media\/64"}],"wp:attachment":[{"href":"https:\/\/mihosoft.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}