Posts Tagged ‘Kubuntu’

How to triple-boot a MacBook Pro

Monday, March 28th, 2011

I received My First Macbook Pro (TM) a couple of weeks ago. In fact, this is my first Apple product, ever. Yes I know, shock horror. Or not such a shock if you know my taste in technology. But I digress; the better half decided to upgrade to the latest MacBook Pro and now I have inherited his previous baby.

However much I appreciate the smooth lines and the unibody aluminium chassis, the Snow Leopard operating system leaves a lot to be desired. Mainly my inability to play all the games I partake in and I prefer Linux.


Enter, my triple-boot operating system configuration: OSX Snow Leopard, Windows 7 x64 and Kubuntu 10.10 Maverick Meerkat. In a way, this is Inception for operating systems with 3 layers.

OSX Boot Camp for Windows 7

First we will dual-boot our MacBook with Windows 7, using a utility called Boot Camp. Most people will be familiar with this, so I will not go into much detail. It is a very easy tool to use; click through all the options, decide how big you want your partition to be and install with the Windows 7 disc. There is a known bug, that you may be prompted to download Windows Support software and then failing to do so. You can ignore this and continue, all the software you need is on the Snow Leopard CD.

I chose a partition size of about 170GB; Windows will have the biggest partition size out of the three as I will be installing games which takes up considerable space. When partitioning, Boot Camp will take a slice from your OSX partition to give to Windows. Bear this in mind, as you will need to leave some space for the Kubuntu slice.

Once the install is complete, you will be able to boot into Windows 7. During the bootup chime, press and hold the Option key to give you the option to boot into Windows. Once Windows 7 loads, insert the Snow Leopard CD and run the Boot Camp software installer. This will install all the drivers you need for things such as the sound card and hardware buttons (volume control etc.). You may also want to go to the NVidia website to download the latest graphics card drivers. You have now successfully completed your dual-boot installation.

Kubuntu 10.10, Maverick Meerkat. Triple-boot and GRUB loader

This part is slightly more tricky. You cannot use Boot Camp to do this, as it has already been used for your Windows 7 install and it does not support other operating systems to boot with. So, we shall do a little preparation.

First, you will need to prepare a partition size for Kubuntu. Boot back into OSX to prepare your partition and load up Terminal to use diskutil. To find the disk identifier for your OSX partition, type:

diskutil list

This will give you a list of all the partitions you have. Once done you need to use the following syntax command to resize your OSX partition to give to Kubuntu:

sudo diskutil resizeVolume [disk identifier] [disk size] [partition type] ["Partition label"] [partition size] [partition type] ["Partition label"] [partition size]

So an example of how I did it would be: sudo diskutil resizeVolume disk0s2 12G “MS-DOS FAT32″ “Kubuntu Linux”

You may wonder why I have chosen FAT32 as my partition type; it doesn’t matter what it is. In the guide here, under “Boot Camp & Partitioning”, it indicates “Linux” as a partition type. I could not get this to work so I used FAT32 instead. When you install Kubuntu, it formats it to EXT3 to give it the correct partition type. I gave Kubuntu 12GB which is plenty for the operating system and the swap partition.

Now you are ready to install Kubuntu. I am using the latest release, version 10.10 Maverick Meerkat. I prefer KDE instead of Gnome, so I am using Kubuntu in this instance. You can, of course, use Ubuntu if you prefer or any other Linux distribution of your choice. Boot off the Maverick CD and go through the installation, taking care to set your own partition preferences and choosing the partition you just created to install the OS. If you decide you want a swap partition, you can take a small chunk from that during setup.

Once installed, the GRUB boot loader will setup everything for you for multiple operating system boot choices. A thing to note, is that initially the GRUB loader will not properly boot into OSX at the time of writing. I believe extra additional packages need to be installed for this to work, however I did not worry too much as I can still use the Option key to choose OSX at start up.

Now you have successfully completed your triple-boot system!

Additional support for MacBook Pro functionality in Kubuntu

