Installing Ubuntu 6.06 on a ThinkPad R60

From ThinkWiki
Revision as of 01:26, 12 September 2006 by Morten (Talk | contribs) (sound)
Jump to: navigation, search

Overview

This is based on an dualboot win/linux installation with the Ubuntu 6.06 CD, on a R60 with Core Duo T2400, 512MB, 80GB, 15", SXGA+, ATI X1400 128MB, DVD±R.

Stuff that works out of the box: USB, CD/DVD-burner, Network card, Sound, UltraNav(mouses), Volume buttons

Stuff that needs tweaking: Fingerprint reader

Untested: WiFi, Bluetooth, Firewire, Modem

Before you start

Normally the machines come preinstalled with Windows XP. Also note that there is a somewhat hidden 5GB FAT32 partition that contains the recovery files used to reinstall Windows. If you only wants Linux, then all this can just be deleted. If you wants too keep Windows for dualboot, you have to decide if you want to keep the recovery partition.

If you want to keep windows, it's wise to make recovery CDs. You can both make a backup-cd/dvd, and make disks that contain what's on the recovery partition (these disks can only be made once, and require 2 DVDs or 6 CDs). Start Windows, and run the ThinkVantage-programs for this.

Partition and boot

Now boot with the Ubuntu-CD, start the installer and follow the simple guide until you reach the partition-question. If you want to keep Windows, select the option to do it manually. Now you will see the two Lenovo-created partitions. Resize the big partition with Windows on to the size you want. Then make a new partition for Ubuntu and a small swap partition. Complete the installer, and reboot into Windows. Chkdsk will start to scan C:\. It will probably correct some stuff, but hopefully Windows will start nicely afterwards.

Ubuntu will install the GRUB bootloader. At startup this will give you the choice of Linux and Windows, unless you got rid of the latter. It will also display a line with "Windows NT/2000/XP" if you kept the service partition. This is some sort of Windows based environiment where you can restore stuff. Find a GRUB-howto and edit /boot/grub/menu.lst to hide it in the list, if you want to. You probably also want to edit /etc/fstab and remove the line that mounts the service partition.

System update

When Ubuntu is up and running, you should first run a complete system update. A note will pop up telling you to do so, or you can run Synaptic or $ sudo apt-get update && sudo apt-get upgrade.

CPU/Kernel

The R60 has a Dual Core CPU, and the default kernel is only using one of the cores. Start Synaptic and find the most recent 686-kernel (either linux-image-2.6.xx-xx-686 or the linux-686-smp metapackage). Download and install it, then reboot. You will now get another choice on the bootmenu for the 686-kernel. Boot with that one, and make sure $ cat /proc/cpuinfo lists two processors. Make sure you get the linux-restricted-modules-2.6.xx-xx-686 package too, it's needed for some of the drivers below.

Network

The gigabit network card works out of the box. Wifi looks like it might be working, but needs to be tested against a WiFi router before that can be confirmed.

Graphics

The R60 can either come with some onboard Intel graphics, or a X-series ATI-card. Atleast for the latter, you need to install drivers. ATI delivers proprietary binary-only drivers called fglrx, that you can install with apt/Synaptic. See this guide for that, or just try:

sudo apt-get install xorg-driver-fglrx fglrx-control
sudo depmod -a
sudo aticonfig --initial
sudo aticonfig --overlay-type=Xv

Then reboot, and run $ fglrxinfo to see that everything is fine. You can also try running $ glxgears to see if 3d-acceleration works as it should. When the drivers are in place, you can also select a higher resolution if you have a model with that. You can do that with the System->Settings->Resolution GUI.

Hibernation

This seems to work without any config. Both the choice in the shutdown dialog, and Fn+F12 makes the machine hibernate properly.

Sound

Sound just worked, also from multiple sources at once. The three volume keys work fine. Fn+Arrows for Play/Stop etc, does not work yet.