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

From ThinkWiki
Jump to: navigation, search
(Replacing the Kernel)
Line 22: Line 22:
 
As previously mentioned, the i586 kernel is installed on this machine instead of the i686 version.  The i686 version is required to install the ATI video drivers and Intel Wireless drivers required to get this machine 100% operational.
 
As previously mentioned, the i586 kernel is installed on this machine instead of the i686 version.  The i686 version is required to install the ATI video drivers and Intel Wireless drivers required to get this machine 100% operational.
  
Installing the new kernel can be done by various methods as documented on the [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211941 Red Hat Bugzilla bug].  However, the safest method is to use [yum] to do the kernel swap.
+
Installing the new kernel can be done by various methods as documented on the [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211941 Red Hat Bugzilla bug].  However, the safest method is to use [[yum]] to do the kernel swap.
  
 
To swap kernels:
 
To swap kernels:
 
# Open up a terminal window are become root.
 
# Open up a terminal window are become root.
# Execute
+
# Execute: yum remove kernel
yum remove kernel
 
 
# Make note of any other packages that will be removed due to dependency issues.  The packages will have to be reinstalled in the next step.
 
# Make note of any other packages that will be removed due to dependency issues.  The packages will have to be reinstalled in the next step.
 
# Install the kernel.i686 package and any other packages removed in the previous step.
 
# Install the kernel.i686 package and any other packages removed in the previous step.
 +
# Fix your [[Grub]] configuration
 
# Reboot
 
# Reboot
  
A complete transaction log of what you may expect:
+
On a minimal install, the only dependencies removed were gnome-session, compiz, gnome-volume-manager, and pcmciautils. Getting things back on track required:
<pre>
 
[root@scottt60 ~]# yum remove kernel
 
Loading "installonlyn" plugin
 
Setting up Remove Process
 
Resolving Dependencies
 
--> Populating transaction set with selected packages. Please wait.
 
---> Package kernel.i586 0:2.6.18-1.2798.fc6 set to be erased
 
--> Running transaction check
 
Setting up repositories
 
Reading repository metadata in from local files
 
--> Processing Dependency: kernel >= 2.6 for package: gnome-volume-manager
 
--> Processing Dependency: kernel >= 2.6.12-1.1411_FC5 for package: pcmciautils
 
--> Restarting Dependency Resolution with new changes.
 
--> Populating transaction set with selected packages. Please wait.
 
---> Package pcmciautils.i386 0:014-5 set to be erased
 
---> Package gnome-volume-manager.i386 0:2.15.0-2.fc6 set to be erased
 
--> Running transaction check
 
--> Processing Dependency: gnome-volume-manager for package: gnome-session
 
--> Restarting Dependency Resolution with new changes.
 
--> Populating transaction set with selected packages. Please wait.
 
---> Package gnome-session.i386 0:2.16.0-3.fc6 set to be erased
 
--> Running transaction check
 
--> Processing Dependency: gnome-session >= 2.15.90-2.fc6 for package: compiz
 
--> Restarting Dependency Resolution with new changes.
 
--> Populating transaction set with selected packages. Please wait.
 
---> Package compiz.i386 0:0.0.13-0.32.20060817git.fc6 set to be erased
 
--> Running transaction check
 
  
Dependencies Resolved
+
# yum install kernel.i686 gnome-session compiz gnome-volume-manager pcmciautils
  
=============================================================================
+
After [Yum] completes, you will have to fix the boot loader or you will be unable to boot after a restart.
Package                Arch      Version          Repository        Size
 
=============================================================================
 
Removing:
 
kernel                  i586      2.6.18-1.2798.fc6  installed          43 M
 
Removing for dependencies:
 
compiz                  i386      0.0.13-0.32.20060817git.fc6  installed        1.9 M
 
gnome-session          i386      2.16.0-3.fc6    installed        1.3 M
 
gnome-volume-manager    i386      2.15.0-2.fc6    installed        1.9 M
 
pcmciautils            i386      014-5            installed          57 k
 
  
Transaction Summary
+
Again as root, fire up your favorite text editor and add the following lines to your grub configuration (/boot/grub/grub.conf) just below the initial comments:
=============================================================================
 
Install      0 Package(s)       
 
Update      0 Package(s)       
 
Remove      5 Package(s)       
 
 
 
Is this ok [y/N]: y
 
Downloading Packages:
 
Running Transaction Test
 
Finished Transaction Test
 
Transaction Test Succeeded
 
Running Transaction
 
  Removing  : pcmciautils                  ######################### [1/5]
 
grubby fatal error: unable to find a suitable template
 
  Removing  : kernel                      ######################### [2/5]
 
  Removing  : gnome-session                ######################### [3/5]
 
  Removing  : compiz                      ######################### [4/5]
 
  Removing  : gnome-volume-manager        ######################### [5/5]
 
 
 
Removed: kernel.i586 0:2.6.18-1.2798.fc6
 
Dependency Removed: compiz.i386 0:0.0.13-0.32.20060817git.fc6 gnome-session.i386 0:2.16.0-3.fc6 gnome-volume-manager.i386 0:2.15.0-2.fc6 pcmciautils.i386 0:014-5
 
Complete!
 
[root@scottt60 ~]# yum install kernel.i686 gnome-session compiz gnome-volume-manager pcmciautils
 
Loading "installonlyn" plugin
 
Setting up Install Process
 
Setting up repositories
 
Reading repository metadata in from local files
 
Parsing package install arguments
 
Resolving Dependencies
 
--> Populating transaction set with selected packages. Please wait.
 
---> Downloading header for gnome-session to pack into transaction set.
 
gnome-session-2.16.0-3.fc 100% |=========================|  30 kB    00:00   
 
