Difference between revisions of "Installing Fedora on a ThinkPad T60"

From ThinkWiki
Jump to: navigation, search
(Tuning)
(Change category from Fedora to Fedora Core 8.)
Line 147: Line 147:
  
 
[[Category:T60]]
 
[[Category:T60]]
[[Category:Fedora]]
+
[[Category:Fedora Core 8]]

Revision as of 07:31, 2 March 2008

Creation timestamp: Whizkid 05:00, 6 February 2008 (CET)

This document is meant to be the definitive resource to getting the latest current release of Fedora running on a ThinkPad T60. I welcome improvements to the page, especially for hardware I don't have (video chips, WiFi cards, WWAN devices).

This document is current for Fedora 8. Fedora 9 Alhpa 1 has just been released, but we have a few months before that goes gold.

Installation Methods

Every T60 has a drive that can read DVDs. Nothing else is needed during the install, and it's the method I'm documenting first. Other methods of installation are detailed on the Fedora web site. For a smaller download, you can use the LiveCD, but fewer packages are available until you connect to the Internet.

Pre-installation

Fedora 8 does not have a method to shrink NTFS partitions during installation. You can use Knoppix or other LiveCD's to do that if you want to dual-boot. Links to pages on how to do that would be nice right about.... here.

Installation tips:

  • Set the optical drive mode to High Performance during the installation to speed it up a little. To do that: Get into the BIOS. Select Config->Power->CDROM Speed->High.

Installation Steps

For any disc, I recommend completing the media test at least once on each disc you burn. Anaconda is the name of Fedora's installer program.

Installation DVD

  • Boot the DVD. Skip ahead to Anaconda.

Live CD

  • Boot the CD. After some initialization, you are eventually presented with the login screen. Click Fedora Live or wait 60 seconds. You are presented with the GNOME desktop. Double-click the icon titled Install to Hard Drive. Continue to the next section.

Anaconda

  • You are presented with a title screen and no instructions. (That's what we're here for!) Click Next.
  • Select the installation language. Click Next. (Not presented if using LiveCD. It uses the current language.)
  • Select your keyboard language. Click Next. The installer looks for existing installations. You are prompted to choose a clean installation or upgrade. I'm documenting a clean install. Click Next.
  • You are asked how to partition your drive. The default is to remove existing Linux partitions. That's a fine choice. Turn on the Review check box to see how it will partition the drive if you're curious. Click Next.
  • Confirm that you want to delete partitions.

If you checked the Review box above, you are presented with the new disk layout. Edit as you please then click Next.

  • The installer looks for other installed operating systems. You are asked where the boot loader will be installed. If you want to keep ThinkVantage functionality, check Configure advanced boot loader options. You can change the label of the other operating systems on the drive and select a default OS. Click Next.

If you selected advanced option configuration, you are asked where the boot loader should be installed. Select the first sector of the boot partition, not the MBR, if you want ThinkVantage to work at startup, or if you want another OS to manage the boot process. Click Next.

  • You are asked whether the wired Ethernet controller should be active on boot. Since I use mine with WiFi most of the time, I turn that off and set the hostname manually. Click Next. Click Continue to confirm no network devices at boot if asked.
  • Select your time zone, choose whether or not the clock uses UTC and click Next.
  • Enter your root password. Do it again. Click Next.
  • If using the DVD, the installer looks for common installation packages. Since everything is out of date already, I turn off all options and customize later. Click Next. The installer checks dependencies.
  • You are asked one last time to confirm installation. Nothing has yet been written to the disk and this is the last point you can abort installation without changing anything on the drive. Click Next.

The partition table is written, partitions are formatted, the install image is copied and packages are installed. The disc is ejected and you are asked to reboot the machine. The process took 17 minutes on my T60 with a 2.0GHz Core Duo and 5400RPM hard drive with the DVD, or about 6 minutes using the LiveCD.

First Boot

During the first boot, the system may wait a long time while trying to connect to a WiFi access point, even though your WiFi card may not have been detected by the installer.

  • A welcome screen is presented. Your screen should now be in its native resolution. Click Forward.
  • A license information screen is presented. Click Forward.
  • Firewall configuration is presented. Configure as you like. Click Forward.
  • SELinux setting is presented. Click Forward.
  • Set your local date and time. Click Forward.
  • Your hardware profile is shown. If you opt in and send your profile, your machine is counted by the Fedora team to get an idea of the population on which Fedora runs. Consider opting in to let them know we have these machines and want Fedora to run well on them. Click Forward.
  • Create a user. Click Finish. Done!

Get Updates

Get a network connection going and get all recent updates. Reboot if a new kernel is installed. I like to use NetworkManager.

Configuring NetworkManager

