Installing Kubuntu 7.04 on a ThinkPad X60

From ThinkWiki
Revision as of 20:26, 29 April 2007 by Midorigin (Talk | contribs) (Outline of procedure)
Jump to: navigation, search
Kubuntu logo.png
ThinkPadX60.jpg

Installation of Kubuntu 7.04 on a ThinkPad X60 (model 1709-K3U)

Series: X60

Model: 1709-K3U (IBM support page)

Operating system: Kubuntu 7.04 'Feisty Fawn' Desktop Edition (amd64)

Summary

What works 'out of the box'

What needs to be fixed

What has not yet been tested

Not included with this model

Annoyances

  • Battery life

Installation

Installing any operating system on a computer without a CD-ROM drive can be tricky. Common solutions to the problem include the use of an external optical drive, installing from a USB flash drive, and network installations. I suggest that you have a look at what solutions are out there, and choose one that best suites your situation.

Network installation

Personally, I chose to perform a network installation because I already have an Ubuntu fileserver with a copy of the installation CD ISO stored on it. I used a combination of resources to guide me through the installation:

Outline of procedure

  1. Install and configure necessary software on the server.
    1. Install services (C4 Wiki)
    2. Prepare your tftp server (C4 Wiki)
    3. Prepare your dhcp-server (C4 Wiki)
  2. Copy the netboot files from the installation CD.
    1. Mount the ISO file by following How to mount ISO files (UbuntuGuide.org).
    2. Copy the netboot files to /var/lib/tftpboot.
      $ sudo cp -av /media/iso/install/netboot/* /var/lib/tftpboot/
  3. (Optional: Use ISO as repository) Normally, Ubuntu's netboot installer tries to download as much as possible from the online repositories. With an Apache HTTP Server running, you can serve the mounted installation ISO as a local repository to save time and bandwidth. Create a symbolic link to the mounted ISO in Apache's www directory so that the ThinkPad has HTTP access to it.
    $ sudo ln -s /media/iso /var/www/ubuntu
  4. Boot the ThinkPad using PXE and follow normal installation procedure, with the following exceptions:
    1. (Optional: Use ISO as repository) When prompted to select a mirror, choose to manually enter the address to the local Apache server.
  5. (Optional: Use ISO as repository) The installer is likely to have configured a default /etc/apt/sources.list that lists the local Apache server as an Ubuntu repository, and the real repositories may be commented out. Edit this file after the installation is complete to remove references to the local Apache server, and ensure that necessary repositories are not commented out.

Fixes after installation

Click-to-scroll

As is explained in further detail here, adding the following lines to /etc/X11/xorg.conf got click-to-scroll to work for me.

 Section "InputDevice"
      Identifier      "Configured Mouse"
      Driver          "mouse"
      ...
      Option          "EmulateWheel"          "on"
      Option          "EmulateWheelButton"    "2"
 EndSection

This can create problems in Firefox, however, when you don't scroll exactly straight up and down. Read up on how to configure Firefox for using trackpoint horizontal scrolling.