<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=CarlosLiu</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=CarlosLiu"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/CarlosLiu"/>
	<updated>2026-05-04T06:51:58Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Embedded_Security_Subsystem&amp;diff=25359</id>
		<title>Embedded Security Subsystem</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Embedded_Security_Subsystem&amp;diff=25359"/>
		<updated>2006-10-19T12:59:18Z</updated>

		<summary type="html">&lt;p&gt;CarlosLiu: /* TCPA/TCG clean models */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;&amp;quot; | [[Image:ESS.jpg|IBM Embedded Security Subsystem]] __NOTOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
=== The Embedded Security Subsystem ===&lt;br /&gt;
The Embedded Security Subsystem is nothing but a chip installed on the ThinkPads mainboard that can take care of certain security related tasks conforming to the TCPA standard. It was first introduced among the T23 models and is now under the name Embedded Security Subsystem 2.0 an integral part of most of the modern ThinkPads. The functions of the chip are bound to three main groups:&lt;br /&gt;
* public key functions&lt;br /&gt;
* trusted boot functions&lt;br /&gt;
* initialization and management functions&lt;br /&gt;
&lt;br /&gt;
The purpose of the whole thing is to keep the user's sensitive data out of range from software based attacks (like viruses, internet attacks etc.). One way the chip offers to achieve this is by providing storage for keys along with the neccessary functions to handle them within itself, so that a i.e. a private key never has to leave the chip (can't be seen by any piece of software). Besides this there are more complex topics covered by the functionality of the chip. If you want to find out more about it you can find good documents on the [http://www.research.ibm.com/gsal/tcpa/ IBM Research TCPA resources page].&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==WARNING==  &lt;br /&gt;
There's a bug in the latest release of the security chip software.  You end up facing a security chip login, and you press Ctrl-alt-delete, and it just sits there.  DO NOT Download the latest patch (Dated 13/06/2006 v 7.00.0017.00) &amp;lt;BR&amp;gt;&lt;br /&gt;
Actaully they appear to have removed that patch.&amp;lt;BR&amp;gt;&lt;br /&gt;
Ring IBM support (in Australia 131426, 1, 2) and they'll talk you through doing a system restore.&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Trusted or Treacherous?==&lt;br /&gt;
&lt;br /&gt;
TC - Trusted Computing - will be the biggest change of the information landscape since decades. Besides positive features like a more secure hardware storage for cryptographic keys, an analysis of the proposed TCG-standards shows some problematic properties. &amp;lt;br /&amp;gt;&lt;br /&gt;
As ThinkPads of recent generations following the ThinkPad {{T23}} ([[Embedded Security Subsystem#Models featuring this Technology|see the complete list of models]]) are equipped with this disputed TCG-/TCPA-Technology, it can be interesting, which promises of the TCG are fulfilled inside your ThinkPad and which parts of the TCG-specifications still seem to be a privacy issue for every user of digital devices like a MP3-player or a ThinkPad - so please read [[TCPA/TCG - Trusted or Treacherous|this article]] for more details.&lt;br /&gt;
&lt;br /&gt;
==Linux Support==&lt;br /&gt;
Two linux drivers are available, a [[tpm|classical one]] and a [[tpmdd|newer one]].&lt;br /&gt;
Coverage of functionality of the first is unknown so far, the second is part of a bigger project aiming to provide a usable security framework.&lt;br /&gt;
&lt;br /&gt;
David Stafford (one of the developers of the tpm code at IBM) on March 10, 2005 sent me the most recent version of the tpm-kml code. With his permission, I quote his email:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;I am attaching our latest driver and library.&lt;br /&gt;
This version is in the process of kernel mailing list review, and&lt;br /&gt;
will hopefully be accepted into the official kernel. It works&lt;br /&gt;
much better across various 2.6 kernels. Note that this builds&lt;br /&gt;
three modules tpm, tpm_atmel, and tpm_nsc. You modprobe the&lt;br /&gt;
tpm_atmel (for all current shipping atmel based systems), or&lt;br /&gt;
tpm_nsc (for the coming national based systems).&lt;br /&gt;
&lt;br /&gt;
Also note that there is a conflict with the snd-intel8x0&lt;br /&gt;
kernel module (they each try to grab the LPC bus). You can&lt;br /&gt;
either: load the tpm modules first (such as in initrd or&lt;br /&gt;
rc.sysinit, before sound), or recompile the snd-intel8x0, turning&lt;br /&gt;
off the MIDI and JOYSTICK support. The latest 2.6.11 version&lt;br /&gt;
of snd-intel8x0 also reportedly fixes things.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Compiling this library was easy. Compiling the driver on my 2.6.8-686 (debian testing) laptop failed. But the library works with the driver I compiled from the tpm-2.0 package IBM made available on its pages (see the links below).&lt;br /&gt;
&lt;br /&gt;
Gijs&lt;br /&gt;
&lt;br /&gt;
The T43 requires a patch posted to the LKML by Kylene Jo Hall: [http://marc.theaimsgroup.com/?l=linux-kernel&amp;amp;m=111884603309146&amp;amp;w=2 LKML posting]. An updated patch for linux 2.6.12 is available [http://shamrock.dyndns.org/~ln/linux/tpm_2.6.12.diff here].&lt;br /&gt;
&lt;br /&gt;
The atmel driver comes with 2.6.12.&lt;br /&gt;
----&lt;br /&gt;
now suported in 2.6.15.1(and mabe others kernels under this number) in:&lt;br /&gt;
&lt;br /&gt;
/device drivers/caracter devices/tpm devices&lt;br /&gt;
&lt;br /&gt;
==Versions &amp;amp; Features==&lt;br /&gt;
=== Embedded Security Chip ===&lt;br /&gt;
IBM introduced it's TCPA/TCG features with some of the [[:Category:T23|T23]] models. The earlier of them didn't yet have the Embedded Security Subsystem, but a kind of pre 1.0 version called the Embedded Security Chip. This chip had the following capabilities:&lt;br /&gt;
*Data communications authentication and encryption&lt;br /&gt;
*Storage of encrypted passwords&lt;br /&gt;
&lt;br /&gt;
=== Embedded Security Subsystem (1.0) ===&lt;br /&gt;
The original Embedded Security Subsystem (in IBM documents there is no use of the additive version-number 1.0) claims to be compliant with TCG specs, but apparently did not fully implement any specific TCG spec.&lt;br /&gt;
&lt;br /&gt;
The Embedded Security Subsystem has the following features:&lt;br /&gt;
*hardware key storage&lt;br /&gt;
*multi-factor authentication&lt;br /&gt;
*local file encryption&lt;br /&gt;
*enhances VPN security&lt;br /&gt;
&lt;br /&gt;
=== Embedded Security Subsystem 2.0 ===&lt;br /&gt;
The Embedded Security Subsystem 2.0 conforms to the TCG TPM 1.1b specification, with a TPM manufactured by either Atmel or National Semiconductor.&lt;br /&gt;
&lt;br /&gt;
The Embedded Security Subsystem 2.0 has the following features:&lt;br /&gt;
*hardware key storage&lt;br /&gt;
*multi-factor authentication&lt;br /&gt;
*local file encryption&lt;br /&gt;
*enhances VPN security&lt;br /&gt;
*TCG compliant&lt;br /&gt;
&lt;br /&gt;
==Models featuring this Technology==&lt;br /&gt;
===IBM Embedded Security Chip===&lt;br /&gt;
*ThinkPad {{T23}}&lt;br /&gt;
===IBM Embedded Security Subsystem===&lt;br /&gt;
*ThinkPad {{A30p}}&lt;br /&gt;
*ThinkPad {{R31}}&lt;br /&gt;
*ThinkPad {{T23}}, {{T30}}, {{T41}}&lt;br /&gt;
*ThinkPad {{X22}}, {{X23}}, {{X24}}&lt;br /&gt;
&lt;br /&gt;
===IBM Embedded Security Subsystem 2.0===&lt;br /&gt;
*ThinkPad {{R32}}, {{R40}}, {{R50}}, {{R50p}}, {{R51}}, {{R51e}}, {{R52}}&lt;br /&gt;
*ThinkPad {{T40}}, {{T40p}}, {{T41}}, {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}, {{T60}}, {{T60p}}&lt;br /&gt;
*ThinkPad {{X30}}, {{X31}}, {{X32}}, {{X40}}, {{X41}}, {{X41T}}, {{X60}}, {{X60s}}&lt;br /&gt;
*ThinkPad {{Z60m}}, {{Z60t}}&lt;br /&gt;
[[Category:Glossary]] [[Category:Trusted Computing]]&lt;br /&gt;
&lt;br /&gt;
==TCPA/TCG clean models==&lt;br /&gt;
*all models produced before 2000&lt;br /&gt;
*all i Series models&lt;br /&gt;
*ThinkPad [[:Category:240X|240X]]&lt;br /&gt;
*ThinkPad [[:Category:A20m|A20m]], [[:Category:A20p|A20p]], [[:Category:A21e|A21e]], [[:Category:A21m|A21m]], [[:Category:A21p|A21p]], [[:Category:A22e|A22e]], [[:Category:A22m|A22m]], [[:Category:A22p|A22p]], [[:Category:A30|A30]]&lt;br /&gt;
*ThinkPad [[:Category:R50e|R50e]]&lt;br /&gt;
*ThinkPad [[:Category:T20|T20]], [[:Category:T21|T21]], [[:Category:T22|T22]]&lt;br /&gt;
*ThinkPad [[:Category:X20|X20]], [[:Category:X21|X21]], [[:Category:X22|X22]]&lt;br /&gt;
*ThinkPad [[:Category:TransNote|TransNote]]&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://www.pc.ibm.com/us/think/thinkvantagetech/security.html IBMs ThinkVantage&amp;lt;sup&amp;gt;TM&amp;lt;/sup&amp;gt; Technologies Embedded Security Subsystem page]&lt;br /&gt;
*[http://www.pc.ibm.com/presentations/us/thinkvantage/56/index.html?shortcut=ess&amp;amp; IBMs ThinkVantage&amp;lt;sup&amp;gt;TM&amp;lt;/sup&amp;gt; Technologies Flash presentation - Embedded Security Subsystem]&lt;br /&gt;
*[http://www.research.ibm.com/gsal/tcpa/ IBM Research TCPA resources page]&lt;br /&gt;
*[http://www.prosec.rub.de/trusted_grub.html Trusted Grub]&lt;/div&gt;</summary>
		<author><name>CarlosLiu</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Rescue_and_Recovery&amp;diff=25316</id>
		<title>Rescue and Recovery</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Rescue_and_Recovery&amp;diff=25316"/>
		<updated>2006-10-17T15:18:49Z</updated>

		<summary type="html">&lt;p&gt;CarlosLiu: /* Proper MBR */ add new path&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top;padding-right:20px;width:10px;&amp;quot; | __NOTOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
===Rescue and Recovery===&lt;br /&gt;
Rescue and Recovery version 3.0 consists of a bootable partition containing various system recovery tools, including full recovery of the preinstalled Windows XP partition. It can be activated by pressing the {{ibmkey|ThinkPad|#494949}}, {{ibmkey|Access IBM|#495988}} or {{ibmkey|ThinkVantage|#495988}} [[ThinkPad Button|Button]] during system boot. It contains a FAT filesystem (labeled &amp;quot;IBM_SERVICE&amp;quot;), and has partition type 0x12 (&amp;quot;Compaq diagnostics&amp;quot; in &amp;lt;tt&amp;gt;fdisk&amp;lt;/tt&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
As opposed to a [[Hidden Protected Area|Hidden Protected Area]] Recovery partitions are ordinary partitions, accessible through the partition table. As they are ordinary partitions they are accessible by ordinary partitioning tools. They should be dealt carefully with.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
==Proper MBR==&lt;br /&gt;
{{WARN|Only tinker with the MBR and the Rescue and Recovery partition if you know what you're doing. Mistakes can leave the system unbootable and can make it very difficult to retrieve the data on the harddisk.}}&lt;br /&gt;
&lt;br /&gt;
Consideration 6 of the Readme states:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;quot;The Master Boot Record (MBR) must be configured properly for the Rescue and Recovery application to function properly.  When possible, the Rescue and Recovery application attempts to ensure the proper configuration of the MBR.  This can only occur if the Rescue and Recovery application is installed after other applications that requires the MBR.&amp;quot;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Apparently, the MBR is not &amp;quot;configured properly&amp;quot; if LILO or GRUB have written it. The following is the case:&lt;br /&gt;
*the default bootloader seems to ignore the active bit and always boots the first partition instead&lt;br /&gt;
*the default bootloader contains code to catch a press of the appropriate button during bootup and launch the Rescue and Recovery application in that case&lt;br /&gt;
*before launching the Rescue and Recovery application at system boot, the default bootloader changes the partition type of the Rescue and Recovery partiton to 0x0b, otherwise it changes it to 0x12 (to hide it from Windows)&lt;br /&gt;
*the Rescue and Recovery application assumes that the first partition contains Windows&lt;br /&gt;
*the Rescue and Recovery partition needs to be of type 0x0b (FAT32) otherwise the default bootloader will not launch the Rescue and Recovery application&lt;br /&gt;
&lt;br /&gt;
Since neither LILO nor GRUB catch the press of the button (an undocumented mechanism anyway) it is not possible to launch the Rescue and Recovery application by pressing the appropriate button during system boot, once LILO or GRUB have altered the MBR for their boot procedure.&lt;br /&gt;
&lt;br /&gt;
IBM provides a program to manage the Rescue and Recovery bootloader. It is located in {{path|C:\Program Files\IBM ThinkVantage\Common\BMGR}} or {{path|C:\Program Files\Common Files\Lenovo\BMGR}}. It can select the partition to boot, and also allows for rewriting the MBR if it was written by another bootloader.&lt;br /&gt;
&lt;br /&gt;
===MBR written by GRUB===&lt;br /&gt;
If the MBR was written by GRUB you can still use GRUB to launch the Rescue and Recovery application. However if you leave the type of the Rescue and Recovery partition to 0x12 (Compaq diagnostics), this will result in an error message &amp;quot;c000021a, Fatal System Error&amp;quot; if you try to launch it. To avoid that and to make sure the recovery partition always is of the right type, add a line to change the partition type to 0x0b to the Rescue and Recovery partition's entry in your {{path|/boot/grub/menu.lst}}. Assuming your Rescue and Recovery partition is the second partition, it could look like this:&lt;br /&gt;
  title           IBM Rescue and Recovery&lt;br /&gt;
  root            (hd0,1)&lt;br /&gt;
  '''parttype        (hd0,1) 0x0b'''&lt;br /&gt;
  '''unhide          (hd0,1)'''&lt;br /&gt;
  chainloader     +1&lt;br /&gt;
&lt;br /&gt;
Also add an &amp;lt;tt&amp;gt;unhide&amp;lt;/tt&amp;gt; line here because we are going to hide the Rescue and Recovery partition on every boot of Windows, so we need to unhide it, when the recovery partition is booted. This is because if we don't hide the partition when booting Windows, it would be visible and accessable there and that's not what we want. So, assuming that Windows is on the first partition, the Windows entry could now look like this:&lt;br /&gt;
  title           Windows&lt;br /&gt;
  root            (hd0,0)&lt;br /&gt;
  '''hide            (hd0,1)'''&lt;br /&gt;
  chainloader     +1&lt;br /&gt;
&lt;br /&gt;
===GRUB in a partitions boot sector===&lt;br /&gt;
A way to have your Access IBM button still functional on bootup, is to create a separate {{path|/boot}} partition, install GRUB to that partition and make it active. This will leave the MBR untouched.&lt;br /&gt;
{{NOTE|If the above finding is true that the MBR ignores the active bit, that partition has to be the first one. In most recent Linux distributions it is not easy to create /boot as first partition and shrink the Windows partition. In that case the Windows bootloader can be used to boot Windows and Linux, also preserving the Rescue and Recovery functionality. See below.}}&lt;br /&gt;
*In the BIOS, set the IBM Predesktop Area to 'Secure'.&lt;br /&gt;
*Boot your Linux distribution's installation CD.&lt;br /&gt;
*Follow the instructions and go through the regular installation process.&lt;br /&gt;
*Create a primary partition for /boot (the other stuff can go into the extended partitions) and when the time comes to install GRUB, make sure you install it into the boot sector of the boot partition.&lt;br /&gt;
*Set this boot partition as active.&lt;br /&gt;
&lt;br /&gt;
===Using NTLDR to boot Linux===&lt;br /&gt;
It is possible to configure the Windows bootloader to also boot Linux (installed on separate partition). This allows to preserve the Rescue and Recovery functionality at system boot (as MBR is not modified), Windows XP (booted via its native bootloader) and Linux (booted from its own partition by Windows XP bootloader). A quick and dirty howto, regarding applying this procedure to Ubuntu Dapper Drake installation can be found [http://gawrysiak.org/corvus/?p=4 here].&lt;br /&gt;
&lt;br /&gt;
==Older versions of Rescue and Recovery==&lt;br /&gt;
Some Thinkpads (e.g., T23 and T30) do not come with a Recovery CD, but also do not support the [[Hidden Protected Area]].  These ThinkPads have an older version of Rescue and Recovery preloaded on the hard disk to implement the factory recovery function.  Most of the comments above also apply to the older versions, with the following differences:&lt;br /&gt;
*The recovery partition type is 0x1c, hidden FAT32, LBA-mapped (or 0xc when unhidden).&lt;br /&gt;
*The boot manager program is in {{path|C:\IBMTOOLS\RECOVERY}} and only runs in a 16-bit DOS environment&lt;br /&gt;
{{Fixme|name of this boot manager needed}}&lt;br /&gt;
*The IBM Predesktop area runs atop of Windows 98 (command-line) instead of WinPE&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
* IBM page on [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-4Q2QAK ThinkVantage Rescue and Recovery].&lt;br /&gt;
* [ftp://ftp.software.ibm.com/pc/pccbbs/thinkvantage_en/tvtrnr3_1027en.txt Rescue and Recovery Readme]&lt;br /&gt;
* [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-46088 IBM page about accessing the Recovery Partition if Linux has been installed and the F11 button no longer works]&lt;br /&gt;
* [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-54483 IBM Rescue and Recovery repair diskette]&lt;br /&gt;
&lt;br /&gt;
==Models featuring this technology==&lt;br /&gt;
* ThinkPad {{T23}}, {{T30}} (R&amp;amp;R 2.0)&lt;br /&gt;
* ThinkPad {{T42}}&lt;br /&gt;
* ThinkPad {{T43}}, {{T43p}}&lt;br /&gt;
* ThinkPad {{R52}}&lt;br /&gt;
* ThinkPad {{Z60m}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;/div&gt;</summary>
		<author><name>CarlosLiu</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_5.04_on_a_ThinkPad_T43_(1875)&amp;diff=25312</id>
		<title>Installing Ubuntu 5.04 on a ThinkPad T43 (1875)</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_5.04_on_a_ThinkPad_T43_(1875)&amp;diff=25312"/>
		<updated>2006-10-17T13:22:36Z</updated>

		<summary type="html">&lt;p&gt;CarlosLiu: fix link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I installed {{Ubuntu}} 5.04 &amp;quot;Hoary Hedgehog&amp;quot; on a IBM {{T43}} 1875-E5U.&lt;br /&gt;
&lt;br /&gt;
Before starting the installation, make a copy of the IBM system restore CD's. You can do this in Windows by going to the Access IBM Start Menu option, and clicking on Create Rescue Cd's. '''This is extremely important!!!''' In case you erase your IBM system rescue partition, or remove the BootLoader, these CD's are the only way you can restore your machine to Factory settings. You'll need six blank CD's, or one blank CD and one blank DVD, if you have a DVD-Writer.&lt;br /&gt;
&lt;br /&gt;
Once this is done, install as usual. The only gotcha is the installation of the Boot-loader. There is a method by which you can save your current MBR, so that you don't lose the Access IBM button's functionaltiy, but I don't know it. Please update this page if you know (Note: See section on [[#Getting_Access_IBM_to_Work_1|Partitioning]] at the bottom of this page). (Additional note: As of Ubuntu 5.10, if one chooses to resize existing partitions during installation without making other changes, both the factory-installed Windows and IBM recovery partitions are preserved.)&lt;br /&gt;
&lt;br /&gt;
I installed grub in the MBR of my hard disk. After rebooting, the Access IBM button was not working anymore. My rescue partition would not boot. After the text based installation ended, Ubuntu said that it starting X. Then I got a blank screen. &lt;br /&gt;
&lt;br /&gt;
(See below for an alternative means of booting the rescue partition if this happens to you.)&lt;br /&gt;
&lt;br /&gt;
My machine has the [[Intel Graphics Media Accelerator 900]] installed. To get X working, I had to edit the x.org file. I did this in the following manner:&lt;br /&gt;
&lt;br /&gt;
*Press {{key|Ctrl}}{{key|Alt}}{{key|F2}} to get a Virtual Terminal&lt;br /&gt;
*Login as the user you made while installing&lt;br /&gt;
*{{cmduser|sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup}} (keep a backup)&lt;br /&gt;
*{{cmduser|sudo vi /etc/X11/xorg.conf}}&lt;br /&gt;
*scroll down to this section &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Intel Corporation Intel Default Card &amp;quot;&lt;br /&gt;
        Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
        BusID       &amp;quot;PCI:0:2:0&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
*Change Driver &amp;quot;i810&amp;quot; to Driver &amp;quot;vesa&amp;quot;&lt;br /&gt;
*save and exit &lt;br /&gt;
&lt;br /&gt;
After this, I used {{key|Ctrl}}{{key|Alt}}{{key|F7}} to come back to the X terminal, then {{key|Ctrl}}{{key|ALt}}{{key|Backspace}} to restart it. X started successfully.&lt;br /&gt;
&lt;br /&gt;
The next thing to do was use the excellent [http://ubuntuguide.org Unofficial Ubuntu Guide] to set up various things. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After hunting around on the net, I came across two excellent guides. These are [http://columbia.edu/~em36/ubuntuhoarythinkpadt42.html Edward Mendelson's guide to Ubuntu on a T42] and [http://aaltonen.us/archive/2005/03/02/ubuntu-linux-on-the-ibm-thinkpad-t42/ aaltonen.us Ubuntu Guide]&lt;br /&gt;
&lt;br /&gt;
I have reproduced sections from these two guides. The authors have been notified of this.&lt;br /&gt;
&lt;br /&gt;
== Install a kernel for your Pentium 4 CPU ==&lt;br /&gt;
&lt;br /&gt;
Use the Gnome menu System | Administration | Synaptic Package Manager, and search and install the two packages linux-686 and (while you are here) build-essential. The first of these installs the version of the kernel that specifically supports Pentium 4; the second provides essential files for â€œbuildingâ€ other programs if necessary. Reboot. The 686 kernel should be at the top of the list of boot options. Boot into it.&lt;br /&gt;
&lt;br /&gt;
== Enable sleep and hibernation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Open a terminal and enter these commands:&lt;br /&gt;
&lt;br /&gt;
:{{cmduser|sudo cp /etc/default/acpi-support /etc/default/acpi-support-backup}}&lt;br /&gt;
:{{cmduser|sudo gedit /etc/default/acpi-support}}&lt;br /&gt;
&lt;br /&gt;
Edit the file by removing the # character at the beginning of the line that will look like this when the character is removed:&lt;br /&gt;
&lt;br /&gt;
 ACPI_SLEEP=true&lt;br /&gt;
&lt;br /&gt;
Save the file. Next, in the terminal, enter:&lt;br /&gt;
&lt;br /&gt;
:{{cmduser|sudo cp /boot/grub/menu.lst /boot/grub/menu.lst-backup2}}&lt;br /&gt;
:{{cmduser|sudo gedit /boot/grub/menu.lst}}&lt;br /&gt;
&lt;br /&gt;
and go to the line starting with &amp;lt;tt&amp;gt;#kopt&amp;lt;/tt&amp;gt;. Add the following at the end of the existing line (replace &amp;lt;tt&amp;gt;/dev/hda5&amp;lt;/tt&amp;gt; with your swap partition, which you can identify by entering the command {{cmdroot|fdisk -l}} in the terminal&lt;br /&gt;
&lt;br /&gt;
 resume=/dev/hda5 vga=0x318&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;vga=0x318&amp;lt;/tt&amp;gt; string forces the text-mode display during boot-up and shutdown to display in 50-line mode instead of the ugly 25-line mode. This string is perfect for a 1024x768 screen, but you might want something different. You might want to consult this full list of VGA modes for Linux. The #kopt line should look something like this (if you do not find the strings {{bootparm|pci|noacpi}} and {{bootparm|acpi_sleep|s3_bios}} then add them also)&lt;br /&gt;
&lt;br /&gt;
 # kopt=root=/dev/hda1 ro pci=noacpi acpi_sleep=s3_bios resume=/dev/hda5 vga=0x318&lt;br /&gt;
&lt;br /&gt;
If you intend to run the command {{cmduser|sudo update-grub}} after you save the file, then save the file now. If you do not intend to run that command, then add these strings by hand to the kernel line that launches Ubuntu and reboot.&lt;br /&gt;
&lt;br /&gt;
To suspend to RAM (sleep), press the ThinkPadâ€™s sleep button ({{key|Fn}}{{key|F4}}); to wake up the system, press the {{key|Fn}} key, wait a few seconds, and press {{key|Ctrl}}{{key|Alt}}{{key|Backspace}} to restart the Xwindow graphic system.&lt;br /&gt;
&lt;br /&gt;
To suspend to disk (hibernate), press the ThinkPad's hibernate button ({{key|Fn}}{{key|F12}}), or use the option to hibernate the computer on the logout menu. Press the power button to wake the system; the desktop should reappear automatically.&lt;br /&gt;
&lt;br /&gt;
== Install on-screen confirmation of the ThinkPad buttons ==&lt;br /&gt;
&lt;br /&gt;
The program tpb (ThinkPad Buttons) makes all the ThinkPad-specific buttons and Fn-key combinations work as expected (some buttons, such as the ones that control screen brightness, are hardware-controlled and work under any operating system). As explained by Michael R Head in his post in this [http://ubuntuforums.org/showthread.php?t=24685 thread] , the Ubuntu Hoary version of tpb does not support on-screen display (OSD) of the results of your actions. To correct this, download the latest Debian version of the program from the [http://packages.debian.org/stable/utils/tpb Debian.org] site (scroll down to the box under the heading &amp;quot;Download tpb&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
Open a terminal, use the cd command to navigate to the directory in which you downloaded the package and enter:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg -i tpb*&lt;br /&gt;
&lt;br /&gt;
On the Gnome menu, use System | Preferences | Sessions | Startup Programs and use the Add button to add the following command:&lt;br /&gt;
&lt;br /&gt;
 tpb -d&lt;br /&gt;
&lt;br /&gt;
If you want the Access IBM button to start your screensaver, open a terminal and enter these commands:&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/tpbrc /etc/tpbrc-backup&lt;br /&gt;
 sudo gedit /etc/tpbrc&lt;br /&gt;
&lt;br /&gt;
Edit the file by adding this line below the line that begins #THINKPAD /usr/bin, etc.:&lt;br /&gt;
&lt;br /&gt;
 THINKPAD /usr/bin/xscreensaver-command -activate&lt;br /&gt;
&lt;br /&gt;
Save the file. In the terminal, run man tpb to learn about other ways to use the Access IBM button.&lt;br /&gt;
&lt;br /&gt;
I believe some of the following steps may have performed automagically during installation (I simply don't remember whether they were or not), but you should perform all the steps anyway to make certain that everything is set up correctly.&lt;br /&gt;
&lt;br /&gt;
First, in a terminal, enter the commands (replacing [username] with your username):&lt;br /&gt;
&lt;br /&gt;
 echo nvram | sudo tee -a /etc/modules&lt;br /&gt;
 sudo addgroup nvram&lt;br /&gt;
 sudo adduser [username] nvram&lt;br /&gt;
&lt;br /&gt;
I don't pretend to understand exactly what this does, but the first line adds the string &amp;quot;nvram&amp;quot; at the end of the file /etc/modules; the next two lines create a group called nvram and add yourself to the group. Next, enter these commands in the terminal:&lt;br /&gt;
&lt;br /&gt;
 cd /etc/udev/permissions.d&lt;br /&gt;
 sudo cp udev.permissions udev.permissions-backup&lt;br /&gt;
 sudo gedit udev.permissions&lt;br /&gt;
&lt;br /&gt;
Edit the file to make sure these lines are present (add them if necessary, perhaps to the top of the second set of lines under the heading # character devices:&lt;br /&gt;
&lt;br /&gt;
 misc/nvram:root:nvram:660&lt;br /&gt;
 nvram:root:nvram:660&lt;br /&gt;
&lt;br /&gt;
Save the file and reboot.&lt;br /&gt;
&lt;br /&gt;
Note: the tpb program does not provide visual confirmation for the Fn+F5 button that toggles the wireless radio, but the button does toggle the radio on and off, exactly as it does in Windows. The indicator light works as well.&lt;br /&gt;
&lt;br /&gt;
== Enable TrackPoint middle-button scrolling ==&lt;br /&gt;
&lt;br /&gt;
To use the blue middle TrackPoint button as a scroll wheel, do the following. In a terminal, enter these commands:&lt;br /&gt;
&lt;br /&gt;
 sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf-backup&lt;br /&gt;
 sudo gedit /etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
In the editor, find the section headed Section â€œInputDeviceâ€ / Identifier â€œConfigured Mouseâ€ and the following lines above the â€œEndSectionâ€ line:&lt;br /&gt;
&lt;br /&gt;
 Option    &amp;quot;EmulateWheel&amp;quot;        &amp;quot;true&amp;quot;&lt;br /&gt;
 Option    &amp;quot;EmulateWheelButton&amp;quot;  &amp;quot;2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save the file. Logout, restart X with Ctrl-Alt-Backspace, and log in again.&lt;br /&gt;
&lt;br /&gt;
== Don't slow down boot-up by synchronizing with network time ==&lt;br /&gt;
&lt;br /&gt;
Ubuntu pauses during boot-up while attempting to synchronize the system clock with a remote time server, but you probably aren't connected to the internet when you boot with a ThinkPad, so this attempt accomplishes nothing. Eliminate this delay by opening a terminal and entering:&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/init.d/ntpdate&lt;br /&gt;
&lt;br /&gt;
Change the line 20 from&lt;br /&gt;
&lt;br /&gt;
 /usr/sbin/ntpdate -b -s $NTPOPTIONS $NTPSERVERS&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
 /usr/sbin/ntpdate -b -s $NTPOPTIONS $NTPSERVERS &amp;amp;&lt;br /&gt;
&lt;br /&gt;
Now the ntp process is detached and boot-up can continue while the clock is been synchronized.&lt;br /&gt;
&lt;br /&gt;
== Don't slow down boot-up when no Ethernet cable is attached ==&lt;br /&gt;
&lt;br /&gt;
In Synaptic find and install the ifplugd package. After installing it, open a terminal and run this command&lt;br /&gt;
&lt;br /&gt;
 sudo gedit /etc/default/ifplugd&lt;br /&gt;
&lt;br /&gt;
Edit the file by modify the lines INTERFACES=&amp;quot;&amp;quot; and HOTPLUG_INTERFACES=&amp;quot;&amp;quot; if no interfaces are listed or if the wrong interfaces are listed. You probably only want to test the hotplug status of the wired Ethernet connection, so the lines should read:&lt;br /&gt;
&lt;br /&gt;
 INTERFACES=&amp;quot;eth0&amp;quot;&lt;br /&gt;
 HOTPLUG_INTERFACES=&amp;quot;eth0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
I don't pretend to understand these options fully, so please post corrections if I'm wrong. I've also modified the ARGS= line to add the string -b which silences the otherwise excessive beeping when you plug or unplug the cable. Save the file and reboot.&lt;br /&gt;
&lt;br /&gt;
== Getting Access IBM to Work {{footnote|1}}==&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANT NOTE'''&lt;br /&gt;
&lt;br /&gt;
This is for readers with T40 or T41 notebooks, which try to have all: Windows, working Access IBM and linux.&lt;br /&gt;
&lt;br /&gt;
What is described below this note will work only in case that your IBM PreDesktop Area is in a system partition. (Visible &amp;quot;ordinary&amp;quot; partition of usually 3 - 5GB size, with type ID 0x12.)&lt;br /&gt;
&lt;br /&gt;
Older Thinkpads like T40(p) or T41(p) use a HPA (Hidden Protected Area) instead of this system partition for this PreDesktop Area.  Unfortunately the linux kernel disables this area (every time non preventable?) at boot time and if you later choose &amp;quot;Use largest unpartitioned space&amp;quot; during ubuntu installation, you will destroy the HPA. Additionally GRUB will write this &amp;quot;altered&amp;quot; geometry (with disabled HPA) into the MBR. This leads to a totally broken system. After reboot windows will boot to bluescreen (Unmountable Volume) and Access IBM will not work as well. It seems that the special IBM MBR has to be there for accessing the hidden partitions in the HPA.&lt;br /&gt;
So far, I could not yet install ubuntu (preserving winxp (with security chip on) and preserving IBM PreDesktop Area, with success. Any ideas very welcome. (I will try to partition manually and install GRUB or LILO NOT to MBR and report the results.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Partitioning'''&lt;br /&gt;
&lt;br /&gt;
The great thing about the Ubuntu installer is that it is able to resize NTFS partitions. Just choose the manual partitioning option, select the XP partition and change it's size. The partition should not be fragmented as this may cause problems during resizing. Doesn't hurt to run the XP drive defragmentation tool before shrinking the partition this way.&lt;br /&gt;
&lt;br /&gt;
The 80GB disk of my T42 had two partitions on it:&lt;br /&gt;
-Windows XP taking up around 75 GB&lt;br /&gt;
-5GB IBM Rescue system you can boot into by pressing the blue {{ibmkey|Access IBM|#495988}} key during startup. Interesting thing, seems to contain a complete OS including Opera browser, somehow looks like Win 3.11 or 95.&lt;br /&gt;
&lt;br /&gt;
As the disk is large enough, I decided to keep both systems. I changed the size of the windows partition to around 20 GB and created my new partitions in the now free space between xp and ibm rescue partition:&lt;br /&gt;
&lt;br /&gt;
  Disk /dev/hda: 80.0 GB, 80026361856 bytes&lt;br /&gt;
  16 heads, 63 sectors/track, 155061 cylinders&lt;br /&gt;
  Units = cylinders of 1008 * 512 = 516096 bytes&lt;br /&gt;
  &lt;br /&gt;
     Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;
  /dev/hda1   *           1       38760    19535008+   7  HPFS/NTFS&lt;br /&gt;
  /dev/hda2          145411      155055     4861080   12  Compaq diagnostics&lt;br /&gt;
  /dev/hda3           38761       43127     2200905   82  Linux swap / Solaris&lt;br /&gt;
  /dev/hda4           43127      145398    51544552+   5  Extended&lt;br /&gt;
  /dev/hda5           43127       81887    19535008+  83  Linux&lt;br /&gt;
  /dev/hda6           81887      145398    32009481   83  Linux&lt;br /&gt;
  &lt;br /&gt;
hda5 will become the root fs, hda6 my {{path|/home}} partition.&lt;br /&gt;
&lt;br /&gt;
'''Grub installation'''&lt;br /&gt;
&lt;br /&gt;
I told the Ubuntu installer to install Grub into the MBR. The following entries in {{path|/boot/grub/menu.lst}} allow to boot Windows and the IBM rescue system:&lt;br /&gt;
&lt;br /&gt;
  # IBM rescue partition on /dev/hda2&lt;br /&gt;
  title           IBM Rescue&lt;br /&gt;
  root            (hd0,1)&lt;br /&gt;
  # savedefault&lt;br /&gt;
  makeactive&lt;br /&gt;
  chainloader     +1&lt;br /&gt;
 &lt;br /&gt;
  # Win XP on /dev/hda1   &lt;br /&gt;
  title           Microsoft Windows XP Professional&lt;br /&gt;
  root            (hd0,0)&lt;br /&gt;
  savedefault&lt;br /&gt;
  makeactive&lt;br /&gt;
  chainloader     +1&lt;br /&gt;
&lt;br /&gt;
I don't remember if the installer added those automatically, or if I did so, anymore. Just make sure they are there.&lt;br /&gt;
Check if everything works&lt;br /&gt;
&lt;br /&gt;
You should now be able to boot into all three systems without problems.&lt;br /&gt;
&lt;br /&gt;
{{footnotes|&lt;br /&gt;
#The above excerpt has been taken from [http://www.jkraemer.net/knowhow/t42_ubuntu.html jkraemer.net] which describes installing Ubuntu on an IBM T42. The same steps should be applicable to the T43 as well. If you encounter problems getting Access IBM working please describe them here.&lt;br /&gt;
# The following link describes how to set-up dual boot while still being able to use the access key [http://sharadware.com/2005/07/11/suse-linux-winxp-access-ibm-on-the-thinkpad-t43/]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
'''An Additional Note about Booting to the IBM Recovery Partition'''&lt;br /&gt;
&lt;br /&gt;
During installation I also installed GRUB to the MBR, thus wiping out the original one from IBM (which their tech support people then confirmed could not be recovered except by completely restoring to factory-shipped state).  The installation program did successfully auto-detect the IBM Recovery partition, and added it to the GRUB menu.  However, when I tried booting into it, the sequence only just began, then went to a blue error screen unable to complete the process.  I later discovered that this partition was set to type 0x12 (&amp;quot;Compaq Diagnostics&amp;quot;), when in fact it should be 0x0b (&amp;quot;W95 FAT32&amp;quot;).  I ran fdisk -l to find which partition was the IBM Recovery one.  Then, fdisk /dev/sda (or hda, etc., depending on your system), command t (type), partition number 2 (whichever one you determine to be the recovery), changed to type 0b.  Relist to double-check; it should now read W95 FAT32 for the partition in the partition table.  Then, remember to use the command w to write the changes to the disk (without this it does nothing of course).  I rebooted the system, choose the IBM Recovery partition from the GRUB menu, and now it worked just fine.&lt;br /&gt;
&lt;br /&gt;
== Conclusion ==&lt;br /&gt;
&lt;br /&gt;
In the end, Ubuntu turned out to be a beautiful distro to install. Most of it &amp;quot;just worked&amp;quot;, and with a little tweaking, I have reached a level of functionality that eluded me with Suse.&lt;br /&gt;
&lt;br /&gt;
Here's a quick summary.&lt;br /&gt;
&lt;br /&gt;
Worked out of the Box:&lt;br /&gt;
Sound, Networking (wired and wireless), Power Management, Hibernate, ThinkPad Buttons (without OSD)&lt;br /&gt;
&lt;br /&gt;
Worked after little tweaking:&lt;br /&gt;
Sleep, Middle button scrolling, ThinkPad Buttons OSD.&lt;br /&gt;
&lt;br /&gt;
Did not Work:&lt;br /&gt;
IBM Rescue and Recovery Partition. Don't forget to make the Rescue CD's&lt;/div&gt;</summary>
		<author><name>CarlosLiu</name></author>
		
	</entry>
</feed>