---> Package gnome-session.i386 0:2.16.0-3.fc6 set to be updated
 
---> Downloading header for pcmciautils to pack into transaction set.
 
pcmciautils-014-5.i386.rp 100% |=========================| 4.2 kB    00:00   
 
---> Package pcmciautils.i386 0:014-5 set to be updated
 
---> Downloading header for compiz to pack into transaction set.
 
compiz-0.0.13-0.32.200608 100% |=========================|  20 kB    00:01   
 
---> Package compiz.i386 0:0.0.13-0.32.20060817git.fc6 set to be updated
 
---> Downloading header for kernel to pack into transaction set.
 
kernel-2.6.18-1.2798.fc6. 100% |=========================| 206 kB    00:02   
 
---> Package kernel.i686 0:2.6.18-1.2798.fc6 set to be installed
 
---> Downloading header for gnome-volume-manager to pack into transaction set.
 
gnome-volume-manager-2.15 100% |=========================|  22 kB    00:00   
 
---> Package gnome-volume-manager.i386 0:2.15.0-2.fc6 set to be updated
 
--> Running transaction check
 
 
 
Dependencies Resolved
 
 
 
=============================================================================
 
Package                Arch      Version          Repository        Size
 
=============================================================================
 
Installing:
 
compiz                  i386      0.0.13-0.32.20060817git.fc6  core              426 k
 
gnome-session          i386      2.16.0-3.fc6    core              408 k
 
gnome-volume-manager    i386      2.15.0-2.fc6    core              403 k
 
kernel                  i686      2.6.18-1.2798.fc6  core              16 M
 
pcmciautils            i386      014-5            core              29 k
 
 
 
Transaction Summary
 
=============================================================================
 
Install      5 Package(s)       
 
Update      0 Package(s)       
 
Remove      0 Package(s)       
 
 
 
Total download size: 17 M
 
Is this ok [y/N]: y
 
Downloading Packages:
 
(1/5): gnome-session-2.16 100% |=========================| 408 kB    00:03   
 
(2/5): pcmciautils-014-5. 100% |=========================|  29 kB    00:00   
 
(3/5): compiz-0.0.13-0.32 100% |=========================| 426 kB    00:04   
 
(4/5): kernel-2.6.18-1.27 100% |=========================|  16 MB    03:13   
 
(5/5): gnome-volume-manag 100% |=========================| 403 kB    00:04   
 
Running Transaction Test
 
Finished Transaction Test
 
Transaction Test Succeeded
 
Running Transaction
 
  Installing: kernel                      ######################### [1/5]
 
grubby fatal error: unable to find a suitable template
 
  Installing: gnome-volume-manager        ######################### [2/5]
 
  Installing: gnome-session                ######################### [3/5]
 
  Installing: pcmciautils                  ######################### [4/5]
 
  Installing: compiz                      ######################### [5/5]
 
 
 
Installed: compiz.i386 0:0.0.13-0.32.20060817git.fc6 gnome-session.i386 0:2.16.0-3.fc6 gnome-volume-manager.i386 0:2.15.0-2.fc6 kernel.i686 0:2.6.18-1.2798.fc6 pcmciautils.i386 0:014-5
 
Complete!
 
[root@scottt60 ~]#
 
  
 +
<pre>
 +
title FC6 2.6.18-1.2798
 +
        kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/ rhgb quiet
 +
        initrd /initrd-2.6.18-1.2798.fc6.img
 
</pre>
 
</pre>
 
  
 
=== Setting Up Additional Repositories ===
 
=== Setting Up Additional Repositories ===

Revision as of 20:12, 6 November 2006

  • Note: this page is a work in progress

Installation

Installation of Fedora Core 6 (Zod) on a Thinkpad T60 (xxxx). The installation completes successfully but installs the i586 kernel instead of the required i686 kernel. The wrong kernel is due to a known bug in the Anaconda installer.

First Boot

Works Out of the Box

  • Wired ethernet
  • Video at 1400x1050(VESA driver)
  • Touchpad / Mouse
  • Think-light

Post Install

Getting Up to Date

Replacing the Kernel

As previously mentioned, the i586 kernel is installed on this machine instead of the i686 version. The i686 version is required to install the ATI video drivers and Intel Wireless drivers required to get this machine 100% operational.

Installing the new kernel can be done by various methods as documented on the Red Hat Bugzilla bug. However, the safest method is to use yum to do the kernel swap.

To swap kernels:

  1. Open up a terminal window are become root.
  2. Execute: yum remove kernel
  3. Make note of any other packages that will be removed due to dependency issues. The packages will have to be reinstalled in the next step.
  4. Install the kernel.i686 package and any other packages removed in the previous step.
  5. Fix your Grub configuration
  6. Reboot

On a minimal install, the only dependencies removed were gnome-session, compiz, gnome-volume-manager, and pcmciautils. Getting things back on track required:

# yum install kernel.i686 gnome-session compiz gnome-volume-manager pcmciautils

After [Yum] completes, you will have to fix the boot loader or you will be unable to boot after a restart.

Again as root, fire up your favorite text editor and add the following lines to your grub configuration (/boot/grub/grub.conf) just below the initial comments:

title FC6 2.6.18-1.2798
        kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.18-1.2798.fc6.img

Setting Up Additional Repositories

In order to get the ATI driver and the Intel Wireless working, you will need to add two repositories to your cpmuter; Livna RPMs and AT-RPMs repositories to your machine.

Enabling Livna's Repository
As root, rpm -ivh http://rpm.livna.org/livna-release-6.rpm .
Enabling AT-RPMs Repository
As root, use your favorite editor to create /etc/yum.repos.d/atrpms.repo and type in;
[atrpms]
name=Fedora Core $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/fc$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1

ATI Video Driver