Sign In

    Enjoy FOSSwire's content? Have it delivered! Subscribe

    How-To Install Ubuntu 8.10 on a White MacBook

    Ubuntu logo

    Installing Ubuntu (or any other Linux) on a Macintosh is a slightly different process than installing Ubuntu on a more traditional PC. Various differences in the hardware, particularly the use of the EFI firmware system, mean that some extra effort is required to get your favourite distro up and running on your favourite hardware.

    This tutorial is inspired and somewhat derived from the Ubuntu Mactel Community Documentation, as well as my own experience of this process.

    So let’s take a look at the steps involved, before we dive in.

    Overview

    We can divide the installation process into these major steps:

    1. Make free space
    2. Install rEFIt boot loader
    3. Run Ubuntu installer (setting GRUB boot loader location)
    4. Sync MBR with rEFIt
    5. Boot the system and uninstall rEFIt

    I will be installing Ubuntu 8.10 on a late 2006 white MacBook, so this guide may be somewhat specific to the white MacBook, but should be fairly similar on most Intel Macs.

    Why?

    Because the MacBook is a really nice piece of hardware. Many bits and pieces of the MacBook hardware work out of the box, including:

    • Graphics
      • Intel GMA 950 and Intel GMA X1300 integrated graphics have open source drivers, so everything ‘just works’ out of the box, including desktop effects.
      • The newer NVIDIA 9400M-based MacBooks will require the installation of the NVIDIA proprietary driver for full graphics support.
    • WiFi
      • Support for the WiFi chip used in the MacBook is built right into recent revisions of the Linux kernel. The result? WiFi ‘just works’. Seriously.
    • Bluetooth
    • Audio
      • After a little fiddle with the audio volume levels.

    Backup, Backup, Backup

    Before you do anything, make a full backup of your system. Anything you care about must be kept somewhere else as well, just in case this process goes wrong. A Time Machine backup should be fine, as long as you don’t forget to also backup the exceptions to your Time Machine backup separately if you don’t want to lose them.

    Once you are completely confident that you could restore the entire system in a snap, or are convinced that you don’t care about anything on the machine, go ahead and continue with this tutorial.

    Make Free Space

    The first step is to make enough free space on your disk for Ubuntu to exist within. There are essentially two ways to achieve this. Unless you’re reinstalling Mac OS X from scratch anyway, it is probably a better idea to use the Boot Camp method, as you don’t have to delete everything to do so.

    Using Boot Camp Assistant

    Screenshot of Boot Camp Assistant

    Despite being designed for dual booting Windows and Mac OS X, Boot Camp Assistant is very useful to us as it automatically repartitions the hard drive on the fly, without deleting any of your data.

    The space that you allocate to ‘Windows’ in this screen will, obviously, be the space that Ubuntu will occupy, so give yourself as much space as you think you will need.

    Once you’ve clicked Partition, simply choose Quit and Install Later, as we won’t actually be installing Windows.

    Now Boot Camp Assistant very helpfully formatted the partition as FAT32. Um, great, but we actually want free space. We’ll fix this from the Ubuntu side later.

    By Reinstalling

    If you happen to be reinstalling OS X anyway, you can use Disk Utility from within the Mac OS X Installer (in the Utilities menu) to partition the disk, manually creating a Mac OS Extended partition for OS X and deliberately leaving some space as unformatted.

    Install rEFIt Boot Loader

    In order to fix the system’s Master Boot Record (MBR) after the Ubuntu install is complete, we need to briefly install rEFIt, a custom bootloader for EFI-based computers, including Intel Macs.

    Go ahead and download the Mac disk image and run the installer package.

    rEFIt Installer

    Once it is complete, reboot the Mac and verify that you get a screen that looks something like the following (it won’t have a Tux icon yet and shouldn’t have a Windows icon either).

    rEFIt boot screen

    OK, we’re finally ready to kick off the Ubuntu install.

    Run Ubuntu Installer

    For the most part, this process is exactly the same as you would do on a PC. There are, however, two crucial steps you must get right.

    Before getting started on the install, however, we need to get rid of the FAT32 formatting of the Boot Camp partition. Pop the Ubuntu CD into your computer and reboot. At the rEFIt boot menu, you can choose to boot Linux from CD. I recommend you plug in a USB mouse at this point so you can right-click.

    Select Try Ubuntu without any change to your computer to get into the full Ubuntu interface. Once the system boots, go to Applications > Accessories > Terminal.

    $ sudo gparted

    This opens the partition editor, so we can go ahead and wipe that partition.

    Partition editor screenshot

    You’ll want to find the FAT32 partition labelled ‘Boot Camp’ (NOT the one labelled ‘EFI’ at the start), right-click it and choose Delete. Apply the changes.

    Once the changes are applied, you can continue with the installation, as normal, except the following two things which must be set correctly:

    Choose ‘Largest Continuous Free Space’

    When you are asked by the installer how you want to partition the disk, choose Guided – use largest continuous free space. Since you just made sure you have a large chunk of free space earlier, by deleting the Boot Camp FAT32 partition, it will recognise that and use the space for Ubuntu.

    If you are desperate to partition it yourself and know what you are doing, just make sure the bootable partition is the first one. Don't put your swap before your data on the disk, or the Mac will try to boot from the swap partition.

    Install GRUB on sda

    At the final page of the installer, ‘Ready to install’, where you are shown all the settings for the install, make sure you click the Advanced button and choose to install GRUB onto /dev/sda3.

    Sync MBR with rEFIt

    So, the installation should finish and you will be told to reboot. When the system comes back up, do not jump straight away into the new Linux option on your rEFIt boot menu.

    rEFIt boot screen

    Instead, select the Partition Tool icon. It should tell you that the Master Boot Record need to be synced and offer to do so. Press the Y key to accept this and you will return to the boot screen.

    I recommend at this point you select the option to shut down your Mac, give it a few seconds to clear everything out and then turn it back on. This avoids a lockup I experienced right after you perform the MBR sync.

    Boot the System and Uninstall rEFIt

    At this point, you should be ready to go. At the rEFIt boot menu, choose the Linux option and Ubuntu should boot. At this point, everything should be just the same as it would be on a PC.

    You can now uninstall rEFIt if you desire, or you can leave it intact and use it each time the system boots to choose your operating system. The choice is entirely up to you.

    If you remove it, you can boot into Ubuntu with the Mac’s native boot loader by holding down the Option key at startup and choosing the disk entitled ‘Windows’.

    Conclusion

    And that’s it. After you’ve done this little bit of fiddling to get it installed, and perhaps once you have configured some components that don’t work out of the box, you have a very nice little Ubuntu machine.


    Neverball and Neverputt

    It's been some time since the last Games post here at FOSSwire. Free software isn't all work and no play, right?

    We have briefly mentioned both subjects of this Games post before, in a round-up of 13 great open source games, but never in much detail.

    Neverball

    First of all, to Neverball.

    Neverball Splash

    If you've ever played a certain game containing the words Ball, Monkey and Super, but not necessarily in that order, you'll be right at home. The aim of the game is to direct the ball on screen to collect the coins and then get to the targeted exit.

    Playing Neverball

    You control the ball by moving the mouse, which tilts the 'board' and hence makes the ball move across it. It sounds simple, but on the harder levels quickly becomes challenging. If you tilt too much, the ball starts moving very quickly and is very difficult to precisely control!

    Playing more Neverball

    It's a simple concept, dangerously addictive and it might even cause you to tear just a little bit of hair out at times.

    Neverputt

    Neverputt is based on the same engine and Neverball and is often packaged together with it. As the title suggests, however, Neverputt is a golf game.

    Neverputt Splash Screen

    To be more precise, it is more of a mini-golf/crazy golf game with an arcade feel. There are three different courses available, each varying in difficulty.

    Again, the gameplay is refreshingly simple. You just aim the mouse in the direction you want to drive, pulling it back for more power and click to make your shot.

    Aiming your shot in Neverputt

    Of course, I mentioned 'crazy', so as you progress through, you will meet different obstacles which will make getting the ball into the hole a little more interesting.

    Playing Neverputt

    Neverputt is personally my favourite of the two, especially when you make use of its hot-seat multiplayer feature. Just make sure you play alone for a while to get some practice first!

    How and Where Can I Play?

    Neverball and Neverputt should be available in almost all modern Linux distributions in one package called neverball. Search for that in the software management program and choose to install the package (or try clicking Install Now at the top if you're on that machine right now).

    You will need a machine that is configured to have 3D acceleration enabled and a reasonable level of graphics horsepower, as both games make use of fancy OpenGL graphics.

    Windows and Mac OS X versions can be downloaded from the Neverball website.

    Interestingly, there's also a version of Neverputt available for the iPhone and iPod touch platform. It's not free (£0.59 here in the UK store or I'd imagine $0.99 in the US) but it is based on the open source Neverball engine and is created with full permission of the original author. It can be found on this iTunes Store link.


    Amarok 2.0 Released

    Amarok logo

    Apologies for the FOSSwire radio silence recently. I've been really really busy with university stuff. My Christmas break starts next week, so with any luck FOSSwire should get some more content over the festive period. Thanks for bearing with us!

    The Amarok team have officially unveiled the 2.0 release of the popular open source music and media player application.

    The world of digital music management has changed a great deal since the birth of Amarok four and a half years ago. Amarok 1 established a reputation for innovation, but maintaining development with the old framework became more difficult as Amarok grew, often in directions we never imagined.

    Some of the things this new release brings to the table include:

    • New user interface
    • Integration with many online music services (Last.fm, Magnatune and others)
    • New scripting API

    Crucially, Amarok 2.0 is built against KDE 4, rather than KDE 3, making it an ideal music player for KDE 4-based desktops as it now runs natively.

    There are also Beta versions of this 2.0 release available for other platforms as well - with Windows and Mac OS X versions available. The use of the Qt library underneath KDE means that the versions for these other systems integrate well (for example, Amarok 2.0 uses global menu bar when run under Mac OS X - so it 'feels like' any other Mac app).

    I haven't yet had a chance to play with the new release, but you can read further release notes and download the 2.0 version from the Amarok site.


    1. 1
    2. 2
    3. 3
    4. ...
    5. Go to