For full functionality, you will want all the hardware to work. It is fairly straight forward, as there are instructions on how to get the hardware buttons to work and the backlit keyboard.

To summarise, you will need the Mactel PPA support tools:

sudo add-apt-repository ppa:mactel-support && sudo apt-get update

And pommed:

sudo apt-get install nvidia-bl-dkms pommed

And that is pretty much it, I now have Mac OSX to boot into if required, Windows 7 for gaming and Kubuntu which I use for productivity tasks. I actually use Kubuntu the most, and it is very pretty. If you want to know how to enable the Desktop Cube in Kubuntu for said pretty, head on over to Girlygeekdom where I will explain more!

Desktop Cube. Oh Kubuntu, I love you so much <3

KDE 4.2 released

Thursday, January 29th, 2009

My Kuby box should be downloading this via Adept as I type this, so I should be able to try it when I get home tonight. More information on this update can be found on the Kubuntu site.

In Adept (or Synaptic if you use that), you need to update your list of repositories and add the following for third party for your Intrepid install:

deb http://ppa.launchpad.net/kubuntu-experimental/ubuntu intrepid main

I am hoping all the bugs are ironed out, with a more intuitive interface thrown in. And perhaps more eye candy for us. More to follow as I put it through it’s paces.

Kubuntu – Do you want some cheese with that WINE?

Wednesday, January 21st, 2009

I have been trying to achieve this for awhile now, if anyone has a solution to this then I’d love to hear from you… because this is driving me to the verge of insanity. The objective: to run Final Fantasy VIII PC edition on Kubuntu, the result is as follows with a little bit of history thrown in.

A couple of months ago, I upgraded from Hardy Heron (8.04) to Intrepid Ibex (8.10). I still had KDE 3 for Hardy and wanted to try KDE 4, so why not just go all the way to Intrepid. And I did, the install was smooth as always except, well, the wireless. From past pain and experience, I suspected that it may not be a smooth transition. I knew what to do this time and used ndiswrapper with the Broadcom driver to get it all working again. KDE 4 looks quite snazzy by the way, a bit buggy in places but hopefully Jaunty Jackalope will resolve these issues.

I installed WINE (WINdows Emulator) via Adept, configuration was straightforward. I inserted the FFVIII CD and sure enough, it installed onto my dummy C:\ drive. All good so far, now here’s the fun part. I added the FF8Config.exe and FF8.exe programs into WINE. You need FF8Config to make sure the resolution of the game is correct and to change other settings in the game. I tried to run this and it didn’t work at all, I got the hour glass and nothing. Fine, let’s try the game itself. I run FF8.exe and a similar thing happened except, it would throw me back to the logon screen for Kubuntu. Maybe it was just being obstinate this once, let’s give it a chance. I repeat the process, KDE locks up this time and I had to do a hard reboot. I decided to do a bit of research and I am not the only one having problems, other users are getting different results. Some even manage to load the game but it may crash at a fight sequence, or it runs but ever so slowly.

I have tried all manner of possible solutions at WineHQ, to no avail. Someone did suggest copying some different files to see, but the light of hope is slowly flickering away into nothingness. You can now understand why people still cling onto Windows XP for dear life. Because even though the game works to a certain degree in Vista, the graphical anomalies are too distracting and takes away the gaming experience. I blame DirectX 10 for this but who knows what the problem is. My Windows XP VMWare machine doesn’t like it either, probably because the host machine is, yes you guessed it, Vista. As for Linux… I love Kubuntu, I really do, but this sort of thing is what makes Linux less mainstream than what it can be. It is getting there and I am an advocate for the Linux platform, but there is still an element of doubt in usability for the average computer user. The other side of the coin is that Vista is a pain in the posteria for certain backward compatability, I can name several other programs that won’t run but I have to admit the majority does work.

However, I will keep plugging away, because the feeling of nostalgia refuses to go. I am this close to dual booting into XP but I am too lazy to switch each time I want to play. I really wanted to play Final Fantasy VII PC too, but trying to get that to work really would put me in a strait jacket.