This section does not apply if you login using network authentication. NetworkManager is not perfect, and requires you to enter a keyring password at times, but it's a convenient way to connect to different networks, especially wireless networks.

  • First make sure neither network device is enabled at boot time. Network devices that are enabled at boot time will attempt to get an IP address using DHCP by default. If you are near a secured WiFi hotspot, you will not get an IP address and the system will wait until it times out. Select System->Administration->Network. For each device listed, double-click it and turn off Activate device when computer starts. You may wish to enable Allow all users to enable and disable the device. Save changes and quit.
  • Select System->Administration->Services. Check NetworkManager and NetworkManagerDispatcher and start each one. Save the configuration.

Your wired network will automatically connect and your wireless networks should now be visible. To connect to a wireless network, click the NetworkManager notification icon and click the network to join.

Shortly after you connect to the internet, you should be notified that there are updates available. If you are asked for the install media, you can disable that repository.

Device Configuration

Audio

The Intel 82801G (ICH7) High Definition Audio Controller is identified and enabled automatically. The AD198x Analog PCM device works for audio. The Digital PCM device does not seem to work. Could it be that it only works in a dock?

Video Chip

ATI X1300 and ATI X1400

Currently, Fedora does not include a driver specific to this card. It selects the vesa driver, which works fine, but performance is slow. The RadeonHD driver is in progress but also has no accelerated video modes, so is not a recommended option at this time. ATI's proprietary fglrx driver now works very well for the T60. The easiest way to get the driver and have automatic updates is to use the Livna repository.

  • Click the Fedora 8 repository from the front page of [1].
  • Let the Fedora package installer install the RPM package.
  • Select Applications->Add/Remove Software.
  • Under RPM Fusion - Nonfree, check Hardware Support.
  • Click Optional packages.
  • Check xorg-x11-drv-fglrx, close and Apply.
  • Reboot the machine and log in. (Logging out is not sufficient.)

At this point, you should have 2D and 3D acceleration working. This is while using the vesa driver:

$glxinfo | grep direct
direct rendering: No (...)
OpenGL renderer string: Mesa GLX Indirect

And while using the fglrx driver:

$glxinfo | grep direct
direct rendering: Yes

To disable the fglrx driver and use vesa:

/usr/sbin/fglrx-config-display disable

and reboot. Use enable to switch back to the fglrx driver. Fedora does not install any 3D software by default, but several titles are available in the repositories. Other third-party applications work well too, including Google Earth.

Intel video

WiFi

Intel PRO/Wireless 3945ABG

This card is detected and enabled automatically. The activity indicator LED doesn't work with the standard driver. That appears to have been fixed in the latest version of the driver, but that is not yet in Fedora.

Pointing Devices

TrackPoint

The TrackPoint pointing device works automatically. Information on getting the middle button to act as a scroll wheel goes here.

Touch Pad

The touch pad is enabled and works automatically. Press-to-select is enabled by default.

Bluetooth

Fingerprint Reader

WWAN

Verizon EVDO

Special Keys

Fn+F2 Lock Screen

Fn+F3 Sleep

Fn+F4 Suspend to RAM (Standby)

Suspend to RAM works automatically. Closing the lid also put the machine into the same standby mode.

Fn+F5 Radio Control

Fn+F7 Display Selection

Fn+F8 Pointing Devices

Fn+F9 Eject

Fn+F12 Suspend to Disk (Hibernate)

Suspend to disk works automatically.

Fn+Home/End Brightness

Brightness control works automatically. GNOME's on-screen display for brightness works. When on AC, brightness is dimmed by default. To disable this, click System->Preferences->System->Power Management. Click the On Battery Power tab, and set the Dim display brightness by: slider to the desired amount.

Volume

Volume up, volume down and volume mute work automatically, as does the on-screen display.

ThinkVantage

This button doesn't do anything by default, and it's not obvious what it should do when running Linux, if anything.

Infrared

Tuning

This section details how to tune your system for performance or battery life. These are the numbers I got from PowerTop (yum install powertop to install this handy tool).

My power consumption
Description Wakes per second Wattage Estimated Time
Default - No changes 45000 27.8W 2.6Hr
Enable USB suspend 45000 27.8W 2.6Hr
Kill hald-addon-storage 45000 27.8W 2.6Hr
Increase writeback time 45000 27.8W 2.6Hr
Enable USB suspend 45000 27.8W 2.6Hr
Turn Bluetooth off 45000 27.8W 2.6Hr
Enable laptop mode 45000 27.8W 2.6Hr

PowerTop didn't help at all this time. I was pretty sure it helped a lot when I installed from DVD. FIXME.

Pfps 01:30, 28 February 2008 (CET) This very high number of wakeups is a problem that has been reported elsewhere, but I am not aware of any fix. My T60p does this sometimes. Sometimes it doesn't. I don't know why. Does anyone have any ideas?