<?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=Voominc</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=Voominc"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Voominc"/>
	<updated>2026-05-04T04:57:07Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Rescue_and_Recovery&amp;diff=50399</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=50399"/>
		<updated>2011-01-31T03:49:13Z</updated>

		<summary type="html">&lt;p&gt;Voominc: Added TOC&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 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 (sometimes labeled &amp;quot;IBM_SERVICE&amp;quot;, &amp;quot;SERVICEV001&amp;quot;, etc.), 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]] 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 with carefully.&lt;br /&gt;
&lt;br /&gt;
Rescue and Recovery is a Windows-specific feature. If you intend to recover into Windows when you have an issue, it is important to follow the warnings here carefully. If you intend to run another operating system exclusively and never return to Windows, removing this partition is safe. If you remove it, you can still reinstall windows at a later time, provided you have created a Recovery set of discs (1CD + 1DVD or 5CDs required). Booting from the Recovery CD will restore the system to the factory state including the recovery partition.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
__TOC__&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;
*When booting from the Rescue and Recovery partition, it needs to have its type set (either by Thinkvantage or by GRUB) to 0x0b (FAT32) for the default bootloader to 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. More information is needed about this program. Here is an example that restores the IBM MBR. It seems that it only extends the already installed MBR. Therefore you must have a valid Windows MBR installed if you want to boot into Windows. The GRUB MBR doesn't work here.&lt;br /&gt;
&lt;br /&gt;
 cd C:\Program Files\IBM ThinkVantage\Common\BMGR&lt;br /&gt;
 bmgr32 /Fbootmgr.bin /v&lt;br /&gt;
&lt;br /&gt;
Some more information about BMGR here, but it may be slightly out of date:&lt;br /&gt;
http://www.redbooks.ibm.com/abstracts/SG247107.html (lookup BMGR32 in the Index)&lt;br /&gt;
&lt;br /&gt;
Sometimes it is not enough to simply restore the IBM MBR if you want to boot into Windows. The Windows MBR might have been overwritten by another bootloader. In that case you should restore the Windows MBR using a Windows CD. More info can be found on http://www.novell.com/documentation/suse91/suselinux-adminguide/html/ch07s05.html&lt;br /&gt;
&lt;br /&gt;
*On my T42p and T43p, BMGR32.EXE was in {{path|C:\IBMTOOLS\utils}}. What seemed to work best was to run it first with /Fbootmgr.bin reboot, and if that didn't fix R&amp;amp;R, run it again with the /B0 /M0 /OEM switches. Have a XP install CD ready so you can do a FIXMBR from the Recovery Console if the machine won't boot (happened to me several times).&lt;br /&gt;
&lt;br /&gt;
*On my X32, BMGR32.EXE is also in {{path|C:\IBMTOOLS\utils}}. It works best with the /M2 switch to restore the R&amp;amp;R MBR:&lt;br /&gt;
&lt;br /&gt;
  cd \IBMTOOLS\utils&lt;br /&gt;
  bmgr32 /Fbootmgr.bin /M2 /V&lt;br /&gt;
&lt;br /&gt;
:/M0 also works, but /M2 restores it to factory state. As stated above, you must restore the MBR to the Windows XP MBR first before running bmgr32.exe.&lt;br /&gt;
&lt;br /&gt;
:If you've run bmgr32.exe too many times, you might have to clear the sectors from sector 1 to sector 62 (sector 0 is the MBR). If you know what you are doing, the following Linux dd command can do it for you:&lt;br /&gt;
&lt;br /&gt;
  dd if=/dev/zero of=/dev/sda bs=512 seek=1 count=62&lt;br /&gt;
&lt;br /&gt;
:This command is safe to run only when the first partition starts at sector 63, the 64th sector of the hard drive (probably true).&lt;br /&gt;
&lt;br /&gt;
===MBR written by GRUB===&lt;br /&gt;
The MBR written by GRUB can be used to launch the Rescue and Recovery application. However, if you leave the type of the Rescue and Recovery partition to 0x12 (Compaq diagnostics), trying to boot this partition will result in an error message &amp;quot;c000021a, Fatal System Error&amp;quot;. To avoid that, and to make sure the recovery partition is always of the right type, add a line to change the partition type to 0x0b (FAT32) to the Rescue and Recovery partition's entry in your {{path|/boot/grub/menu.lst}}. Also, as we will be hiding the Rescue and Recovery partition from Windows (see below), we need to &amp;lt;tt&amp;gt;unhide&amp;lt;/tt&amp;gt; the partition here to make sure it will be visible and bootable. So, assuming your Rescue and Recovery partition is the second partition, the GRUB entry would look like this:&lt;br /&gt;
&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;
{{NOTE|Some people reported this not working (in particular, on a {{Z61m}} 9450-3HG). Version 4.0 of Rescue and Recovery uses an NTFS partition, so a partition type of 0x07 (HPFS/NTFS) may be needed.&lt;br /&gt;
}}&lt;br /&gt;
{{Todo|verify this note}}&lt;br /&gt;
&lt;br /&gt;
You will find that while the above lets you launch the Rescue and Recovery application, trying to run the Hardware Diagnostics tool will fail, as it needs a &amp;quot;properly configured&amp;quot; (original) MBR. What happens is that to run the hardware diagnostics, the R&amp;amp;R software temporarily changes the &amp;quot;properly configured&amp;quot; MBR to boot a PC-DOCTOR disk image found on the Rescue and Recovery partition, then asks you to reboot. So all we need to do to get the Hardware Diagnostics back is add another entry to {{path|/boot/grub/menu.lst}}, that will load the PC-DOCTOR disk image. The entry is similar to the &amp;lt;tt&amp;gt;IBM Rescue and Recovery&amp;lt;/tt&amp;gt; one above, with a different &amp;lt;tt&amp;gt;chainloader&amp;lt;/tt&amp;gt; line:&lt;br /&gt;
&lt;br /&gt;
  title           Hardware Diagnostics&lt;br /&gt;
  root            (hd0,1)&lt;br /&gt;
  parttype        (hd0,1) 0x0b&lt;br /&gt;
  unhide          (hd0,1)&lt;br /&gt;
  '''chainloader     /bootsect.dos'''&lt;br /&gt;
&lt;br /&gt;
Finally, as mentioned previously, the Rescue and Recovery partition should be hidden from Windows. This is to prevent any modifications being done to it, as they may damage the Rescue and Recovery software. So, assuming that Windows is on the first partition, the Windows GRUB entry would look like this:&lt;br /&gt;
&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 partition's 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 Product Recovery to Restore the Windows MBR===&lt;br /&gt;
The Product Recovery CD/DVD-ROM erases your hard disk and restores it to its original factory state with Windows.  The GRUB MBR can interfere with this.  The symptom is that you try to recover, but the recovery process ends immediately, and the computer tries to boot with GRUB.  The problem is that the one part of the disk that Product Recovery (version 5.6) does not overwrite is the MBR.&lt;br /&gt;
&lt;br /&gt;
If this happens to you, first completely erase your hard disk using PC Doctor on the IBM Product Recovery CD-ROM:&lt;br /&gt;
&lt;br /&gt;
* Insert Product Recovery Disk 1 (this procedure assumes version 5.6, circa 2002)&lt;br /&gt;
* Power up the computer, press F12, select ''CD-ROM Drive'' as the boot device&lt;br /&gt;
* After IBM Product Recovery boots, it will give you two choices:&lt;br /&gt;
** ''Full Recovery''.  Presumably you already tried this and failed.&lt;br /&gt;
** ''System Utilities''.  '''Select this'''.&lt;br /&gt;
* Select ''Run diagnostics''.  The PC Doctor diagnostic program will start.&lt;br /&gt;
* In the menu along the top, choose ''Utility''.&lt;br /&gt;
* In this menu, choose ''Full Erase Hard Drive'' and confirm that you really want to erase.  ''Full Erase'' works, but takes about two minutes per gigabyte.  If you find that ''Quick Erase Hard Drive'' also works, please edit that fact into this document.&lt;br /&gt;
&lt;br /&gt;
After ''Erase Hard Drive'' finishes, your hard drive has no MBR, so Product Recovery has no choice but to install a new one.&lt;br /&gt;
&lt;br /&gt;
* Reboot, press F12, select ''CD-ROM Drive'' as the boot device&lt;br /&gt;
* After IBM Product Recovery boots, this time select ''Full Recovery''&lt;br /&gt;
&lt;br /&gt;
===Using the Windows Bootloader to Boot Linux===&lt;br /&gt;
The NTLDR Windows bootloader can be configured to boot Linux in addition to Windows.  The master boot record (MBR) is unchanged, so the ThinkVantage Rescue and Recovery system boot functionality is preserved.  This clever procedure was [http://gawrysiak.org/corvus/?p=4 originally applied] to Ubuntu Dapper Drake, and is generalized here.&lt;br /&gt;
&lt;br /&gt;
0. Added warning: with this method, you cannot hibernate windows and boot anything else. The windows boot loader jumps on resuming windows before asking anything (and you can already verify this right now, whatever your current configuration is).&lt;br /&gt;
&lt;br /&gt;
1. Boot Windows and make product recovery disks.  You will see this step repeated throught this wiki for good reason.  The recovery disks can refresh your hard disk to its original factory state, getting you out of the trouble you might make in the next step.&lt;br /&gt;
&lt;br /&gt;
2. Shrink the Windows NTFS partition to the size you like.  You will need a bootable CD that is capable of resizing NTFS partitions.  I have done this before with Knoppix, but this time I used Partition Magic (US$70).&lt;br /&gt;
&lt;br /&gt;
Leave the Rescue and Recovery partition (~5GB) at the end of the disk.  Other authors claim that it ''must not'' be moved.  I did move it, and it works fine.  Still, in retrospect I agree that the end of the disk is the best place for your Rescue and Recovery partition.&lt;br /&gt;
&lt;br /&gt;
3. Reboot.  Push the {{ibmkey|ThinkVantage|#495988}} button during system boot, and verify that Rescue and Recovery still runs.  Reboot into Windows to verify that the partition resize was successful.&lt;br /&gt;
&lt;br /&gt;
4. Begin your Linux installation.  Linux will see the Windows NTFS partition as /dev/sda1, and the Rescue and Recovery FAT32 partition as /dev/sda2.  When the Linux installer asks you about GRUB, do not install GRUB in the MBR.  Instead, install GRUB in the /boot partition (most likely /dev/sda3).&lt;br /&gt;
&lt;br /&gt;
5. After the Linux installation is finished, reboot with a bootable Linux live CD.  The &amp;quot;rescue mode&amp;quot; of your Linux installation CD #1 should work fine for this.  Usually you start the rescue mode with the command,&lt;br /&gt;
&lt;br /&gt;
    linux rescue&lt;br /&gt;
&lt;br /&gt;
Start the network if you plan to use FTP in step 7.&lt;br /&gt;
&lt;br /&gt;
6. After you get a shell prompt, become root if necessary, and then write the first sector of the /boot partition (probably /dev/sda3) to a file using the dd command:&lt;br /&gt;
&lt;br /&gt;
     sudo -i                   # If necessary&lt;br /&gt;
     cd /mnt/sysimage/boot     # Or wherever your live CD mounts the /boot partition&lt;br /&gt;
     dd if=/dev/sda3 of=grub.img bs=512 count=1&lt;br /&gt;
&lt;br /&gt;
The resulting grub.img file should be 512 bytes long.&lt;br /&gt;
&lt;br /&gt;
7. Transfer the grub.img file somewhere where you can read it from Windows.  You can use removable media like a USB flash drive, or even FTP.&lt;br /&gt;
&lt;br /&gt;
8. Reboot into Windows. Copy the grub.img file to c:\grub.img.&lt;br /&gt;
&lt;br /&gt;
9. Make a backup copy of the c:\boot.ini NTLDR control file.  c:\boot.ini is read-only and hidden, so you will have to tell Windows to show hidden files, and turn off the read-only property on c:\boot.ini.&lt;br /&gt;
&lt;br /&gt;
10. Edit c:\boot.ini.  Append the line,&lt;br /&gt;
&lt;br /&gt;
    c:\grub.img=&amp;quot;Linux GRUB Bootloader&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So that Linux will boot by default, you may also want to change the default OS to c:\grub.img, and reduce the timeout to 5 seconds or so.  For reference, here is my c:\boot.ini file for Windows XP:&lt;br /&gt;
&lt;br /&gt;
    [boot loader]&lt;br /&gt;
    timeout=5&lt;br /&gt;
    default=c:\grub.img&lt;br /&gt;
    [operating systems]&lt;br /&gt;
    c:\grub.img=&amp;quot;Linux GRUB Bootloader&amp;quot;&lt;br /&gt;
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=&amp;quot;Windows XP Professional&amp;quot; /noexecute=optin /fastdetec&lt;br /&gt;
&lt;br /&gt;
11. Reboot.  Now the Windows boot menu should offer you a choice of &amp;quot;Linux GRUB Bootloader&amp;quot; or Windows XP.  Choose &amp;quot;Linux GRUB Bootloader&amp;quot;, and you will be taken to the GRUB boot menu, where you can select Linux, or even go back to the Windows boot menu.&lt;br /&gt;
&lt;br /&gt;
12. When you need Rescue and Recovery, push the {{ibmkey|ThinkVantage|#495988}} button upon system boot.  Since you have touched neither the MBR nor the Rescue and Recovery partition, Rescue and Recovery will work exactly the same as it did before you installed Linux.&lt;br /&gt;
&lt;br /&gt;
==Newer versions of Rescue and Recovery==&lt;br /&gt;
&lt;br /&gt;
Rescue and Recovery version 4 is installed on T61/R61.&lt;br /&gt;
&lt;br /&gt;
The partition type is 0x27. By factory default, the R&amp;amp;R partition is the first partition on the disk. The filesystem used is NTFS. The preloaded Windows appear as the second partition, with the active bit set.&lt;br /&gt;
&lt;br /&gt;
(_NOT_ on all T61s.  Mine has version 4, but the R&amp;amp;R partition is the 2nd,&lt;br /&gt;
and its ID is 0x12.  More work needed here....)&lt;br /&gt;
&lt;br /&gt;
(The same here on R61 8919-CTO - R&amp;amp;R version 4 was second partition of type FAT32)&lt;br /&gt;
&lt;br /&gt;
R&amp;amp;R version 4 bootloader seems to honor the active bit in the partition table. To install Linux while maintaining the R&amp;amp;R functionality is therefore rather straightforward:&lt;br /&gt;
&lt;br /&gt;
* Shrink the second Windows partition &amp;amp;ndash; or remove it if not needed&lt;br /&gt;
* Add partitions for Linux (or other operating systems), one of them has to be a '''primary partition''' since the R&amp;amp;R bootloader cannot boot from an extended one&lt;br /&gt;
* Install GRUB on the boot sector of the newly added primary partition&lt;br /&gt;
* Remove the active bit from the Windows partition and activate the boot partition with GRUB&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;
*The ThinkPad A22p laptop does not appear to have a boot manager (that I could find). I was able to restore Rescue and Recovery functionality on such a laptop by using a tool called MBRWizard to copy the first four sectors from a working laptop to a non-working one.&lt;br /&gt;
&lt;br /&gt;
== Recovery Boot Hangs ==&lt;br /&gt;
On an R61 I recently tried to restore XP via cd/dvd with a new hard drive in the machine which had fedora 9 installed with an encrypted partition. The boot cd/dvd would start booting, flash &amp;quot;inspecting machine configuration&amp;quot; or something similar, then hang on a blank screen. To check if your cd/dvd is actually okay or not, unplug the HD completely, in my case the cd/dvd booted fine after that. To &amp;quot;fix&amp;quot; this issue such that I could actually run restore, I booted fedora 9 from dvd, repartitioned the drive as unencrypted and vfat, after saving the new partition I was able to go back and boot the recovery cd/dvd. I'm not sure if you actually have to do exactly what I did to the drive or not but that's what I did and it worked so maybe some smaller subset would be sufficient.&lt;br /&gt;
&lt;br /&gt;
== Recovery from hard drive ==&lt;br /&gt;
&lt;br /&gt;
If you are able to load Rescue and Recovery either using F11, or the installed grub, or SGD (Super Grub Disk) (download at http://www.supergrubdisk.org/ and use the option Boot Window fron 2nd partition), you might restore the system to the factory preload.&lt;br /&gt;
&lt;br /&gt;
If you install GRUB in the MBR, the recover will start but it won't replace the MBR. In this case GRUB is started, but without other file it get stuck with error 22. To restore the MBR one could either try to use rnr31_rrd.exe (XP) or rnr40_rrd.ext (Vista) if you have a floppy disk. If you have only a cd on rapidshare there are iso image (google for instance using rnr31_rrd_fixed.iso). I tried but without success. Even if the machine does not boot, somehow the recovery takes place. Using SGD as boot loader the recovery can proceed, but so far I got an unstable machine. In particular the recovery cd cannot be produced anymore...&lt;br /&gt;
&lt;br /&gt;
==External links ==&lt;br /&gt;
* [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-4Q2QAK IBM 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?sitestyle=lenovo&amp;amp;lndocid=MIGR-46088 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;
* [http://www.bb242.de/2007/11/22/grub-bootable-auf-usb-stick/ How to reinstall grub from USB, if grub is corrupted after R&amp;amp;R update (German)]&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 {{T60}}, {{T60p}}&lt;br /&gt;
* ThinkPad {{T61}}, {{T61p}}&lt;br /&gt;
* ThinkPad {{R52}}&lt;br /&gt;
* ThinkPad {{R61}} (R&amp;amp;R version 4)&lt;br /&gt;
* ThinkPad {{Z60m}}&lt;br /&gt;
* Thinkpad {{Z61m}}&lt;br /&gt;
* Thinkpad {{X61}}, {{X32}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Rescue_and_Recovery&amp;diff=50398</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=50398"/>
		<updated>2011-01-31T03:46:46Z</updated>

		<summary type="html">&lt;p&gt;Voominc: &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 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 (sometimes labeled &amp;quot;IBM_SERVICE&amp;quot;, &amp;quot;SERVICEV001&amp;quot;, etc.), 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]] 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 with carefully.&lt;br /&gt;
&lt;br /&gt;
Rescue and Recovery is a Windows-specific feature. If you intend to recover into Windows when you have an issue, it is important to follow the warnings here carefully. If you intend to run another operating system exclusively and never return to Windows, removing this partition is safe. If you remove it, you can still reinstall windows at a later time, provided you have created a Recovery set of discs (1CD + 1DVD or 5CDs required). Booting from the Recovery CD will restore the system to the factory state including the recovery partition.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
__TOC__&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;
*When booting from the Rescue and Recovery partition, it needs to have its type set (either by Thinkvantage or by GRUB) to 0x0b (FAT32) for the default bootloader to 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. More information is needed about this program. Here is an example that restores the IBM MBR. It seems that it only extends the already installed MBR. Therefore you must have a valid Windows MBR installed if you want to boot into Windows. The GRUB MBR doesn't work here.&lt;br /&gt;
&lt;br /&gt;
 cd C:\Program Files\IBM ThinkVantage\Common\BMGR&lt;br /&gt;
 bmgr32 /Fbootmgr.bin /v&lt;br /&gt;
&lt;br /&gt;
Some more information about BMGR here, but it may be slightly out of date:&lt;br /&gt;
http://www.redbooks.ibm.com/abstracts/SG247107.html (lookup BMGR32 in the Index)&lt;br /&gt;
&lt;br /&gt;
Sometimes it is not enough to simply restore the IBM MBR if you want to boot into Windows. The Windows MBR might have been overwritten by another bootloader. In that case you should restore the Windows MBR using a Windows CD. More info can be found on http://www.novell.com/documentation/suse91/suselinux-adminguide/html/ch07s05.html&lt;br /&gt;
&lt;br /&gt;
*On my T42p and T43p, BMGR32.EXE was in {{path|C:\IBMTOOLS\utils}}. What seemed to work best was to run it first with /Fbootmgr.bin reboot, and if that didn't fix R&amp;amp;R, run it again with the /B0 /M0 /OEM switches. Have a XP install CD ready so you can do a FIXMBR from the Recovery Console if the machine won't boot (happened to me several times).&lt;br /&gt;
&lt;br /&gt;
*On my X32, BMGR32.EXE is also in {{path|C:\IBMTOOLS\utils}}. It works best with the /M2 switch to restore the R&amp;amp;R MBR:&lt;br /&gt;
&lt;br /&gt;
  cd \IBMTOOLS\utils&lt;br /&gt;
  bmgr32 /Fbootmgr.bin /M2 /V&lt;br /&gt;
&lt;br /&gt;
:/M0 also works, but /M2 restores it to factory state. As stated above, you must restore the MBR to the Windows XP MBR first before running bmgr32.exe.&lt;br /&gt;
&lt;br /&gt;
:If you've run bmgr32.exe too many times, you might have to clear the sectors from sector 1 to sector 62 (sector 0 is the MBR). If you know what you are doing, the following Linux dd command can do it for you:&lt;br /&gt;
&lt;br /&gt;
  dd if=/dev/zero of=/dev/sda bs=512 seek=1 count=62&lt;br /&gt;
&lt;br /&gt;
:This command is safe to run only when the first partition starts at sector 63, the 64th sector of the hard drive (probably true).&lt;br /&gt;
&lt;br /&gt;
===Using Product Recovery to Restore the Windows MBR===&lt;br /&gt;
The Product Recovery CD/DVD-ROM erases your hard disk and restores it to its original factory state with Windows.  The GRUB MBR can interfere with this.  The symptom is that you try to recover, but the recovery process ends immediately, and the computer tries to boot with GRUB.  The problem is that the one part of the disk that Product Recovery (version 5.6) does not overwrite is the MBR.&lt;br /&gt;
&lt;br /&gt;
If this happens to you, first completely erase your hard disk using PC Doctor on the IBM Product Recovery CD-ROM:&lt;br /&gt;
&lt;br /&gt;
* Insert Product Recovery Disk 1 (this procedure assumes version 5.6, circa 2002)&lt;br /&gt;
* Power up the computer, press F12, select ''CD-ROM Drive'' as the boot device&lt;br /&gt;
* After IBM Product Recovery boots, it will give you two choices:&lt;br /&gt;
** ''Full Recovery''.  Presumably you already tried this and failed.&lt;br /&gt;
** ''System Utilities''.  '''Select this'''.&lt;br /&gt;
* Select ''Run diagnostics''.  The PC Doctor diagnostic program will start.&lt;br /&gt;
* In the menu along the top, choose ''Utility''.&lt;br /&gt;
* In this menu, choose ''Full Erase Hard Drive'' and confirm that you really want to erase.  ''Full Erase'' works, but takes about two minutes per gigabyte.  If you find that ''Quick Erase Hard Drive'' also works, please edit that fact into this document.&lt;br /&gt;
&lt;br /&gt;
After ''Erase Hard Drive'' finishes, your hard drive has no MBR, so Product Recovery has no choice but to install a new one.&lt;br /&gt;
&lt;br /&gt;
* Reboot, press F12, select ''CD-ROM Drive'' as the boot device&lt;br /&gt;
* After IBM Product Recovery boots, this time select ''Full Recovery''&lt;br /&gt;
&lt;br /&gt;
===MBR written by GRUB===&lt;br /&gt;
The MBR written by GRUB can be used to launch the Rescue and Recovery application. However, if you leave the type of the Rescue and Recovery partition to 0x12 (Compaq diagnostics), trying to boot this partition will result in an error message &amp;quot;c000021a, Fatal System Error&amp;quot;. To avoid that, and to make sure the recovery partition is always of the right type, add a line to change the partition type to 0x0b (FAT32) to the Rescue and Recovery partition's entry in your {{path|/boot/grub/menu.lst}}. Also, as we will be hiding the Rescue and Recovery partition from Windows (see below), we need to &amp;lt;tt&amp;gt;unhide&amp;lt;/tt&amp;gt; the partition here to make sure it will be visible and bootable. So, assuming your Rescue and Recovery partition is the second partition, the GRUB entry would look like this:&lt;br /&gt;
&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;
{{NOTE|Some people reported this not working (in particular, on a {{Z61m}} 9450-3HG). Version 4.0 of Rescue and Recovery uses an NTFS partition, so a partition type of 0x07 (HPFS/NTFS) may be needed.&lt;br /&gt;
}}&lt;br /&gt;
{{Todo|verify this note}}&lt;br /&gt;
&lt;br /&gt;
You will find that while the above lets you launch the Rescue and Recovery application, trying to run the Hardware Diagnostics tool will fail, as it needs a &amp;quot;properly configured&amp;quot; (original) MBR. What happens is that to run the hardware diagnostics, the R&amp;amp;R software temporarily changes the &amp;quot;properly configured&amp;quot; MBR to boot a PC-DOCTOR disk image found on the Rescue and Recovery partition, then asks you to reboot. So all we need to do to get the Hardware Diagnostics back is add another entry to {{path|/boot/grub/menu.lst}}, that will load the PC-DOCTOR disk image. The entry is similar to the &amp;lt;tt&amp;gt;IBM Rescue and Recovery&amp;lt;/tt&amp;gt; one above, with a different &amp;lt;tt&amp;gt;chainloader&amp;lt;/tt&amp;gt; line:&lt;br /&gt;
&lt;br /&gt;
  title           Hardware Diagnostics&lt;br /&gt;
  root            (hd0,1)&lt;br /&gt;
  parttype        (hd0,1) 0x0b&lt;br /&gt;
  unhide          (hd0,1)&lt;br /&gt;
  '''chainloader     /bootsect.dos'''&lt;br /&gt;
&lt;br /&gt;
Finally, as mentioned previously, the Rescue and Recovery partition should be hidden from Windows. This is to prevent any modifications being done to it, as they may damage the Rescue and Recovery software. So, assuming that Windows is on the first partition, the Windows GRUB entry would look like this:&lt;br /&gt;
&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 partition's 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 the Windows Bootloader to Boot Linux===&lt;br /&gt;
The NTLDR Windows bootloader can be configured to boot Linux in addition to Windows.  The master boot record (MBR) is unchanged, so the ThinkVantage Rescue and Recovery system boot functionality is preserved.  This clever procedure was [http://gawrysiak.org/corvus/?p=4 originally applied] to Ubuntu Dapper Drake, and is generalized here.&lt;br /&gt;
&lt;br /&gt;
0. Added warning: with this method, you cannot hibernate windows and boot anything else. The windows boot loader jumps on resuming windows before asking anything (and you can already verify this right now, whatever your current configuration is).&lt;br /&gt;
&lt;br /&gt;
1. Boot Windows and make product recovery disks.  You will see this step repeated throught this wiki for good reason.  The recovery disks can refresh your hard disk to its original factory state, getting you out of the trouble you might make in the next step.&lt;br /&gt;
&lt;br /&gt;
2. Shrink the Windows NTFS partition to the size you like.  You will need a bootable CD that is capable of resizing NTFS partitions.  I have done this before with Knoppix, but this time I used Partition Magic (US$70).&lt;br /&gt;
&lt;br /&gt;
Leave the Rescue and Recovery partition (~5GB) at the end of the disk.  Other authors claim that it ''must not'' be moved.  I did move it, and it works fine.  Still, in retrospect I agree that the end of the disk is the best place for your Rescue and Recovery partition.&lt;br /&gt;
&lt;br /&gt;
3. Reboot.  Push the {{ibmkey|ThinkVantage|#495988}} button during system boot, and verify that Rescue and Recovery still runs.  Reboot into Windows to verify that the partition resize was successful.&lt;br /&gt;
&lt;br /&gt;
4. Begin your Linux installation.  Linux will see the Windows NTFS partition as /dev/sda1, and the Rescue and Recovery FAT32 partition as /dev/sda2.  When the Linux installer asks you about GRUB, do not install GRUB in the MBR.  Instead, install GRUB in the /boot partition (most likely /dev/sda3).&lt;br /&gt;
&lt;br /&gt;
5. After the Linux installation is finished, reboot with a bootable Linux live CD.  The &amp;quot;rescue mode&amp;quot; of your Linux installation CD #1 should work fine for this.  Usually you start the rescue mode with the command,&lt;br /&gt;
&lt;br /&gt;
    linux rescue&lt;br /&gt;
&lt;br /&gt;
Start the network if you plan to use FTP in step 7.&lt;br /&gt;
&lt;br /&gt;
6. After you get a shell prompt, become root if necessary, and then write the first sector of the /boot partition (probably /dev/sda3) to a file using the dd command:&lt;br /&gt;
&lt;br /&gt;
     sudo -i                   # If necessary&lt;br /&gt;
     cd /mnt/sysimage/boot     # Or wherever your live CD mounts the /boot partition&lt;br /&gt;
     dd if=/dev/sda3 of=grub.img bs=512 count=1&lt;br /&gt;
&lt;br /&gt;
The resulting grub.img file should be 512 bytes long.&lt;br /&gt;
&lt;br /&gt;
7. Transfer the grub.img file somewhere where you can read it from Windows.  You can use removable media like a USB flash drive, or even FTP.&lt;br /&gt;
&lt;br /&gt;
8. Reboot into Windows. Copy the grub.img file to c:\grub.img.&lt;br /&gt;
&lt;br /&gt;
9. Make a backup copy of the c:\boot.ini NTLDR control file.  c:\boot.ini is read-only and hidden, so you will have to tell Windows to show hidden files, and turn off the read-only property on c:\boot.ini.&lt;br /&gt;
&lt;br /&gt;
10. Edit c:\boot.ini.  Append the line,&lt;br /&gt;
&lt;br /&gt;
    c:\grub.img=&amp;quot;Linux GRUB Bootloader&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So that Linux will boot by default, you may also want to change the default OS to c:\grub.img, and reduce the timeout to 5 seconds or so.  For reference, here is my c:\boot.ini file for Windows XP:&lt;br /&gt;
&lt;br /&gt;
    [boot loader]&lt;br /&gt;
    timeout=5&lt;br /&gt;
    default=c:\grub.img&lt;br /&gt;
    [operating systems]&lt;br /&gt;
    c:\grub.img=&amp;quot;Linux GRUB Bootloader&amp;quot;&lt;br /&gt;
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=&amp;quot;Windows XP Professional&amp;quot; /noexecute=optin /fastdetec&lt;br /&gt;
&lt;br /&gt;
11. Reboot.  Now the Windows boot menu should offer you a choice of &amp;quot;Linux GRUB Bootloader&amp;quot; or Windows XP.  Choose &amp;quot;Linux GRUB Bootloader&amp;quot;, and you will be taken to the GRUB boot menu, where you can select Linux, or even go back to the Windows boot menu.&lt;br /&gt;
&lt;br /&gt;
12. When you need Rescue and Recovery, push the {{ibmkey|ThinkVantage|#495988}} button upon system boot.  Since you have touched neither the MBR nor the Rescue and Recovery partition, Rescue and Recovery will work exactly the same as it did before you installed Linux.&lt;br /&gt;
&lt;br /&gt;
==Newer versions of Rescue and Recovery==&lt;br /&gt;
&lt;br /&gt;
Rescue and Recovery version 4 is installed on T61/R61.&lt;br /&gt;
&lt;br /&gt;
The partition type is 0x27. By factory default, the R&amp;amp;R partition is the first partition on the disk. The filesystem used is NTFS. The preloaded Windows appear as the second partition, with the active bit set.&lt;br /&gt;
&lt;br /&gt;
(_NOT_ on all T61s.  Mine has version 4, but the R&amp;amp;R partition is the 2nd,&lt;br /&gt;
and its ID is 0x12.  More work needed here....)&lt;br /&gt;
&lt;br /&gt;
(The same here on R61 8919-CTO - R&amp;amp;R version 4 was second partition of type FAT32)&lt;br /&gt;
&lt;br /&gt;
R&amp;amp;R version 4 bootloader seems to honor the active bit in the partition table. To install Linux while maintaining the R&amp;amp;R functionality is therefore rather straightforward:&lt;br /&gt;
&lt;br /&gt;
* Shrink the second Windows partition &amp;amp;ndash; or remove it if not needed&lt;br /&gt;
* Add partitions for Linux (or other operating systems), one of them has to be a '''primary partition''' since the R&amp;amp;R bootloader cannot boot from an extended one&lt;br /&gt;
* Install GRUB on the boot sector of the newly added primary partition&lt;br /&gt;
* Remove the active bit from the Windows partition and activate the boot partition with GRUB&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;
*The ThinkPad A22p laptop does not appear to have a boot manager (that I could find). I was able to restore Rescue and Recovery functionality on such a laptop by using a tool called MBRWizard to copy the first four sectors from a working laptop to a non-working one.&lt;br /&gt;
&lt;br /&gt;
== Recovery Boot Hangs ==&lt;br /&gt;
On an R61 I recently tried to restore XP via cd/dvd with a new hard drive in the machine which had fedora 9 installed with an encrypted partition. The boot cd/dvd would start booting, flash &amp;quot;inspecting machine configuration&amp;quot; or something similar, then hang on a blank screen. To check if your cd/dvd is actually okay or not, unplug the HD completely, in my case the cd/dvd booted fine after that. To &amp;quot;fix&amp;quot; this issue such that I could actually run restore, I booted fedora 9 from dvd, repartitioned the drive as unencrypted and vfat, after saving the new partition I was able to go back and boot the recovery cd/dvd. I'm not sure if you actually have to do exactly what I did to the drive or not but that's what I did and it worked so maybe some smaller subset would be sufficient.&lt;br /&gt;
&lt;br /&gt;
== Recovery from hard drive ==&lt;br /&gt;
&lt;br /&gt;
If you are able to load Rescue and Recovery either using F11, or the installed grub, or SGD (Super Grub Disk) (download at http://www.supergrubdisk.org/ and use the option Boot Window fron 2nd partition), you might restore the system to the factory preload.&lt;br /&gt;
&lt;br /&gt;
If you install GRUB in the MBR, the recover will start but it won't replace the MBR. In this case GRUB is started, but without other file it get stuck with error 22. To restore the MBR one could either try to use rnr31_rrd.exe (XP) or rnr40_rrd.ext (Vista) if you have a floppy disk. If you have only a cd on rapidshare there are iso image (google for instance using rnr31_rrd_fixed.iso). I tried but without success. Even if the machine does not boot, somehow the recovery takes place. Using SGD as boot loader the recovery can proceed, but so far I got an unstable machine. In particular the recovery cd cannot be produced anymore...&lt;br /&gt;
&lt;br /&gt;
==External links ==&lt;br /&gt;
* [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-4Q2QAK IBM 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?sitestyle=lenovo&amp;amp;lndocid=MIGR-46088 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;
* [http://www.bb242.de/2007/11/22/grub-bootable-auf-usb-stick/ How to reinstall grub from USB, if grub is corrupted after R&amp;amp;R update (German)]&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 {{T60}}, {{T60p}}&lt;br /&gt;
* ThinkPad {{T61}}, {{T61p}}&lt;br /&gt;
* ThinkPad {{R52}}&lt;br /&gt;
* ThinkPad {{R61}} (R&amp;amp;R version 4)&lt;br /&gt;
* ThinkPad {{Z60m}}&lt;br /&gt;
* Thinkpad {{Z61m}}&lt;br /&gt;
* Thinkpad {{X61}}, {{X32}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Rescue_and_Recovery&amp;diff=50397</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=50397"/>
		<updated>2011-01-31T03:40:27Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* Using Product Recovery to Restore the Windows MBR */&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 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 (sometimes labeled &amp;quot;IBM_SERVICE&amp;quot;, &amp;quot;SERVICEV001&amp;quot;, etc.), 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]] 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 with carefully.&lt;br /&gt;
&lt;br /&gt;
Rescue and Recovery is a Windows-specific feature. If you intend to recover into Windows when you have an issue, it is important to follow the warnings here carefully. If you intend to run another operating system exclusively and never return to Windows, removing this partition is safe. If you remove it, you can still reinstall windows at a later time, provided you have created a Recovery set of discs (1CD + 1DVD or 5CDs required). Booting from the Recovery CD will restore the system to the factory state including the recovery partition.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&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;
*When booting from the Rescue and Recovery partition, it needs to have its type set (either by Thinkvantage or by GRUB) to 0x0b (FAT32) for the default bootloader to 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. More information is needed about this program. Here is an example that restores the IBM MBR. It seems that it only extends the already installed MBR. Therefore you must have a valid Windows MBR installed if you want to boot into Windows. The GRUB MBR doesn't work here.&lt;br /&gt;
&lt;br /&gt;
 cd C:\Program Files\IBM ThinkVantage\Common\BMGR&lt;br /&gt;
 bmgr32 /Fbootmgr.bin /v&lt;br /&gt;
&lt;br /&gt;
Some more information about BMGR here, but it may be slightly out of date:&lt;br /&gt;
http://www.redbooks.ibm.com/abstracts/SG247107.html (lookup BMGR32 in the Index)&lt;br /&gt;
&lt;br /&gt;
Sometimes it is not enough to simply restore the IBM MBR if you want to boot into Windows. The Windows MBR might have been overwritten by another bootloader. In that case you should restore the Windows MBR using a Windows CD. More info can be found on http://www.novell.com/documentation/suse91/suselinux-adminguide/html/ch07s05.html&lt;br /&gt;
&lt;br /&gt;
*On my T42p and T43p, BMGR32.EXE was in {{path|C:\IBMTOOLS\utils}}. What seemed to work best was to run it first with /Fbootmgr.bin reboot, and if that didn't fix R&amp;amp;R, run it again with the /B0 /M0 /OEM switches. Have a XP install CD ready so you can do a FIXMBR from the Recovery Console if the machine won't boot (happened to me several times).&lt;br /&gt;
&lt;br /&gt;
*On my X32, BMGR32.EXE is also in {{path|C:\IBMTOOLS\utils}}. It works best with the /M2 switch to restore the R&amp;amp;R MBR:&lt;br /&gt;
&lt;br /&gt;
  cd \IBMTOOLS\utils&lt;br /&gt;
  bmgr32 /Fbootmgr.bin /M2 /V&lt;br /&gt;
&lt;br /&gt;
:/M0 also works, but /M2 restores it to factory state. As stated above, you must restore the MBR to the Windows XP MBR first before running bmgr32.exe.&lt;br /&gt;
&lt;br /&gt;
:If you've run bmgr32.exe too many times, you might have to clear the sectors from sector 1 to sector 62 (sector 0 is the MBR). If you know what you are doing, the following Linux dd command can do it for you:&lt;br /&gt;
&lt;br /&gt;
  dd if=/dev/zero of=/dev/sda bs=512 seek=1 count=62&lt;br /&gt;
&lt;br /&gt;
:This command is safe to run only when the first partition starts at sector 63, the 64th sector of the hard drive (probably true).&lt;br /&gt;
&lt;br /&gt;
===Using Product Recovery to Restore the Windows MBR===&lt;br /&gt;
The Product Recovery CD/DVD-ROM erases your hard disk and restores it to its original factory state with Windows.  The GRUB MBR can interfere with this.  The symptom is that you try to recover, but the recovery process ends immediately, and the computer tries to boot with GRUB.  The problem is that the one part of the disk that Product Recovery (version 5.6) does not overwrite is the MBR.&lt;br /&gt;
&lt;br /&gt;
If this happens to you, first completely erase your hard disk using PC Doctor on the IBM Product Recovery CD-ROM:&lt;br /&gt;
&lt;br /&gt;
* Insert Product Recovery Disk 1 (this procedure assumes version 5.6, circa 2002)&lt;br /&gt;
* Power up the computer, press F12, select ''CD-ROM Drive'' as the boot device&lt;br /&gt;
* After IBM Product Recovery boots, it will give you two choices:&lt;br /&gt;
** ''Full Recovery''.  Presumably you already tried this and failed.&lt;br /&gt;
** ''System Utilities''.  '''Select this'''.&lt;br /&gt;
* Select ''Run diagnostics''.  The PC Doctor diagnostic program will start.&lt;br /&gt;
* In the menu along the top, choose ''Utility''.&lt;br /&gt;
* In this menu, choose ''Full Erase Hard Drive'' and confirm that you really want to erase.  ''Full Erase'' works, but takes about two minutes per gigabyte.  If you find that ''Quick Erase Hard Drive'' also works, please edit that fact into this document.&lt;br /&gt;
&lt;br /&gt;
After ''Erase Hard Drive'' finishes, your hard drive has no MBR, so Product Recovery has no choice but to install a new one.&lt;br /&gt;
&lt;br /&gt;
* Reboot, press F12, select ''CD-ROM Drive'' as the boot device&lt;br /&gt;
* After IBM Product Recovery boots, this time select ''Full Recovery''&lt;br /&gt;
&lt;br /&gt;
===MBR written by GRUB===&lt;br /&gt;
The MBR written by GRUB can be used to launch the Rescue and Recovery application. However, if you leave the type of the Rescue and Recovery partition to 0x12 (Compaq diagnostics), trying to boot this partition will result in an error message &amp;quot;c000021a, Fatal System Error&amp;quot;. To avoid that, and to make sure the recovery partition is always of the right type, add a line to change the partition type to 0x0b (FAT32) to the Rescue and Recovery partition's entry in your {{path|/boot/grub/menu.lst}}. Also, as we will be hiding the Rescue and Recovery partition from Windows (see below), we need to &amp;lt;tt&amp;gt;unhide&amp;lt;/tt&amp;gt; the partition here to make sure it will be visible and bootable. So, assuming your Rescue and Recovery partition is the second partition, the GRUB entry would look like this:&lt;br /&gt;
&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;
{{NOTE|Some people reported this not working (in particular, on a {{Z61m}} 9450-3HG). Version 4.0 of Rescue and Recovery uses an NTFS partition, so a partition type of 0x07 (HPFS/NTFS) may be needed.&lt;br /&gt;
}}&lt;br /&gt;
{{Todo|verify this note}}&lt;br /&gt;
&lt;br /&gt;
You will find that while the above lets you launch the Rescue and Recovery application, trying to run the Hardware Diagnostics tool will fail, as it needs a &amp;quot;properly configured&amp;quot; (original) MBR. What happens is that to run the hardware diagnostics, the R&amp;amp;R software temporarily changes the &amp;quot;properly configured&amp;quot; MBR to boot a PC-DOCTOR disk image found on the Rescue and Recovery partition, then asks you to reboot. So all we need to do to get the Hardware Diagnostics back is add another entry to {{path|/boot/grub/menu.lst}}, that will load the PC-DOCTOR disk image. The entry is similar to the &amp;lt;tt&amp;gt;IBM Rescue and Recovery&amp;lt;/tt&amp;gt; one above, with a different &amp;lt;tt&amp;gt;chainloader&amp;lt;/tt&amp;gt; line:&lt;br /&gt;
&lt;br /&gt;
  title           Hardware Diagnostics&lt;br /&gt;
  root            (hd0,1)&lt;br /&gt;
  parttype        (hd0,1) 0x0b&lt;br /&gt;
  unhide          (hd0,1)&lt;br /&gt;
  '''chainloader     /bootsect.dos'''&lt;br /&gt;
&lt;br /&gt;
Finally, as mentioned previously, the Rescue and Recovery partition should be hidden from Windows. This is to prevent any modifications being done to it, as they may damage the Rescue and Recovery software. So, assuming that Windows is on the first partition, the Windows GRUB entry would look like this:&lt;br /&gt;
&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 partition's 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 the Windows Bootloader to Boot Linux===&lt;br /&gt;
The NTLDR Windows bootloader can be configured to boot Linux in addition to Windows.  The master boot record (MBR) is unchanged, so the ThinkVantage Rescue and Recovery system boot functionality is preserved.  This clever procedure was [http://gawrysiak.org/corvus/?p=4 originally applied] to Ubuntu Dapper Drake, and is generalized here.&lt;br /&gt;
&lt;br /&gt;
0. Added warning: with this method, you cannot hibernate windows and boot anything else. The windows boot loader jumps on resuming windows before asking anything (and you can already verify this right now, whatever your current configuration is).&lt;br /&gt;
&lt;br /&gt;
1. Boot Windows and make product recovery disks.  You will see this step repeated throught this wiki for good reason.  The recovery disks can refresh your hard disk to its original factory state, getting you out of the trouble you might make in the next step.&lt;br /&gt;
&lt;br /&gt;
2. Shrink the Windows NTFS partition to the size you like.  You will need a bootable CD that is capable of resizing NTFS partitions.  I have done this before with Knoppix, but this time I used Partition Magic (US$70).&lt;br /&gt;
&lt;br /&gt;
Leave the Rescue and Recovery partition (~5GB) at the end of the disk.  Other authors claim that it ''must not'' be moved.  I did move it, and it works fine.  Still, in retrospect I agree that the end of the disk is the best place for your Rescue and Recovery partition.&lt;br /&gt;
&lt;br /&gt;
3. Reboot.  Push the {{ibmkey|ThinkVantage|#495988}} button during system boot, and verify that Rescue and Recovery still runs.  Reboot into Windows to verify that the partition resize was successful.&lt;br /&gt;
&lt;br /&gt;
4. Begin your Linux installation.  Linux will see the Windows NTFS partition as /dev/sda1, and the Rescue and Recovery FAT32 partition as /dev/sda2.  When the Linux installer asks you about GRUB, do not install GRUB in the MBR.  Instead, install GRUB in the /boot partition (most likely /dev/sda3).&lt;br /&gt;
&lt;br /&gt;
5. After the Linux installation is finished, reboot with a bootable Linux live CD.  The &amp;quot;rescue mode&amp;quot; of your Linux installation CD #1 should work fine for this.  Usually you start the rescue mode with the command,&lt;br /&gt;
&lt;br /&gt;
    linux rescue&lt;br /&gt;
&lt;br /&gt;
Start the network if you plan to use FTP in step 7.&lt;br /&gt;
&lt;br /&gt;
6. After you get a shell prompt, become root if necessary, and then write the first sector of the /boot partition (probably /dev/sda3) to a file using the dd command:&lt;br /&gt;
&lt;br /&gt;
     sudo -i                   # If necessary&lt;br /&gt;
     cd /mnt/sysimage/boot     # Or wherever your live CD mounts the /boot partition&lt;br /&gt;
     dd if=/dev/sda3 of=grub.img bs=512 count=1&lt;br /&gt;
&lt;br /&gt;
The resulting grub.img file should be 512 bytes long.&lt;br /&gt;
&lt;br /&gt;
7. Transfer the grub.img file somewhere where you can read it from Windows.  You can use removable media like a USB flash drive, or even FTP.&lt;br /&gt;
&lt;br /&gt;
8. Reboot into Windows. Copy the grub.img file to c:\grub.img.&lt;br /&gt;
&lt;br /&gt;
9. Make a backup copy of the c:\boot.ini NTLDR control file.  c:\boot.ini is read-only and hidden, so you will have to tell Windows to show hidden files, and turn off the read-only property on c:\boot.ini.&lt;br /&gt;
&lt;br /&gt;
10. Edit c:\boot.ini.  Append the line,&lt;br /&gt;
&lt;br /&gt;
    c:\grub.img=&amp;quot;Linux GRUB Bootloader&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So that Linux will boot by default, you may also want to change the default OS to c:\grub.img, and reduce the timeout to 5 seconds or so.  For reference, here is my c:\boot.ini file for Windows XP:&lt;br /&gt;
&lt;br /&gt;
    [boot loader]&lt;br /&gt;
    timeout=5&lt;br /&gt;
    default=c:\grub.img&lt;br /&gt;
    [operating systems]&lt;br /&gt;
    c:\grub.img=&amp;quot;Linux GRUB Bootloader&amp;quot;&lt;br /&gt;
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=&amp;quot;Windows XP Professional&amp;quot; /noexecute=optin /fastdetec&lt;br /&gt;
&lt;br /&gt;
11. Reboot.  Now the Windows boot menu should offer you a choice of &amp;quot;Linux GRUB Bootloader&amp;quot; or Windows XP.  Choose &amp;quot;Linux GRUB Bootloader&amp;quot;, and you will be taken to the GRUB boot menu, where you can select Linux, or even go back to the Windows boot menu.&lt;br /&gt;
&lt;br /&gt;
12. When you need Rescue and Recovery, push the {{ibmkey|ThinkVantage|#495988}} button upon system boot.  Since you have touched neither the MBR nor the Rescue and Recovery partition, Rescue and Recovery will work exactly the same as it did before you installed Linux.&lt;br /&gt;
&lt;br /&gt;
==Newer versions of Rescue and Recovery==&lt;br /&gt;
&lt;br /&gt;
Rescue and Recovery version 4 is installed on T61/R61.&lt;br /&gt;
&lt;br /&gt;
The partition type is 0x27. By factory default, the R&amp;amp;R partition is the first partition on the disk. The filesystem used is NTFS. The preloaded Windows appear as the second partition, with the active bit set.&lt;br /&gt;
&lt;br /&gt;
(_NOT_ on all T61s.  Mine has version 4, but the R&amp;amp;R partition is the 2nd,&lt;br /&gt;
and its ID is 0x12.  More work needed here....)&lt;br /&gt;
&lt;br /&gt;
(The same here on R61 8919-CTO - R&amp;amp;R version 4 was second partition of type FAT32)&lt;br /&gt;
&lt;br /&gt;
R&amp;amp;R version 4 bootloader seems to honor the active bit in the partition table. To install Linux while maintaining the R&amp;amp;R functionality is therefore rather straightforward:&lt;br /&gt;
&lt;br /&gt;
* Shrink the second Windows partition &amp;amp;ndash; or remove it if not needed&lt;br /&gt;
* Add partitions for Linux (or other operating systems), one of them has to be a '''primary partition''' since the R&amp;amp;R bootloader cannot boot from an extended one&lt;br /&gt;
* Install GRUB on the boot sector of the newly added primary partition&lt;br /&gt;
* Remove the active bit from the Windows partition and activate the boot partition with GRUB&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;
*The ThinkPad A22p laptop does not appear to have a boot manager (that I could find). I was able to restore Rescue and Recovery functionality on such a laptop by using a tool called MBRWizard to copy the first four sectors from a working laptop to a non-working one.&lt;br /&gt;
&lt;br /&gt;
== Recovery Boot Hangs ==&lt;br /&gt;
On an R61 I recently tried to restore XP via cd/dvd with a new hard drive in the machine which had fedora 9 installed with an encrypted partition. The boot cd/dvd would start booting, flash &amp;quot;inspecting machine configuration&amp;quot; or something similar, then hang on a blank screen. To check if your cd/dvd is actually okay or not, unplug the HD completely, in my case the cd/dvd booted fine after that. To &amp;quot;fix&amp;quot; this issue such that I could actually run restore, I booted fedora 9 from dvd, repartitioned the drive as unencrypted and vfat, after saving the new partition I was able to go back and boot the recovery cd/dvd. I'm not sure if you actually have to do exactly what I did to the drive or not but that's what I did and it worked so maybe some smaller subset would be sufficient.&lt;br /&gt;
&lt;br /&gt;
== Recovery from hard drive ==&lt;br /&gt;
&lt;br /&gt;
If you are able to load Rescue and Recovery either using F11, or the installed grub, or SGD (Super Grub Disk) (download at http://www.supergrubdisk.org/ and use the option Boot Window fron 2nd partition), you might restore the system to the factory preload.&lt;br /&gt;
&lt;br /&gt;
If you install GRUB in the MBR, the recover will start but it won't replace the MBR. In this case GRUB is started, but without other file it get stuck with error 22. To restore the MBR one could either try to use rnr31_rrd.exe (XP) or rnr40_rrd.ext (Vista) if you have a floppy disk. If you have only a cd on rapidshare there are iso image (google for instance using rnr31_rrd_fixed.iso). I tried but without success. Even if the machine does not boot, somehow the recovery takes place. Using SGD as boot loader the recovery can proceed, but so far I got an unstable machine. In particular the recovery cd cannot be produced anymore...&lt;br /&gt;
&lt;br /&gt;
==External links ==&lt;br /&gt;
* [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-4Q2QAK IBM 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?sitestyle=lenovo&amp;amp;lndocid=MIGR-46088 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;
* [http://www.bb242.de/2007/11/22/grub-bootable-auf-usb-stick/ How to reinstall grub from USB, if grub is corrupted after R&amp;amp;R update (German)]&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 {{T60}}, {{T60p}}&lt;br /&gt;
* ThinkPad {{T61}}, {{T61p}}&lt;br /&gt;
* ThinkPad {{R52}}&lt;br /&gt;
* ThinkPad {{R61}} (R&amp;amp;R version 4)&lt;br /&gt;
* ThinkPad {{Z60m}}&lt;br /&gt;
* Thinkpad {{Z61m}}&lt;br /&gt;
* Thinkpad {{X61}}, {{X32}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Rescue_and_Recovery&amp;diff=50396</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=50396"/>
		<updated>2011-01-31T03:38:36Z</updated>

		<summary type="html">&lt;p&gt;Voominc: How to overwrite the MBR using the IBM Product Recovery CD-ROM&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 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 (sometimes labeled &amp;quot;IBM_SERVICE&amp;quot;, &amp;quot;SERVICEV001&amp;quot;, etc.), 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]] 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 with carefully.&lt;br /&gt;
&lt;br /&gt;
Rescue and Recovery is a Windows-specific feature. If you intend to recover into Windows when you have an issue, it is important to follow the warnings here carefully. If you intend to run another operating system exclusively and never return to Windows, removing this partition is safe. If you remove it, you can still reinstall windows at a later time, provided you have created a Recovery set of discs (1CD + 1DVD or 5CDs required). Booting from the Recovery CD will restore the system to the factory state including the recovery partition.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&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;
*When booting from the Rescue and Recovery partition, it needs to have its type set (either by Thinkvantage or by GRUB) to 0x0b (FAT32) for the default bootloader to 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. More information is needed about this program. Here is an example that restores the IBM MBR. It seems that it only extends the already installed MBR. Therefore you must have a valid Windows MBR installed if you want to boot into Windows. The GRUB MBR doesn't work here.&lt;br /&gt;
&lt;br /&gt;
 cd C:\Program Files\IBM ThinkVantage\Common\BMGR&lt;br /&gt;
 bmgr32 /Fbootmgr.bin /v&lt;br /&gt;
&lt;br /&gt;
Some more information about BMGR here, but it may be slightly out of date:&lt;br /&gt;
http://www.redbooks.ibm.com/abstracts/SG247107.html (lookup BMGR32 in the Index)&lt;br /&gt;
&lt;br /&gt;
Sometimes it is not enough to simply restore the IBM MBR if you want to boot into Windows. The Windows MBR might have been overwritten by another bootloader. In that case you should restore the Windows MBR using a Windows CD. More info can be found on http://www.novell.com/documentation/suse91/suselinux-adminguide/html/ch07s05.html&lt;br /&gt;
&lt;br /&gt;
*On my T42p and T43p, BMGR32.EXE was in {{path|C:\IBMTOOLS\utils}}. What seemed to work best was to run it first with /Fbootmgr.bin reboot, and if that didn't fix R&amp;amp;R, run it again with the /B0 /M0 /OEM switches. Have a XP install CD ready so you can do a FIXMBR from the Recovery Console if the machine won't boot (happened to me several times).&lt;br /&gt;
&lt;br /&gt;
*On my X32, BMGR32.EXE is also in {{path|C:\IBMTOOLS\utils}}. It works best with the /M2 switch to restore the R&amp;amp;R MBR:&lt;br /&gt;
&lt;br /&gt;
  cd \IBMTOOLS\utils&lt;br /&gt;
  bmgr32 /Fbootmgr.bin /M2 /V&lt;br /&gt;
&lt;br /&gt;
:/M0 also works, but /M2 restores it to factory state. As stated above, you must restore the MBR to the Windows XP MBR first before running bmgr32.exe.&lt;br /&gt;
&lt;br /&gt;
:If you've run bmgr32.exe too many times, you might have to clear the sectors from sector 1 to sector 62 (sector 0 is the MBR). If you know what you are doing, the following Linux dd command can do it for you:&lt;br /&gt;
&lt;br /&gt;
  dd if=/dev/zero of=/dev/sda bs=512 seek=1 count=62&lt;br /&gt;
&lt;br /&gt;
:This command is safe to run only when the first partition starts at sector 63, the 64th sector of the hard drive (probably true).&lt;br /&gt;
&lt;br /&gt;
===Using Product Recovery to Restore the Windows MBR===&lt;br /&gt;
The Product Recovery CD/DVD-ROM erases your hard disk and restores it to its original factory state with Windows.  The GRUB MBR can interfere with this.  The symptom is that you try to recover, but the recovery process ends immediately, and the computer tries to boot with GRUB.  The problem is that the one part of the disk that Product Recovery (version 5.6) does not overwrite is the MBR.&lt;br /&gt;
&lt;br /&gt;
If this happens to you, first completely erase your hard disk using PC Doctor on the IBM Product Recovery CD-ROM:&lt;br /&gt;
&lt;br /&gt;
* Insert Product Recovery Disk 1 (this procedure assumes version 5.6, circa 2002)&lt;br /&gt;
* Power up the computer, press F12, select ''CD-ROM Drive'' as the boot device&lt;br /&gt;
* After IBM Product Recovery boots, it will give you two choices:&lt;br /&gt;
** ''Full Recovery''.  Presumably you already tried this and failed.&lt;br /&gt;
** ''System Utilities''.  '''Select this'''.&lt;br /&gt;
* Select ''Run diagnostics''.  The PC Doctor diagnostic program will start.&lt;br /&gt;
* In the menu along the top, choose ''Utility''.&lt;br /&gt;
* In this menu, choose ''Full Erase Hard Drive'' and confirm that you really want to erase.  ''Full Erase'' works, but takes about two minutes per gigabyte.  If you find that ''Quick Erase Hard Drive'' also works, please edit that fact into this document.&lt;br /&gt;
&lt;br /&gt;
After ''Erase Hard Drive'' finishes, your hard drive has no MBR, so Product Recovery has no choice but to install a new one.&lt;br /&gt;
&lt;br /&gt;
* Reboot, press F12, select ''CD-ROM Drive'' as the boot device&lt;br /&gt;
* After IBM Product Recovery boots, this time select ''Full Recovery''.&lt;br /&gt;
&lt;br /&gt;
===MBR written by GRUB===&lt;br /&gt;
The MBR written by GRUB can be used to launch the Rescue and Recovery application. However, if you leave the type of the Rescue and Recovery partition to 0x12 (Compaq diagnostics), trying to boot this partition will result in an error message &amp;quot;c000021a, Fatal System Error&amp;quot;. To avoid that, and to make sure the recovery partition is always of the right type, add a line to change the partition type to 0x0b (FAT32) to the Rescue and Recovery partition's entry in your {{path|/boot/grub/menu.lst}}. Also, as we will be hiding the Rescue and Recovery partition from Windows (see below), we need to &amp;lt;tt&amp;gt;unhide&amp;lt;/tt&amp;gt; the partition here to make sure it will be visible and bootable. So, assuming your Rescue and Recovery partition is the second partition, the GRUB entry would look like this:&lt;br /&gt;
&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;
{{NOTE|Some people reported this not working (in particular, on a {{Z61m}} 9450-3HG). Version 4.0 of Rescue and Recovery uses an NTFS partition, so a partition type of 0x07 (HPFS/NTFS) may be needed.&lt;br /&gt;
}}&lt;br /&gt;
{{Todo|verify this note}}&lt;br /&gt;
&lt;br /&gt;
You will find that while the above lets you launch the Rescue and Recovery application, trying to run the Hardware Diagnostics tool will fail, as it needs a &amp;quot;properly configured&amp;quot; (original) MBR. What happens is that to run the hardware diagnostics, the R&amp;amp;R software temporarily changes the &amp;quot;properly configured&amp;quot; MBR to boot a PC-DOCTOR disk image found on the Rescue and Recovery partition, then asks you to reboot. So all we need to do to get the Hardware Diagnostics back is add another entry to {{path|/boot/grub/menu.lst}}, that will load the PC-DOCTOR disk image. The entry is similar to the &amp;lt;tt&amp;gt;IBM Rescue and Recovery&amp;lt;/tt&amp;gt; one above, with a different &amp;lt;tt&amp;gt;chainloader&amp;lt;/tt&amp;gt; line:&lt;br /&gt;
&lt;br /&gt;
  title           Hardware Diagnostics&lt;br /&gt;
  root            (hd0,1)&lt;br /&gt;
  parttype        (hd0,1) 0x0b&lt;br /&gt;
  unhide          (hd0,1)&lt;br /&gt;
  '''chainloader     /bootsect.dos'''&lt;br /&gt;
&lt;br /&gt;
Finally, as mentioned previously, the Rescue and Recovery partition should be hidden from Windows. This is to prevent any modifications being done to it, as they may damage the Rescue and Recovery software. So, assuming that Windows is on the first partition, the Windows GRUB entry would look like this:&lt;br /&gt;
&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 partition's 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 the Windows Bootloader to Boot Linux===&lt;br /&gt;
The NTLDR Windows bootloader can be configured to boot Linux in addition to Windows.  The master boot record (MBR) is unchanged, so the ThinkVantage Rescue and Recovery system boot functionality is preserved.  This clever procedure was [http://gawrysiak.org/corvus/?p=4 originally applied] to Ubuntu Dapper Drake, and is generalized here.&lt;br /&gt;
&lt;br /&gt;
0. Added warning: with this method, you cannot hibernate windows and boot anything else. The windows boot loader jumps on resuming windows before asking anything (and you can already verify this right now, whatever your current configuration is).&lt;br /&gt;
&lt;br /&gt;
1. Boot Windows and make product recovery disks.  You will see this step repeated throught this wiki for good reason.  The recovery disks can refresh your hard disk to its original factory state, getting you out of the trouble you might make in the next step.&lt;br /&gt;
&lt;br /&gt;
2. Shrink the Windows NTFS partition to the size you like.  You will need a bootable CD that is capable of resizing NTFS partitions.  I have done this before with Knoppix, but this time I used Partition Magic (US$70).&lt;br /&gt;
&lt;br /&gt;
Leave the Rescue and Recovery partition (~5GB) at the end of the disk.  Other authors claim that it ''must not'' be moved.  I did move it, and it works fine.  Still, in retrospect I agree that the end of the disk is the best place for your Rescue and Recovery partition.&lt;br /&gt;
&lt;br /&gt;
3. Reboot.  Push the {{ibmkey|ThinkVantage|#495988}} button during system boot, and verify that Rescue and Recovery still runs.  Reboot into Windows to verify that the partition resize was successful.&lt;br /&gt;
&lt;br /&gt;
4. Begin your Linux installation.  Linux will see the Windows NTFS partition as /dev/sda1, and the Rescue and Recovery FAT32 partition as /dev/sda2.  When the Linux installer asks you about GRUB, do not install GRUB in the MBR.  Instead, install GRUB in the /boot partition (most likely /dev/sda3).&lt;br /&gt;
&lt;br /&gt;
5. After the Linux installation is finished, reboot with a bootable Linux live CD.  The &amp;quot;rescue mode&amp;quot; of your Linux installation CD #1 should work fine for this.  Usually you start the rescue mode with the command,&lt;br /&gt;
&lt;br /&gt;
    linux rescue&lt;br /&gt;
&lt;br /&gt;
Start the network if you plan to use FTP in step 7.&lt;br /&gt;
&lt;br /&gt;
6. After you get a shell prompt, become root if necessary, and then write the first sector of the /boot partition (probably /dev/sda3) to a file using the dd command:&lt;br /&gt;
&lt;br /&gt;
     sudo -i                   # If necessary&lt;br /&gt;
     cd /mnt/sysimage/boot     # Or wherever your live CD mounts the /boot partition&lt;br /&gt;
     dd if=/dev/sda3 of=grub.img bs=512 count=1&lt;br /&gt;
&lt;br /&gt;
The resulting grub.img file should be 512 bytes long.&lt;br /&gt;
&lt;br /&gt;
7. Transfer the grub.img file somewhere where you can read it from Windows.  You can use removable media like a USB flash drive, or even FTP.&lt;br /&gt;
&lt;br /&gt;
8. Reboot into Windows. Copy the grub.img file to c:\grub.img.&lt;br /&gt;
&lt;br /&gt;
9. Make a backup copy of the c:\boot.ini NTLDR control file.  c:\boot.ini is read-only and hidden, so you will have to tell Windows to show hidden files, and turn off the read-only property on c:\boot.ini.&lt;br /&gt;
&lt;br /&gt;
10. Edit c:\boot.ini.  Append the line,&lt;br /&gt;
&lt;br /&gt;
    c:\grub.img=&amp;quot;Linux GRUB Bootloader&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So that Linux will boot by default, you may also want to change the default OS to c:\grub.img, and reduce the timeout to 5 seconds or so.  For reference, here is my c:\boot.ini file for Windows XP:&lt;br /&gt;
&lt;br /&gt;
    [boot loader]&lt;br /&gt;
    timeout=5&lt;br /&gt;
    default=c:\grub.img&lt;br /&gt;
    [operating systems]&lt;br /&gt;
    c:\grub.img=&amp;quot;Linux GRUB Bootloader&amp;quot;&lt;br /&gt;
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=&amp;quot;Windows XP Professional&amp;quot; /noexecute=optin /fastdetec&lt;br /&gt;
&lt;br /&gt;
11. Reboot.  Now the Windows boot menu should offer you a choice of &amp;quot;Linux GRUB Bootloader&amp;quot; or Windows XP.  Choose &amp;quot;Linux GRUB Bootloader&amp;quot;, and you will be taken to the GRUB boot menu, where you can select Linux, or even go back to the Windows boot menu.&lt;br /&gt;
&lt;br /&gt;
12. When you need Rescue and Recovery, push the {{ibmkey|ThinkVantage|#495988}} button upon system boot.  Since you have touched neither the MBR nor the Rescue and Recovery partition, Rescue and Recovery will work exactly the same as it did before you installed Linux.&lt;br /&gt;
&lt;br /&gt;
==Newer versions of Rescue and Recovery==&lt;br /&gt;
&lt;br /&gt;
Rescue and Recovery version 4 is installed on T61/R61.&lt;br /&gt;
&lt;br /&gt;
The partition type is 0x27. By factory default, the R&amp;amp;R partition is the first partition on the disk. The filesystem used is NTFS. The preloaded Windows appear as the second partition, with the active bit set.&lt;br /&gt;
&lt;br /&gt;
(_NOT_ on all T61s.  Mine has version 4, but the R&amp;amp;R partition is the 2nd,&lt;br /&gt;
and its ID is 0x12.  More work needed here....)&lt;br /&gt;
&lt;br /&gt;
(The same here on R61 8919-CTO - R&amp;amp;R version 4 was second partition of type FAT32)&lt;br /&gt;
&lt;br /&gt;
R&amp;amp;R version 4 bootloader seems to honor the active bit in the partition table. To install Linux while maintaining the R&amp;amp;R functionality is therefore rather straightforward:&lt;br /&gt;
&lt;br /&gt;
* Shrink the second Windows partition &amp;amp;ndash; or remove it if not needed&lt;br /&gt;
* Add partitions for Linux (or other operating systems), one of them has to be a '''primary partition''' since the R&amp;amp;R bootloader cannot boot from an extended one&lt;br /&gt;
* Install GRUB on the boot sector of the newly added primary partition&lt;br /&gt;
* Remove the active bit from the Windows partition and activate the boot partition with GRUB&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;
*The ThinkPad A22p laptop does not appear to have a boot manager (that I could find). I was able to restore Rescue and Recovery functionality on such a laptop by using a tool called MBRWizard to copy the first four sectors from a working laptop to a non-working one.&lt;br /&gt;
&lt;br /&gt;
== Recovery Boot Hangs ==&lt;br /&gt;
On an R61 I recently tried to restore XP via cd/dvd with a new hard drive in the machine which had fedora 9 installed with an encrypted partition. The boot cd/dvd would start booting, flash &amp;quot;inspecting machine configuration&amp;quot; or something similar, then hang on a blank screen. To check if your cd/dvd is actually okay or not, unplug the HD completely, in my case the cd/dvd booted fine after that. To &amp;quot;fix&amp;quot; this issue such that I could actually run restore, I booted fedora 9 from dvd, repartitioned the drive as unencrypted and vfat, after saving the new partition I was able to go back and boot the recovery cd/dvd. I'm not sure if you actually have to do exactly what I did to the drive or not but that's what I did and it worked so maybe some smaller subset would be sufficient.&lt;br /&gt;
&lt;br /&gt;
== Recovery from hard drive ==&lt;br /&gt;
&lt;br /&gt;
If you are able to load Rescue and Recovery either using F11, or the installed grub, or SGD (Super Grub Disk) (download at http://www.supergrubdisk.org/ and use the option Boot Window fron 2nd partition), you might restore the system to the factory preload.&lt;br /&gt;
&lt;br /&gt;
If you install GRUB in the MBR, the recover will start but it won't replace the MBR. In this case GRUB is started, but without other file it get stuck with error 22. To restore the MBR one could either try to use rnr31_rrd.exe (XP) or rnr40_rrd.ext (Vista) if you have a floppy disk. If you have only a cd on rapidshare there are iso image (google for instance using rnr31_rrd_fixed.iso). I tried but without success. Even if the machine does not boot, somehow the recovery takes place. Using SGD as boot loader the recovery can proceed, but so far I got an unstable machine. In particular the recovery cd cannot be produced anymore...&lt;br /&gt;
&lt;br /&gt;
==External links ==&lt;br /&gt;
* [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-4Q2QAK IBM 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?sitestyle=lenovo&amp;amp;lndocid=MIGR-46088 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;
* [http://www.bb242.de/2007/11/22/grub-bootable-auf-usb-stick/ How to reinstall grub from USB, if grub is corrupted after R&amp;amp;R update (German)]&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 {{T60}}, {{T60p}}&lt;br /&gt;
* ThinkPad {{T61}}, {{T61p}}&lt;br /&gt;
* ThinkPad {{R52}}&lt;br /&gt;
* ThinkPad {{R61}} (R&amp;amp;R version 4)&lt;br /&gt;
* ThinkPad {{Z60m}}&lt;br /&gt;
* Thinkpad {{Z61m}}&lt;br /&gt;
* Thinkpad {{X61}}, {{X32}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Wireless_Network_Adapters&amp;diff=37993</id>
		<title>Wireless Network Adapters</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Wireless_Network_Adapters&amp;diff=37993"/>
		<updated>2008-06-15T04:20:35Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* MiniPCI adapters */&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;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
This document covers IBM integrated (MiniPCI), Cardbus and PC Card (PCMCIA) Wi-Fi devices.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Finding out which adapter you have ==&lt;br /&gt;
For MiniPCI or Cardbus adapters run the command:&lt;br /&gt;
:{{cmdroot|lspci -n &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep &amp;quot;Class 0200&amp;quot;}}&lt;br /&gt;
If that produces no output, run this command instead:&lt;br /&gt;
:{{cmdroot|lspci -n &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep &amp;quot;0200&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
(Alternatively, grep for &amp;quot;0280&amp;quot; which identifies &amp;quot;Network&amp;quot; controllers, as opposed to &amp;quot;0200&amp;quot; which identifies &amp;quot;Ethernet&amp;quot; controllers.)&lt;br /&gt;
&lt;br /&gt;
And compare the PCI IDS with the ones below.&lt;br /&gt;
&lt;br /&gt;
{{NOTE| This will also return the PCI IDS of any Ethernet adapters, as Ethernet adapters and Wireless adapters share the same PCI Class ID.}}&lt;br /&gt;
&lt;br /&gt;
== MiniPCI adapters ==&lt;br /&gt;
&lt;br /&gt;
=== Atheros ===&lt;br /&gt;
*[[IBM Dual-Band 11a/b Wi-Fi Wireless Mini PCI Adapter]] &amp;lt;tt&amp;gt;(PCI-ID: 168c:0012)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[IBM 11b/g Wireless LAN Mini PCI Adapter]] &amp;lt;tt&amp;gt;(PCI-ID: 168c:0013)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[IBM 11a/b/g Wireless LAN Mini PCI Adapter]] &amp;lt;tt&amp;gt;(PCI-ID: 168c:1014)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[IBM 11a/b/g Wireless LAN Mini PCI Adapter II]] &amp;lt;tt&amp;gt;(PCI-ID: 168c:1014)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[ThinkPad 11a/b/g Wireless LAN Mini Express Adapter]] &amp;lt;tt&amp;gt;(PCI-ID: 168c:1014)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[ThinkPad 11a/b/g/n Wireless LAN Mini Express Adapter]] (AR5BXB72) &amp;lt;tt&amp;gt;(PCI-ID: 168c:0024)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[SparkLAN WMIA-166AG Wireless LAN Mini PCI Adapter (AR5006XS)]] &amp;lt;tt&amp;gt;(PCI-ID: 168c:001b)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Cisco ===&lt;br /&gt;
*[[Cisco Aironet Wireless 802.11b]] &amp;lt;tt&amp;gt;(PCI-ID: 14b9:a504)&amp;lt;/tt&amp;gt;&lt;br /&gt;
=== Intel ===&lt;br /&gt;
*[[Intel PRO/Wireless LAN 2100 3B Mini PCI Adapter]] &amp;lt;tt&amp;gt;(PCI-ID: 8086:1043)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Intel PRO/Wireless 2200BG Mini-PCI Adapter]] &amp;lt;tt&amp;gt;(PCI-ID: 8086:4220)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Intel PRO/Wireless 2915ABG Mini-PCI Adapter]] &amp;lt;tt&amp;gt;(PCI-ID: 8086:4224)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter]]&lt;br /&gt;
*[[Intel PRO/Wireless 4965AGN Mini-PCI Express Adapter]]&lt;br /&gt;
&lt;br /&gt;
=== Prism ===&lt;br /&gt;
*[[IBM High Rate Wireless LAN Mini-PCI Adapter with Modem]] &amp;lt;tt&amp;gt;(PCI-ID: 1260:3873)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[IBM High Rate Wireless LAN Mini-PCI Adapter with Modem II]] &amp;lt;tt&amp;gt;(PCI-ID: 1260:3873)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[IBM High Rate Wireless LAN Mini-PCI Adapter III]]&lt;br /&gt;
&lt;br /&gt;
=== Error 1802 - &amp;quot;Unauthorized&amp;quot; MiniPCI network card ===&lt;br /&gt;
Attempts to install an unsupported card will result in the following message:&lt;br /&gt;
&lt;br /&gt;
   1802: Unauthorized network card is plugged in - Power off and remove the miniPCI network card.&lt;br /&gt;
&lt;br /&gt;
For a resolution, see the [[Problem with unauthorized MiniPCI network card]] page.&lt;br /&gt;
&lt;br /&gt;
=== Hardware Transmitter Switch ===&lt;br /&gt;
&lt;br /&gt;
Operating a radio transmitter is not permitted in aircraft, and there are times where security requires that your wireless connection be shut down.  Some ThinkPads with internal MiniPCI wireless cards have a hardware switch that disables the wireless network.  Here it is on the '''on''' position:&lt;br /&gt;
&lt;br /&gt;
[[Image:Wireless-switch.png|(ThinkPad R60 radio switch in the ON position)]]&lt;br /&gt;
&lt;br /&gt;
To be certain that your wireless connection is not transmitting, turn the switch '''off'''.  Just remember to turn it back '''on''' when you once again need wireless access.  If the switch is '''off''', you might encounter a message like the following Log-Message on Startup:&lt;br /&gt;
  ipw3945: Radio Frequency Kill Switch is On:&lt;br /&gt;
  Kill switch must be turned off for wireless networking to work.&lt;br /&gt;
&lt;br /&gt;
Also, when you try to activate (iwconfig) your wireless connection with the switch '''off''' you may see the error,&lt;br /&gt;
  Error for wireless request &amp;quot;Set Mode&amp;quot; (8B06)&lt;br /&gt;
The number 8B06 merely represents the wireless mode (auto, ad-hoc, managed, master), none of which will work with the wireless switch '''off'''.&lt;br /&gt;
&lt;br /&gt;
== Cardbus adapters ==&lt;br /&gt;
Cardbus is a 32bits bus that runs at 33MHz, and is in many ways simular to the PCI bus. In fact under Linux Cardbus adapters are handled by the PCI subsystem.&amp;lt;br&amp;gt;&lt;br /&gt;
You can differentiate a PC Card adapter from a Cardbus adapter as the later has a gold coloured grounding strip&lt;br /&gt;
=== IBM 11 a/b/g Wireless Cardbus Adapter ===&lt;br /&gt;
Chipset: Atheros&amp;lt;br&amp;gt;&lt;br /&gt;
Driver: [[madwifi]]&amp;lt;br&amp;gt;&lt;br /&gt;
Supported wireless modes: 802.11a, 802.11b, 802.11g&lt;br /&gt;
&lt;br /&gt;
Specifications: [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-51855 MIGR-51855]&amp;lt;br&amp;gt;&lt;br /&gt;
Users Guide: [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-51959 MIGE-51855]&amp;lt;br&amp;gt;&lt;br /&gt;
Service Parts: [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-51874 MIGR-51874]&lt;br /&gt;
Looking for a reverse PCI to cardbus (ie - want to fit a PCI card into a cardbus slot)&lt;br /&gt;
&lt;br /&gt;
=== IBM 802.11a Wireless LAN Cardbus Adapter ===&lt;br /&gt;
Chipset: Atheros&amp;lt;br&amp;gt;&lt;br /&gt;
Driver: [[madwifi]]&amp;lt;br&amp;gt;&lt;br /&gt;
Supported wireless modes: 802.11a&lt;br /&gt;
&lt;br /&gt;
Specifications: [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-42209 MIGR-42209]&amp;lt;br&amp;gt;&lt;br /&gt;
Users Guide: [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-42233 MIGR-42233]&amp;lt;br&amp;gt;&lt;br /&gt;
Service Parts: [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-42231 MIGR-42231]&lt;br /&gt;
&lt;br /&gt;
== PC Card (PCMCIA) adapters ==&lt;br /&gt;
PC Card or PCMCIA (Personal Computer Memory Card International Association) as it used to be called, is an 8 or 16bits bus limited to 8MHz, in many ways simular to the old ISA bus and not suitable for highspeed devices.&lt;br /&gt;
=== Cisco Aironet 350 802.11b wireless PC card with 128bit ===&lt;br /&gt;
Chipset: Cisco&amp;lt;br&amp;gt;&lt;br /&gt;
Driver: airo_cs&amp;lt;br&amp;gt;&lt;br /&gt;
Supported wireless modes: 802.11b&lt;br /&gt;
=== IBM High Rate Wireless LAN PC Card ===&lt;br /&gt;
Chipset: Hermes I&amp;lt;br&amp;gt;&lt;br /&gt;
Drivers: [[orinoco|orinoco_cs]]&amp;lt;br&amp;gt;&lt;br /&gt;
Supported wireless modes: 802.11b&lt;br /&gt;
&lt;br /&gt;
[[Category:Components]]&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Intel_PRO/Wireless_3945ABG_Mini-PCI_Express_Adapter&amp;diff=37992</id>
		<title>Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Intel_PRO/Wireless_3945ABG_Mini-PCI_Express_Adapter&amp;diff=37992"/>
		<updated>2008-06-15T04:12:33Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* Hardware switch */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot;&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;
&lt;br /&gt;
This is a Mini-PCI Express WiFi Adapter&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
* Chipset: Intel WM3945AG&lt;br /&gt;
* IEEE Standards: 802.11a, 802.11b, 802.11g&lt;br /&gt;
* PCI ID: 8086:4227&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
[[image:3945abg.jpg|Mini-PCI WiFi Adapter]]&lt;br /&gt;
|}&lt;br /&gt;
== IBM Partnumbers ==&lt;br /&gt;
* 41A4068&lt;br /&gt;
&lt;br /&gt;
{{NOTE| Only the IBM Parts will work, any other parts will give an 1802 error on Post because the sub-vendor PCI ID is different, see [[Problem with unauthorized MiniPCI network card]] for more details}}&lt;br /&gt;
&lt;br /&gt;
== Also known (in IBM literature) as.... ==&lt;br /&gt;
* From [http://www.ibm.com/common/ssi/rep_ca/8/897/ENUS106-068/ENUS106-068.PDF announcement letter 106-068], 'Intel PRO/Wireless 3945ABG8 wireless connection'&lt;br /&gt;
&lt;br /&gt;
== Support ==&lt;br /&gt;
* Linux has the [[ipw3945]] and the [[iwl3945]] drivers. iwl3945 should be used as it is newer and actively developed. Also, Kernel 2.6.24 drops the old wireless-stack so ipw3945 won't compile.&lt;br /&gt;
&lt;br /&gt;
== Hardware switch ==&lt;br /&gt;
&lt;br /&gt;
Operating a radio transmitter is not permitted in aircraft, and there are times where security requires that your wireless connection be shut down.  Some ThinkPads have a hardware switch that disables the wireless network.  Here it is on the '''on''' position:&lt;br /&gt;
&lt;br /&gt;
[[Image:Wireless-switch.png|(ThinkPad R60 radio switch in the ON position)]]&lt;br /&gt;
&lt;br /&gt;
To be certain that your wireless connection is not transmitting, turn the switch '''off'''.  Just remember to turn it back on when you once again need wireless access.  If the switch is '''off''', you might encounter following Log-Message on Startup:&lt;br /&gt;
  ipw3945: Radio Frequency Kill Switch is On:&lt;br /&gt;
  Kill switch must be turned off for wireless networking to work.&lt;br /&gt;
&lt;br /&gt;
Also, when you try to activate (iwconfig) your wireless connection with the switch '''off''' you may see the error,&lt;br /&gt;
  Error for wireless request &amp;quot;Set Mode&amp;quot; (8B06)&lt;br /&gt;
The number 8B06 does not matter.  It merely represents the wireless mode (auto, ad-hoc, managed, master), none of which will work with the wireless switch '''off'''.&lt;br /&gt;
&lt;br /&gt;
== ThinkPads this card may be found in ==&lt;br /&gt;
* {{T43}}, {{T43p}} as an external ExpressCard&lt;br /&gt;
* {{R60}}&lt;br /&gt;
* {{T60}}, {{T60p}}, {{T61}}&lt;br /&gt;
* {{X60}}, {{X60s}}, {{X60_Tablet}}, {{X61}}, {{X61s}}, {{X61_Tablet}}&lt;br /&gt;
* {{R61i}}, {{Z61e}}, {{Z61m}}, {{Z61t}}, {{Z61p}}&lt;br /&gt;
* [[N100|Lenovo 300]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Components]]&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_make_ACPI_work&amp;diff=33682</id>
		<title>How to make ACPI work</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_make_ACPI_work&amp;diff=33682"/>
		<updated>2007-10-05T15:46:28Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* Update BIOS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==General==&lt;br /&gt;
First, simply try using the power management features of Linux on your computer. Tell Linux to suspend (System &amp;gt; Preferences &amp;gt; Power Management in Gnome).  Try closing the lid.    ACPI may already work.&lt;br /&gt;
&lt;br /&gt;
===Update BIOS===&lt;br /&gt;
ACPI requires a relatively new BIOS version.  In particular, if you get the message,&lt;br /&gt;
   ACPI: Could not use ECDT&lt;br /&gt;
during startup, you probably need a [[BIOS Upgrade]].  For example, a BIOS upgrade from version 1.02 to 1.10 was all that was needed for ACPI to start working on an A31 2652 running Red Hat Enterprise Linux 5 (CentOS 5).&lt;br /&gt;
&lt;br /&gt;
===Kernel configuration===&lt;br /&gt;
Many Kernel 2.6 distributions like Red Hat Enterprise Linux 5 (Centos 5) have ACPI built in and ready to go.  If not, you must enable ACPI support in your kernel.&lt;br /&gt;
&lt;br /&gt;
To do this open your kernel config and enable ACPI Power Management:&lt;br /&gt;
:{{kernelconf|CONFIG_PM|&amp;lt;*&amp;gt;|Power Management support|Power management options|||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_SLEEP|&amp;lt;*&amp;gt;|ACPI|Power management options|||}}&lt;br /&gt;
&lt;br /&gt;
You'd most likely want to enable the following ACPI options:&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_SLEEP|&amp;lt;*&amp;gt;|Sleep States|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_AC|&amp;lt;*&amp;gt;|AC Adapter|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_BATTERY|&amp;lt;*&amp;gt;|Battery|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_FAN|&amp;lt;*&amp;gt;|Fan|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_PROCESSOR|&amp;lt;*&amp;gt;|Processor|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_THERMAL|&amp;lt;*&amp;gt;|Thermal Zone|ACPI|Power management options||}}&lt;br /&gt;
&lt;br /&gt;
If you prefer editing your {{path|.config}} file directly, you should set at least the following variables:&lt;br /&gt;
 CONFIG_PM=y&lt;br /&gt;
 CONFIG_ACPI_BOOT=y&lt;br /&gt;
 CONFIG_ACPI_INTERPRETER=y&lt;br /&gt;
 CONFIG_ACPI_SLEEP=y&lt;br /&gt;
 CONFIG_ACPI_SLEEP_PROC_FS=y&lt;br /&gt;
 CONFIG_ACPI_AC=y&lt;br /&gt;
 CONFIG_ACPI_BATTERY=y&lt;br /&gt;
 CONFIG_ACPI_BUTTON=y&lt;br /&gt;
 CONFIG_ACPI_FAN=y&lt;br /&gt;
 CONFIG_ACPI_PROCESSOR=y&lt;br /&gt;
 CONFIG_ACPI_THERMAL=y&lt;br /&gt;
 CONFIG_ACPI_BUS=y&lt;br /&gt;
 CONFIG_ACPI_EC=y&lt;br /&gt;
 CONFIG_ACPI_POWER=y&lt;br /&gt;
 CONFIG_ACPI_PCI=y&lt;br /&gt;
 CONFIG_ACPI_SYSTEM=y&lt;br /&gt;
&lt;br /&gt;
Then recompile your kernel. &lt;br /&gt;
&lt;br /&gt;
{{HINT| ACPI SLEEP States option did only show up for me after patching [[Software Suspend 2]] into the kernel. With a vanilla 2.6.17 kernel, one must enable CONFIG_SMP and CONFIG_HOTPLUG_CPU for the option to appear, cf. [http://bugs.debian.org/383059 Debian bug #383059] .}}&lt;br /&gt;
&lt;br /&gt;
===Kernel boot parameters===&lt;br /&gt;
Many ThinkPads have been hit by a recent (kernel 2.6.16) change to ACPI4Linux that changed the default means of accessing the ACPI Embedded Controller as a way to shake out underlying bugs in the EC access code. If your ThinkPad fails to resume properly (a blinking Sleep light on resume that doesn't go away, or a hang when trying to suspend/standby a second time), adding {{bootparm|ec_intr|0}} to your kernel command line may help.&lt;br /&gt;
&lt;br /&gt;
===IBM specific ACPI driver===&lt;br /&gt;
Unfortunately, special drivers for ACPI on ThinkPads were not included with kernels prior 2.6.10. So you'll have to compile one yourself or get it as precompiled module for your kernel.&lt;br /&gt;
&lt;br /&gt;
You have the choice between [[thinkpad-acpi]] and [[ibm-acpi]], with the latter being the recommended one.&lt;br /&gt;
&lt;br /&gt;
If you use a post-2.6.10 kernel and you want to use [[ibm-acpi]], it is recommended to look on its projects page for a possibly newer version.&lt;br /&gt;
&lt;br /&gt;
{{HINT|Generally it is a good idea to read the README included with the driver.}}&lt;br /&gt;
&lt;br /&gt;
===ACPI daemon===&lt;br /&gt;
Also you'll need to install [[acpid]], if it isn't present on your system. [[acpid]] is a daemon that handles the ACPI events generated by the system. Read [[How to configure acpid]].&lt;br /&gt;
&lt;br /&gt;
==Screen blanking (Standby)==&lt;br /&gt;
Make sure you have &lt;br /&gt;
 Option &amp;quot;DPMS&amp;quot;&lt;br /&gt;
in the Monitor section of your {{path|/etc/X11/XF86Config}} or {{path|/etc/X11/xorg.conf}}.&lt;br /&gt;
&lt;br /&gt;
Running {{cmduser|xset +dpms}} and then {{cmduser|xset dpms force off}} will turn off the backlight on a laptop screen.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this may not work in combination with {{cmduser|echo -n &amp;quot;mem&amp;quot; &amp;gt; /sys/power/state}} because switching to console causes the backlight to come back on before sleeping.&lt;br /&gt;
&lt;br /&gt;
==Suspend to RAM (Sleep)==&lt;br /&gt;
ACPI Sleep/suspend-to-ram with recent 2.6.x kernels usually works fine. Have a look at the [[How to configure acpid|acpid configuration HOWTO]]. It includes a specific example for going to sleep on lid close.&lt;br /&gt;
&lt;br /&gt;
For Troubleshooting, look at the [[Problems with ACPI suspend-to-ram|Problems with ACPI suspend-to-ram page]].&lt;br /&gt;
&lt;br /&gt;
==Suspend to disk (Hibernate)==&lt;br /&gt;
There are two drivers for this available:&lt;br /&gt;
* [[swsusp]], which is in the kernel and&lt;br /&gt;
* [[Software Suspend 2]] which is more feature rich, but not yet in the kernel, so you have to patch it in yourself.&lt;br /&gt;
&lt;br /&gt;
Both are reported to work fine as long as you use open-source graphic drivers. A comparison of the features can be found on [http://softwaresuspend.berlios.de/features.html this page].&lt;br /&gt;
&lt;br /&gt;
Just in case you are in doubt...yes, it is safe in both cases to use the same swap partition as active swap and as suspend partition.&lt;br /&gt;
&lt;br /&gt;
See the according drivers page for instructions.&lt;br /&gt;
&lt;br /&gt;
==ThinkPads on which it is recommended to use ACPI==&lt;br /&gt;
*ThinkPad {{770X}}, {{770Z}}&lt;br /&gt;
*ThinkPad {{A20m}}, {{A20p}}, {{A20m}}, {{A20p}}, {{A21e}}, {{A21m}}, {{A21p}}, {{A22e}}, {{A22m}}, {{A22p}}, {{A30}}, {{A30p}}, {{A31}}, {{A31p}}&lt;br /&gt;
*ThinkPad {{G40}}, {{G41}}&lt;br /&gt;
*ThinkPad {{R30}}, {{R31}}, {{R32}}, {{R40}}, {{R40e}}, {{R50}}, {{R50e}}, {{R50p}}, {{R51}}, {{R52}}, {{R60}}&lt;br /&gt;
*ThinkPad {{T22}}, {{T23}}, {{T30}}, {{T40}}, {{T40p}}, {{T41}}, {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}&lt;br /&gt;
*ThinkPad {{X20}}, {{X21}}, {{X22}}, {{X23}}, {{X24}}, {{X30}}, {{X31}}, {{X32}}, {{X40}}, {{X41}}, {{X41T}}&lt;br /&gt;
*ThinkPad {{Z60t}}, {{Z60m}}, {{Z61m}}&lt;br /&gt;
*ThinkPad {{X60s}}&lt;br /&gt;
*ThinkPad {{TransNote}}&lt;br /&gt;
*ThinkPad {{T20}} and {{T21}} have old ACPI implementations, but there have been some reports of using ACPI successfully on these models with Ubuntu and Mandriva in particular. Check the related pages about installing Linux on these models for details.&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_make_ACPI_work&amp;diff=33547</id>
		<title>How to make ACPI work</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_make_ACPI_work&amp;diff=33547"/>
		<updated>2007-09-29T16:55:39Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* General */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==General==&lt;br /&gt;
First, simply try using the power management features of Linux on your computer. Tell Linux to suspend (System &amp;gt; Preferences &amp;gt; Power Management in Gnome).  Try closing the lid.    ACPI may already work.&lt;br /&gt;
&lt;br /&gt;
===Update BIOS===&lt;br /&gt;
ACPI requires a relatively new BIOS version.  For example, a [[BIOS Upgrade]] from version 1.02 to 1.10 was all that ACPI needed to start working on an A31 2652.&lt;br /&gt;
  &lt;br /&gt;
===Kernel configuration===&lt;br /&gt;
Many Kernel 2.6 distributions like Red Hat Enterprise Linux 5 (Centos 5) have ACPI built in and ready to go.  If not, you must enable ACPI support in your kernel.&lt;br /&gt;
&lt;br /&gt;
To do this open your kernel config and enable ACPI Power Management:&lt;br /&gt;
:{{kernelconf|CONFIG_PM|&amp;lt;*&amp;gt;|Power Management support|Power management options|||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_SLEEP|&amp;lt;*&amp;gt;|ACPI|Power management options|||}}&lt;br /&gt;
&lt;br /&gt;
You'd most likely want to enable the following ACPI options:&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_SLEEP|&amp;lt;*&amp;gt;|Sleep States|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_AC|&amp;lt;*&amp;gt;|AC Adapter|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_BATTERY|&amp;lt;*&amp;gt;|Battery|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_FAN|&amp;lt;*&amp;gt;|Fan|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_PROCESSOR|&amp;lt;*&amp;gt;|Processor|ACPI|Power management options||}}&lt;br /&gt;
:{{kernelconf|CONFIG_ACPI_THERMAL|&amp;lt;*&amp;gt;|Thermal Zone|ACPI|Power management options||}}&lt;br /&gt;
&lt;br /&gt;
If you prefer editing your {{path|.config}} file directly, you should set at least the following variables:&lt;br /&gt;
 CONFIG_PM=y&lt;br /&gt;
 CONFIG_ACPI_BOOT=y&lt;br /&gt;
 CONFIG_ACPI_INTERPRETER=y&lt;br /&gt;
 CONFIG_ACPI_SLEEP=y&lt;br /&gt;
 CONFIG_ACPI_SLEEP_PROC_FS=y&lt;br /&gt;
 CONFIG_ACPI_AC=y&lt;br /&gt;
 CONFIG_ACPI_BATTERY=y&lt;br /&gt;
 CONFIG_ACPI_BUTTON=y&lt;br /&gt;
 CONFIG_ACPI_FAN=y&lt;br /&gt;
 CONFIG_ACPI_PROCESSOR=y&lt;br /&gt;
 CONFIG_ACPI_THERMAL=y&lt;br /&gt;
 CONFIG_ACPI_BUS=y&lt;br /&gt;
 CONFIG_ACPI_EC=y&lt;br /&gt;
 CONFIG_ACPI_POWER=y&lt;br /&gt;
 CONFIG_ACPI_PCI=y&lt;br /&gt;
 CONFIG_ACPI_SYSTEM=y&lt;br /&gt;
&lt;br /&gt;
Then recompile your kernel. &lt;br /&gt;
&lt;br /&gt;
{{HINT| ACPI SLEEP States option did only show up for me after patching [[Software Suspend 2]] into the kernel. With a vanilla 2.6.17 kernel, one must enable CONFIG_SMP and CONFIG_HOTPLUG_CPU for the option to appear, cf. [http://bugs.debian.org/383059 Debian bug #383059] .}}&lt;br /&gt;
&lt;br /&gt;
===Kernel boot parameters===&lt;br /&gt;
Many ThinkPads have been hit by a recent (kernel 2.6.16) change to ACPI4Linux that changed the default means of accessing the ACPI Embedded Controller as a way to shake out underlying bugs in the EC access code. If your ThinkPad fails to resume properly (a blinking Sleep light on resume that doesn't go away, or a hang when trying to suspend/standby a second time), adding {{bootparm|ec_intr|0}} to your kernel command line may help.&lt;br /&gt;
&lt;br /&gt;
===IBM specific ACPI driver===&lt;br /&gt;
Unfortunately, special drivers for ACPI on ThinkPads were not included with kernels prior 2.6.10. So you'll have to compile one yourself or get it as precompiled module for your kernel.&lt;br /&gt;
&lt;br /&gt;
You have the choice between [[thinkpad-acpi]] and [[ibm-acpi]], with the latter being the recommended one.&lt;br /&gt;
&lt;br /&gt;
If you use a post-2.6.10 kernel and you want to use [[ibm-acpi]], it is recommended to look on its projects page for a possibly newer version.&lt;br /&gt;
&lt;br /&gt;
{{HINT|Generally it is a good idea to read the README included with the driver.}}&lt;br /&gt;
&lt;br /&gt;
===ACPI daemon===&lt;br /&gt;
Also you'll need to install [[acpid]], if it isn't present on your system. [[acpid]] is a daemon that handles the ACPI events generated by the system. Read [[How to configure acpid]].&lt;br /&gt;
&lt;br /&gt;
==Screen blanking (Standby)==&lt;br /&gt;
Make sure you have &lt;br /&gt;
 Option &amp;quot;DPMS&amp;quot;&lt;br /&gt;
in the Monitor section of your {{path|/etc/X11/XF86Config}} or {{path|/etc/X11/xorg.conf}}.&lt;br /&gt;
&lt;br /&gt;
Running {{cmduser|xset +dpms}} and then {{cmduser|xset dpms force off}} will turn off the backlight on a laptop screen.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this may not work in combination with {{cmduser|echo -n &amp;quot;mem&amp;quot; &amp;gt; /sys/power/state}} because switching to console causes the backlight to come back on before sleeping.&lt;br /&gt;
&lt;br /&gt;
==Suspend to RAM (Sleep)==&lt;br /&gt;
ACPI Sleep/suspend-to-ram with recent 2.6.x kernels usually works fine. Have a look at the [[How to configure acpid|acpid configuration HOWTO]]. It includes a specific example for going to sleep on lid close.&lt;br /&gt;
&lt;br /&gt;
For Troubleshooting, look at the [[Problems with ACPI suspend-to-ram|Problems with ACPI suspend-to-ram page]].&lt;br /&gt;
&lt;br /&gt;
==Suspend to disk (Hibernate)==&lt;br /&gt;
There are two drivers for this available:&lt;br /&gt;
* [[swsusp]], which is in the kernel and&lt;br /&gt;
* [[Software Suspend 2]] which is more feature rich, but not yet in the kernel, so you have to patch it in yourself.&lt;br /&gt;
&lt;br /&gt;
Both are reported to work fine as long as you use open-source graphic drivers. A comparison of the features can be found on [http://softwaresuspend.berlios.de/features.html this page].&lt;br /&gt;
&lt;br /&gt;
Just in case you are in doubt...yes, it is safe in both cases to use the same swap partition as active swap and as suspend partition.&lt;br /&gt;
&lt;br /&gt;
See the according drivers page for instructions.&lt;br /&gt;
&lt;br /&gt;
==ThinkPads on which it is recommended to use ACPI==&lt;br /&gt;
*ThinkPad {{770X}}, {{770Z}}&lt;br /&gt;
*ThinkPad {{A20m}}, {{A20p}}, {{A20m}}, {{A20p}}, {{A21e}}, {{A21m}}, {{A21p}}, {{A22e}}, {{A22m}}, {{A22p}}, {{A30}}, {{A30p}}, {{A31}}, {{A31p}}&lt;br /&gt;
*ThinkPad {{G40}}, {{G41}}&lt;br /&gt;
*ThinkPad {{R30}}, {{R31}}, {{R32}}, {{R40}}, {{R40e}}, {{R50}}, {{R50e}}, {{R50p}}, {{R51}}, {{R52}}, {{R60}}&lt;br /&gt;
*ThinkPad {{T22}}, {{T23}}, {{T30}}, {{T40}}, {{T40p}}, {{T41}}, {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}&lt;br /&gt;
*ThinkPad {{X20}}, {{X21}}, {{X22}}, {{X23}}, {{X24}}, {{X30}}, {{X31}}, {{X32}}, {{X40}}, {{X41}}, {{X41T}}&lt;br /&gt;
*ThinkPad {{Z60t}}, {{Z60m}}, {{Z61m}}&lt;br /&gt;
*ThinkPad {{X60s}}&lt;br /&gt;
*ThinkPad {{TransNote}}&lt;br /&gt;
*ThinkPad {{T20}} and {{T21}} have old ACPI implementations, but there have been some reports of using ACPI successfully on these models with Ubuntu and Mandriva in particular. Check the related pages about installing Linux on these models for details.&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=BIOS_Upgrade&amp;diff=33541</id>
		<title>BIOS Upgrade</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=BIOS_Upgrade&amp;diff=33541"/>
		<updated>2007-09-29T08:30:31Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* Extracting a Bootable CD-ROM Image from the Non Diskette Updater */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
This page is meant to describe ways to update the BIOS on a ThinkPad that only runs Linux for users that don't have ready access to Windows. If you have Windows on your ThinkPad you can just boot into it and follow instructions on the IBM website.&lt;br /&gt;
&lt;br /&gt;
{{NOTE| In one case ([[APM setup on a type 2379 ThinkPad T40]]) it was not possible to upgrade the BIOS from Windows XP; a downgrade to Windows 98 was required to successfully run the BIOS upgrade app. The symptoms in this case were that, once the files had been extracted to the hard disk, and the machine was to reboot into the upgrade app, it would beep and hang just before reboot, requiring a power cycle. Once the power was cycled, it would simply reboot back into XP without performing any BIOS upgrade actions. So even if you have Windows, you may still need to use the info on this page.}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
==Before You Begin==&lt;br /&gt;
Updating the BIOS in Linux (with few exceptions) '''is not officially supported''' by IBM/Lenovo.  However there are work arounds.&lt;br /&gt;
&lt;br /&gt;
{{WARN|By following any of the instructions here you are accepting the '''very real risk''' of turning your thinkpad into a big expensive paper weight, as a firmware update gone wrong can create unfixable problems.&lt;br /&gt;
&lt;br /&gt;
'''Proceed at your own risk!'''&lt;br /&gt;
&lt;br /&gt;
It is also important to understand that Thinkpads from IBM have two separate firmwares: the BIOS, and the Embedded Controller program.  A given BIOS version will require a certain version of the Embedded Controller program.&lt;br /&gt;
&lt;br /&gt;
The IBM documentation is sometimes unclear about the order in which these two firmwares should be updated.  On most, but not all Thinkpads, '''the correct update order is Embedded Controller program first, and then the BIOS'''.  Make sure to do the two updates immediately one after the other.  Newer models from Lenovo update both the Embedded Controller program and the BIOS at the same time, so you don't have to worry about it.}}&lt;br /&gt;
&lt;br /&gt;
==BIOS Upgrade Paths==&lt;br /&gt;
&lt;br /&gt;
For every firmware (either BIOS or Embedded Controller program) update on the IBM web site there used to be two different firmware update programs provided. The Diskette Updater and the Non Diskette Updater. For newer Lenovo Models the Diskette Updater is replaced with a bootable CD-Image and the Non Diskette Updater is renamed BIOS Update Utility, both of which update the BIOS and the Embedded Controller program at the same time. A list of links to firmware downloads can be found at [[BIOS Upgrade Downloads]] for nearly all Thinkpad Models.&lt;br /&gt;
&lt;br /&gt;
===The Diskette Updater===&lt;br /&gt;
&lt;br /&gt;
The Diskette updater appears to be a 16 bit DOS program which asks you to accept a license agreement.  It will run in Windows, DOS, OS/2, or [http://dosemu.sf.net Dosemu] perfectly, but requires a real floppy disk attached via a real floppy controller.  A USB Floppy Drive will not work.&lt;br /&gt;
&lt;br /&gt;
===The Bootable CD Image===&lt;br /&gt;
&lt;br /&gt;
Newer models from Lenovo can be updated using the Bootable CD Image.  This should be the easiest way for non-Windows users and also maybe a more secure way for Windows users, as well. As the image is provided as a plain ISO-file without any Windows enclosure, you can simply burn it to a CD-R/RW with any modern operating system, as long as you have a CD/DVD-RW Drive and are then able to boot from it.&lt;br /&gt;
&lt;br /&gt;
===Extracting a Bootable CD-ROM Image from the Non Diskette Updater===&lt;br /&gt;
{{WARN|Though this process was successfully tested on one version of .exe files found on IBMs website this doesn't mean it will work for all of them.  Proceed at your own risk.  Consult the list at the bottom of this page to see other users' experience with your model Thinkpad.}}&lt;br /&gt;
&lt;br /&gt;
This installer appears to be a 32bit windows .exe which is designed for updating the BIOS directly from a running Windows OS.  It turns out that this .exe is really a wrapper license program around Windows .cab files (see [[How_to_change_the_BIOS_bootsplash_screen|BIOS-Bootsplash]]).  If you install the Linux program [http://freshmeat.net/projects/cabextract/ '''cabextract'''] you can expand these .cab files directly.  Run the following:&lt;br /&gt;
&lt;br /&gt;
:{{cmduser|cabextract FILENAME.exe}}&lt;br /&gt;
&lt;br /&gt;
This will extract 8 files in the current directory.  One of them will be FILENAME.img.  In this discussion, &amp;quot;FILENAME&amp;quot; represents the name of the Non Diskette file that you downloaded, such as &amp;quot;1NHJ04US&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
You can test that this is really a floppy image by running:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|mkdir mntfloppy}}&lt;br /&gt;
:{{cmdroot|mount -o loop FILENAME.img mntfloppy}}&lt;br /&gt;
:{{cmdroot|ls -la mntfloppy}}&lt;br /&gt;
&lt;br /&gt;
If the results of {{cmdroot|ls -la mntfloppy}} look like a dos floppy, and no read errors were displayed, you have a pretty good chance that the floppy image is usable.&lt;br /&gt;
&lt;br /&gt;
Unmount the image after you are done:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|umount mntfloppy}}&lt;br /&gt;
&lt;br /&gt;
Now, you can proceed to [[BIOS_Upgrade:Creating a Bootable CD from a Floppy Image]], below.&lt;br /&gt;
&lt;br /&gt;
== Updating Thinkpad X Series ==&lt;br /&gt;
&lt;br /&gt;
X Series Thinkpads do not have an internal drive. If there is no Windows installed, the BIOS must be updated by booting from an USB drive or a drive that is integrated in the docking station. Since a while Lenovo provides BIOS updates in form of bootable CD images. Unfortunately, these images are intended to be used with the docking station's CD drive. If you do not own such a drive, things get complicated.&lt;br /&gt;
&lt;br /&gt;
The problem is that current BIOS updates are quite large, about 3 MB in size. Booting from CDs typically works like booting from a 1.44 MB or 2.88 MB floppy disk. The floppy image is stored on the CD and is referenced in the CD's boot record. Because the BIOS update file are that large, they do not fit on such a floppy image. Thus, they must be stored on the CD outside the virtual floppy image. To access these files a driver for the CD drive has to be loaded. Since Lenovo's CD images are intended to be used with a docking station's CD drive, it is not possible to use them for BIOS updates by booting from an USB CD drive.&lt;br /&gt;
&lt;br /&gt;
But there is hope. The CD images provided by Lenovo can be modified such that they contain drivers for USB CD drives. I tested the following with a Thinkpad {{X60s}}.&lt;br /&gt;
&lt;br /&gt;
The idea is to take Lenovo's ISO CD image and modify it such that a USB CD drive can be used instead the CD drive in the docking station. Unfortunately, simply replacing the drivers is not enough. While doing the BIOS update, the USB ports seem to get disabled or something. Therefore, before starting the update process the CD contents have to be copied to a RAM disk. I will describe the procedure step by step.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Download the ISO image style BIOS update from Lenovo's website. This file will be refered to as &amp;lt;tt&amp;gt;/tmp/bios-lenovo.iso&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Extract the floppy image from this ISO image. You can use the following shell script for this task (or an alternative one from [http://userpages.uni-koblenz.de/~krienke/ftp/noarch/geteltorito/]). Simply save this code into the file &amp;lt;tt&amp;gt;/tmp/extractbootimage.sh&amp;lt;/tt&amp;gt;, set the x-flag (&amp;lt;tt&amp;gt;chmod +x /tmp/extractbootimage.sh&amp;lt;/tt&amp;gt;) and call it using the command &amp;lt;tt&amp;gt;/tmp/extractbootimage.sh /tmp/bios-lenovo.iso /tmp/bios-lenovo.img&amp;lt;/tt&amp;gt;. The floppy image contained in the ISO image will then be saved to &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img&amp;lt;/tt&amp;gt;. Here is the code of the shell script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# This script extracts the floopy boot image from bootable ISO images&lt;br /&gt;
#&lt;br /&gt;
# Written by Joachim Selke (mail@joachim-selke.de), 2007-04-07&lt;br /&gt;
&lt;br /&gt;
ISOFILE=$1&lt;br /&gt;
IMAGEFILE=$2&lt;br /&gt;
&lt;br /&gt;
if [ ! -r $ISOFILE ]; then&lt;br /&gt;
        echo $ISOFILE: file does not exist or is not readable&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ -z $IMAGEFILE ]; then&lt;br /&gt;
        echo Error: no image file specified&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
ISOFILESIZE=`stat -c %s $ISOFILE`&lt;br /&gt;
&lt;br /&gt;
# collect El Torito data&lt;br /&gt;
# see http://www.phoenix.com/NR/rdonlyres/98D3219C-9CC9-4DF5-B496-A286D893E36A/0/specscdrom.pdf for reference&lt;br /&gt;
&lt;br /&gt;
BOOTCATALOGPOINTERBYTE=$((17 * 0x800 + 0x47))&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $(($BOOTCATALOGPOINTERBYTE + 4)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# absolute pointer to first sector of boot catalog:&lt;br /&gt;
BOOTCATALOG=`od -A n -t x4 -N 4 -j $BOOTCATALOGPOINTERBYTE $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
BOOTCATALOGBYTE=$((0x$BOOTCATALOG * 0x800))&lt;br /&gt;
&lt;br /&gt;
echo Boot catalog starts at byte $BOOTCATALOGBYTE&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $(($BOOTCATALOGBYTE + 32 + 2)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# media type of boot image&lt;br /&gt;
# only floppy disk images are supported by this script&lt;br /&gt;
BOOTMEDIATYPE=`od -A n -t x1 -N 1 -j $(($BOOTCATALOGBYTE + 32 + 1)) $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
if [ $BOOTMEDIATYPE -eq 1 ]; then&lt;br /&gt;
        echo Boot media type is 1.2M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((1200 / 2))&lt;br /&gt;
elif [ $BOOTMEDIATYPE -eq 2 ]; then&lt;br /&gt;
        echo Boot media type is 1.44M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((1440 / 2))&lt;br /&gt;
elif [ $BOOTMEDIATYPE -eq 3 ]; then&lt;br /&gt;
        echo Boot media type is 2.88M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((2880 / 2))&lt;br /&gt;
else&lt;br /&gt;
        echo Boot media type is $((0x$BOOTMEDIATYPE)). This type is not supported yet.&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# absolute pointer to start of boot image&lt;br /&gt;
BOOTIMAGE=`od -A n -t x4 -N 4 -j $(($BOOTCATALOGBYTE + 32 + 8)) $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
BOOTIMAGEBYTE=$((0x$BOOTIMAGE * 0x800))&lt;br /&gt;
&lt;br /&gt;
echo Boot image starts at byte $BOOTIMAGEBYTE&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $((0x$BOOTIMAGE * 0x800 + $IMAGEBLOCKS * 0x800)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
echo Extracting boot image ...&lt;br /&gt;
&lt;br /&gt;
dd if=$ISOFILE of=$IMAGEFILE bs=2K count=$IMAGEBLOCKS skip=$((0x$BOOTIMAGE))&lt;br /&gt;
&lt;br /&gt;
echo Finished&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Mount the floppy image '''as root''' using the loop device:&lt;br /&gt;
:{{cmdroot|mkdir /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
:{{cmdroot|mount -o loop /tmp/bios-lenovo.img /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
The image is now mounted as &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Download needed drivers. First download some [http://panasonic.co.jp/pcc/products/drive/other/driver/f2h_usb.exe USB drivers] from Panasonic Japan. Save the file to &amp;lt;tt&amp;gt;/tmp/f2h_usb.exe&amp;lt;/tt&amp;gt; This file is a self-extracting EXE file, that can be executed under Linux using [http://www.winehq.com/ Wine]:&lt;br /&gt;
:{{cmduser|wine /tmp/f2h_usb.exe}}&lt;br /&gt;
You will be asked where to save the extracted files. Choose &amp;lt;tt&amp;gt;/tmp&amp;lt;/tt&amp;gt;. A new directory &amp;lt;tt&amp;gt;/tmp/F2h&amp;lt;/tt&amp;gt; containing the needed drivers will be created.&lt;br /&gt;
&lt;br /&gt;
Additionally, you will need drivers for the RAM disk mentioned. Download them from the [http://sourceforge.net/projects/srdisk ReSizeable RAMDisk project]. Unzip them to &amp;lt;tt&amp;gt;/tmp/srdisk&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Let's modify the floppy image:&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/Usbaspi.sys /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/USBCD.SYS /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/RAMFD.SYS /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/srdisk/srdxms.sys /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/srdisk/srdisk.exe /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
Now add the following lines to &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt/config.sys&amp;lt;/tt&amp;gt; replacing the line &amp;lt;tt&amp;gt;DEVICE = A:\IBMTPCD.SYS /R /C&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DEVICE = A:\SRDXMS.SYS&lt;br /&gt;
DEVICE = A:\RAMFD.SYS&lt;br /&gt;
DEVICE = A:\USBASPI.SYS /V&lt;br /&gt;
DEVICE = A:\USBCD.SYS /D:TPCD001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Finally, edit the file &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt/autoexec.bat&amp;lt;/tt&amp;gt; replacing the last line (saying &amp;lt;tt&amp;gt;COMMAND.COM&amp;lt;/tt&amp;gt;) by the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A:\SRDISK 10000&lt;br /&gt;
COPY *.* D:&lt;br /&gt;
D:&lt;br /&gt;
COMMAND.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Maybe the RAM disk gets a drive letter different from D: on your system. In this case, you have to change the above lines accordingly.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Unmount the floppy image (as root):&lt;br /&gt;
:{{cmdroot|umount /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Copy the content of the original CD image to a new directory and create a new ISO file:&lt;br /&gt;
:{{cmdroot|mkdir /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmdroot|mount -o loop /tmp/bios-lenovo.iso /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmduser|mkdir /tmp/bios-new.iso-mnt}}&lt;br /&gt;
:{{cmduser|cp /tmp/bios-lenovo.iso-mnt/* /tmp/bios-new.iso-mnt}}&lt;br /&gt;
:{{cmduser|cp /tmp/bios-lenovo.img /tmp/bios-new.iso-mnt/boot.img}}&lt;br /&gt;
:{{cmdroot|umount /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmduser|mkisofs -relaxed-filenames -b boot.img -o /tmp/bios-new.iso /tmp/bios-new.iso-mnt/}}&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
The file &amp;lt;tt&amp;gt;/tmp/bios-new.iso&amp;lt;/tt&amp;gt; is the modified ISO file. Just burn it to CD and use this CD for updating your BIOS (boot from it using your USB drive). Please give some comments here if it worked for you.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alternative method using a USB stick===&lt;br /&gt;
&lt;br /&gt;
''Note: none of the above methods worked on my X60s.  This method worked for me, however.'' [[User:PhilipPaeps|PhilipPaeps]] 16:41, 24 August 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
This method was surprisingly painless once I convinced my ThinkPad X60s to boot DOS from a USB stick.  I used VMWare and some mystical tool to get DOS on the stick.  If you can find another way to get a bootable DOS stick, please update this section!&lt;br /&gt;
&lt;br /&gt;
* Tell VMWare to create a virtual floppy image for you and format it under Microsoft Windows and tell it to create a system disk.  You can do this by clicking into &amp;quot;My Computer&amp;quot;, then right-clicking on the &amp;quot;Floppy&amp;quot; icon and selecting &amp;quot;Format&amp;quot;.  In the box that pops up, you need to check the box that says &amp;quot;Create an MS-DOS startup disk&amp;quot; and then click &amp;quot;Start&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* When you've done that, get this tool: http://www.techpowerup.com/downloads/330/mirrors.php and install it.  The tool is apparantly something HP once wrote, but I have been unable to find a link to it anywhere on the HP website.&lt;br /&gt;
&lt;br /&gt;
* In a command prompt again: &amp;lt;code&amp;gt;C:\DriveKey\HPUSBF.EXE E: -Q -B:A:\&amp;lt;/code&amp;gt;, replacing the &amp;lt;code&amp;gt;E:&amp;lt;/code&amp;gt; with the &amp;quot;drive letter&amp;quot; associated with your USB stick (you can find this letter in &amp;quot;My Computer&amp;quot; under &amp;quot;Removable Storage&amp;quot;).  '''WARNING:''' this wipes anything on the USB stick.  You will end up with a USB stick which appears empty at this point, but there is DOS on it somewhere.&lt;br /&gt;
&lt;br /&gt;
* Now mount the BIOS update ISO image from Lenovo as a virtual CDROM using VMWare again and copy the files from it to the USB stick: &amp;lt;code&amp;gt;copy D:\*.* E:\&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
At this point, you may want to fiddle with the splash image, as described elsewhere on ThinkWiki.&lt;br /&gt;
&lt;br /&gt;
* Reboot and press F12, tell the BIOS to boot from your USB stick.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd flash&amp;lt;/code&amp;gt; ; &amp;lt;code&amp;gt;updtflsh.exe&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Think happy thoughts.  The ThinkPad will beep quite ominously (and loudly!) a couple of times.  Do not let this worry you too much.  After about three minutes, the program will ask you to press enter to restart and hopefully all will be well.&lt;br /&gt;
&lt;br /&gt;
===Comments===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
I have followed your excellent instructions. The CD booted, the update program ran but stopped working and responding while updating. Luckily the BIOS was not destroyed. Since destroying the BIOS is a very high risk, I am going to recover the original Windows on an old HD and will run the update exe update program from there.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
I followed these clear instructions, and like the comment above I ended up with a CD that booted but the update program stopped working and responding.  An ALT-CTRL-DELETE rebooted my x60s, and it works so the BIOS must not have been damaged.  I was trying to upgrade from version 2.08 to 2.11, I wonder if these instructions are somehow particular to certain versions?  &lt;br /&gt;
[[User:Latch|Latch]] 01:22, 14 June 2007 (UTC)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
After following the above instructions, the program also stopped working while updating the BIOS. But after changing the drive letter from D: to C: (see code below), it everything worked fine. However, I had some trouble figuring out, which letter to choose over D: at first, as the BIOS Upgrade program started right away.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A:\SRDISK 10000&lt;br /&gt;
COPY *.* C:&lt;br /&gt;
C:&lt;br /&gt;
COMMAND.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[User:Mtx|Mtx]], 1 August 2007, Thinkpad X61s&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Flashing the bios (2.12) works for me on a X60s (using drive c). Using the DVD-R on an USB-Hub did not work.&amp;lt;br&amp;gt; [[User:Ra|Ra]] 00:15, 21 August 2007 (UTC)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Updating via CD/DVD Drive==&lt;br /&gt;
&lt;br /&gt;
The whole thing gets more complicated if you neither have Windows nor a floppy drive installed. This is what this page is intended to describe.&lt;br /&gt;
&lt;br /&gt;
Another possibility which works even without a CD-drive or network is to boot the disk image via the grub initrd mechanism.&lt;br /&gt;
&lt;br /&gt;
Be aware that IBM officially does '''not''' support this! The official statement to my support request was:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I'm afraid we only support the options listed on our web page and no you&lt;br /&gt;
can't burn a CD/DVD, however you can try to use an external USB FDD&lt;br /&gt;
(floppy) drive. The experts recommend a IBM USB FDD, however they have also&lt;br /&gt;
tested it with a Sony USB FDD drive.&lt;br /&gt;
&lt;br /&gt;
In order to make sure the drive is recognised you can boot up the FDD with&lt;br /&gt;
a bootable dos diskette for w98&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But it seems to be possible as Mathias Dalheimer describes this [http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/1998-January/009743.html here].&lt;br /&gt;
&lt;br /&gt;
Another indication that it should work is that IBM uses PHLASH16.EXE (at least on T4x/p systems) to flash the BIOS into the chip. The same tool is used by [http://www.samsungpc.com/gb/support/p35/bios/bios-instructions.html other vendors] to flash the BIOS from bootable CD-ROMs.&lt;br /&gt;
{{WARN|Do '''not''' use the [http://syslinux.zytor.com/ SYSLINUX] image-loader [http://syslinux.zytor.com/memdisk.php MEMDISK] to boot the images! Some flash tools crash in that situation!}}&lt;br /&gt;
&lt;br /&gt;
Some interesting but very technical information about the used flash tool can be found [http://www.paul.sladen.org/thinkpad-r31/wifi-card-pci-ids.html here].&lt;br /&gt;
&lt;br /&gt;
===Creating a Floppy Image===&lt;br /&gt;
If you have created a boot floppy on another machine, you need to create an image file of that floppy. This can be easily done in linux by running a command line:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|1=dd bs=2x80x18b if=/dev/fd0 of=/tmp/floppy.img}}&lt;br /&gt;
&lt;br /&gt;
You can also create a floppy image by using Ken Kato's [http://chitchat.at.infoseek.co.jp/vmware/vfd.html VMware's back]. It is a free Windoze tool that creates a virtual floppy drive and allows you to produce an image file ready to be ISO'ed. Note: you might have to 'manually' (through application's interface) assign the virtual drive a volume letter in order to be seen by IBM's application (as, by default, it seems not to do it).&lt;br /&gt;
&lt;br /&gt;
You should verify this {{path|floppy.img}} as explained above.&lt;br /&gt;
&lt;br /&gt;
===Creating a Bootable CD from a Floppy Image===&lt;br /&gt;
Once you have your floppy image, either from imaging a real floppy, or from extracting them via the cabextract method above, you need to make a boot CD out of it.&lt;br /&gt;
&lt;br /&gt;
The eltorito bootable CD standard is a wonderful thing.  What this means is that a bootable CD can be made with a bootable floppy in such as way that the CD believes that it is a 2.88 MB floppy drive.  This allows you to replace a boot floppy by a boot CD in nearly all situations.&lt;br /&gt;
&lt;br /&gt;
It is very easy to create such a bootable CD ISO image in Linux using the mkisofs tool.  To do this run a command as follows:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|mkisofs -b bootfloppy.img -o bootcd.iso bootfloppy.img}}&lt;br /&gt;
&lt;br /&gt;
where bootfloppy.img is the name of the .img floppy image file, for example 1NUJ10US.IMG.&lt;br /&gt;
&lt;br /&gt;
Note: This creates a CD with one file on it and marks that file as the boot image.  For more info on this read {{cmduser|man mkisofs}}.&lt;br /&gt;
&lt;br /&gt;
You can now burn the {{path|bootcd.iso}} in your favorite CD burning program.&lt;br /&gt;
&lt;br /&gt;
To get an overview which models have been tested with this version, here is a list:&lt;br /&gt;
&lt;br /&gt;
===Does work:===&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
| '''Model''' || '''Tested by'''&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600E}} (2645-4AU) ||&lt;br /&gt;
*George Tellalov &amp;lt;gtellalov_dontspamme@bigfoot.com&amp;gt;. BIOS 1.16 from spsdin36.exe worked perfectly with the method bootable cd from floppy image. I highly recommend this upgrade because it made my ibm-acpi module load (it wouldn't load before) and fixed some suspend to ram problems. Here's the [http://george.tellalov.info/bios_upgrade_600e_spsdin36.iso cd image] I used. Use at your own risk. You can send me a chocolate if it works for you ;)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600E}} (2645-5bU) ||&lt;br /&gt;
*Mike Vincent&amp;lt;matchstc-putobvioushere.com&amp;gt;. Bios 1.16 from spsdin36.exe and then to the boot cd worked great for me. Thought I had bricked it three separate times using a &amp;quot;real&amp;quot; floppy! Each from different diskettes .The updater would start, give me the &amp;quot;going to take30 seconds&amp;quot; speech...and then access the HD for 10 minutes. Each time it would reboot fine. Did the cd as described above...worked great first time. Perhaps 10 year old seldom used floppy disc drives have some challenges?&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600X}} (2645) ||&lt;br /&gt;
*Jonathan Byrne &amp;lt;jonathan@RemoveThisToMailMe.yamame.org&amp;gt;. BIOS 1.11 from spsuit55.exe worked perfectly using cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600X}} (2645) ||&lt;br /&gt;
*Andy Barnes &amp;lt;andy@RemoveThisToMailMe.itchypaws.co.uk&amp;gt;. As per Jonathan above, extracted BIOS 1.11 from spsuit55.exe using cabextract, created a CD boot image and burnt to CD.  Worked flawlessly - thanks to everyone who contributed to this article!&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A20p}} (2629-6VU) ||&lt;br /&gt;
*Chris Pickett http://www.sable.mcgill.ca/~cpicke/. BIOS 1.11 flashed fine with cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A21e}} (2628-JXU) ||&lt;br /&gt;
*Amit Gurdasani &amp;lt;gurdasani at yahoo dot com&amp;gt;. BIOS 1.13 flashed fine with cabextract/CD method. Alarmingly, after the BIOS update, the laptop beeped but did not shut down as was indicated onscreen -- that was frozen on the &amp;quot;do not shut down the laptop&amp;quot; screen. On power down and up again, the BIOS setup showed the newer BIOS image running, and Linux booted up fine. Linux ACPI didn't complain about the BIOS being too old either.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A31p}} (2653) ||&lt;br /&gt;
*Matthias Meinke largeeddy@gmx.at, BIOS 1.09 1NET15WW flashed fine with cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A31}} (2652) ||&lt;br /&gt;
*[[User:Wnoise|Aaron Denney]], BIOS 1.13 flashed fine with cabextract/CD method.  The cabextract/CD method also worked for BIOS 1.10.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{R30}}  ||&lt;br /&gt;
*Jarrod, 30 August 2007, Thinkpad R30 Type 2656-E0M. BIOS updated to 1.40 (1CETF0WW) using floppy disk/mkisofs/cdrecord. Worked fine, no problems. &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{R31}} ||&lt;br /&gt;
*[http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/1998-January/009743.html Mathias Dalheimer]&lt;br /&gt;
*Sebastian Sauer (with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R40}} ||&lt;br /&gt;
*Matthew Lambie, http://lambie.org&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R50}} (1836-3SU) ||&lt;br /&gt;
*jlbartos &amp;lt;jlbartos at hotmail dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R50e}} (1834-PTG) ||&lt;br /&gt;
*item &amp;lt;item at freemail dot hu&amp;gt; : successfully finished with cabextract/CD method for &amp;quot;1wuj25us.exe&amp;quot; (BIOS version 1WET90WW (2.10), Release Date: 2006/12/22)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (1829) ||&lt;br /&gt;
*Robert Uhl &amp;lt;rob dot uhl at gmx dot de&amp;gt;, Jellby &amp;lt;jellby at yahoo dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (1830-RM7) ||&lt;br /&gt;
*Will Parker &amp;lt;stardotstar at sourcepoint dot com dot au&amp;gt; successfully flashed 3.20 using existing 3.04 ECP and retained custom boot splash.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (2887) ||&lt;br /&gt;
*Ingo van Lil &amp;lt;inguin at gmx dot de&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R52}} (1858) ||&lt;br /&gt;
*Stuart McCord &amp;lt;stuart dot mccord at gmail dot com&amp;gt;  flashed both BIOS and ECP using cabextract, BIOS flashed first as on IBM website&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T20}} ||&lt;br /&gt;
*Franz Hassels &amp;lt;fhassel at suse dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T22}} ||&lt;br /&gt;
*Daniel Maier &amp;lt;nusse teamidiot de&amp;gt;&lt;br /&gt;
*Mathias Behrle (with cabextract/CD method, Version 1.07 =&amp;gt; 1.12) --[[User:Mathiasb|Mathiasb]] 11:58, 14 December 2006 (CET)&lt;br /&gt;
*Bob Skaroff (cabextract/CD), 1.06 =&amp;gt; 1.12&lt;br /&gt;
*Leo Butler (cabextract/CD), 1.11 =&amp;gt; 1.12 &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T23}} ||&lt;br /&gt;
*Bart Snapp &amp;lt;snapp at uiuc dot edu&amp;gt; Note: I followed IBM's instructions to flash the BIOS *first* and the Embedded Controller *second*.&lt;br /&gt;
*Moy Easwaran: BIOS 1.18 / EC 1.06a via cabextract and CD-boot.  The BIOS-update exe generated errors in Windows 2000.&lt;br /&gt;
*Joe Renes: BIOS 1.18 / EC 1.06a on 2006-03-20 via cabextract and CD-boot. Piece of cake.&lt;br /&gt;
*Raphael Errani: BIOS 1.20 / EC 1.06a on 2006-11-06 via cabextract and CD-boot (using mkisofs). Worked without errors. 1st Bios, 2nd EC&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T30}} ||&lt;br /&gt;
*Martin GÃ¼hring &amp;lt;guehring at gmail.com&amp;gt; BIOS 2.10 via cabextract the Non-Diskette BIOS -&amp;gt; mkisofs '''in the directory the exe was extracted''' to generate the iso -&amp;gt; burn the iso -&amp;gt; boot the CD&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{T40}} ||&lt;br /&gt;
*Sean Dague, http://dague.net&lt;br /&gt;
*Justin Mason, http://jmason.org&lt;br /&gt;
*Ivanhoe (Bios 3.19)&lt;br /&gt;
*Alessandro Raulino (roger_2) EC 3.04 &amp;amp; BIOS 3.23 flashed with cabextract/CD method&lt;br /&gt;
*Nick Jenkins, using BIOS 3.23 with the [[#The_Non_Diskette_Updater|Non-diskette updater + cabextract method]], then [[#Creating_a_Bootable_CD_from_a_Floppy_Image|created a bootable CD from the cabextracted .IMG file]], then boot that ISO, and it worked great!&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T40p}} ||&lt;br /&gt;
*Lukas KrÃ¤henbÃ¼hl, ismo at pop dot agri dot ch&lt;br /&gt;
*Thomas Achtemichuk, tom at tomchuk dot com. BIOS 3.15 flashed fine with cabextract/CD method&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{T41}} ||&lt;br /&gt;
*Lev Givon (Bios 3.15 / EC 3.04) &amp;lt;lev at columbia dot edu&amp;gt;&lt;br /&gt;
*Ernesto HernÃ¡ndez-Novich (Bios 3.19 / CP 3.04) &amp;lt; emhn at usb dot ve &amp;gt;&lt;br /&gt;
*[http://maebmij.org James Ballantine] (Bios 3.21 / CP 3.04) using nondisk/cabextract/CDRW&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T41p}} ||&lt;br /&gt;
*Nils Newman, work great. (Version: Bios 3.14 / Embedded Controller 3.04)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T42}} ||&lt;br /&gt;
*Dan (BIOS 3.20 / EC 3.04, cabextract/CD method) &amp;lt;tronic171 at evilphb.org&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T42p}} ||&lt;br /&gt;
*Robert Schiele &amp;lt;rschiele@uni-mannheim.de&amp;gt;, Joern Heissler &amp;lt;joern@heissler.de&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T43}}  ||&lt;br /&gt;
*Conrad Rentsch &amp;lt;Conrad dot Rentsch at t-online dot de&amp;gt; (Version: Bios 1.29 / Embedded Controller 1.06)&lt;br /&gt;
*Tom Heady &amp;lt;tom-thinkwiki.org@punch.net&amp;gt;&lt;br /&gt;
*Florian Boucault &amp;lt;florian at boucault dot ath dot cx&amp;gt; (Model : 1871-W34 &amp;amp; Version: Bios 1.23 / Embedded Controller 1.03)&lt;br /&gt;
*Till Heikamp &amp;lt;t dot heikamp at geniusbytes dot com&amp;gt; (Model 2886, Bios 1.22 to 1.29, Embedded Controller 1.03 to 1.06)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T60}}  ||&lt;br /&gt;
*Roman Komkov &amp;lt;roman  at komkov dot org dot ru&amp;gt; (Model 1951, Bios 1.07 to 2.13) Successfully upgraded from CD Image&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X20}}  ||&lt;br /&gt;
*Neil Caunt &amp;lt;retardis at gmail dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X21}}  ||&lt;br /&gt;
*Patrick Leickner &amp;lt;ranma at web dot de&amp;gt;, (BIOS 2.21-&amp;gt;2.25 / EC 1.31-&amp;gt;1.36) via non-disk/cabextract/mkisofs/cdrecord&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X22}}  ||&lt;br /&gt;
*David Emery &amp;lt;dave at skiddlydee dot com&amp;gt;,  (EC 1.30, BIOS 1.32 using non-disk/cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X23}}  ||&lt;br /&gt;
*Nils Faerber &amp;lt;nils dot faerber at kernelconcepts dot de&amp;gt; (Embedded Controller 1.30, BIOS 1.32 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X30}}  ||&lt;br /&gt;
*Hella Breitkopf, [http://www.unixwitch.de/ www]  (Embedded Controller 1.04, BIOS 1.07 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X31}}  ||&lt;br /&gt;
*Grzegorz KuÅ›nierz &amp;lt;koniu at sheket dot org&amp;gt;  (Embedded Controller 1.08, BIOS 3.01 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X40}}  ||&lt;br /&gt;
*Robbie Stone &amp;lt;robbie@serendipity.cx&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{Z60m}}  ||&lt;br /&gt;
*[[User:Morle|Morle]] 13:09, 20 May 2006 (CEST),  (Embedded Controller 1.14 with cabextract/CD method)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Does not work:===&lt;br /&gt;
{|&lt;br /&gt;
| '''Model''' || '''Tested by'''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Please note that testing this is '''at your own risk'''!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Updating via Grub and a Floppy Image==&lt;br /&gt;
&lt;br /&gt;
{{WARN|Many have warned '''not''' to use the [http://syslinux.zytor.com/ SYSLINUX] image-loader [http://syslinux.zytor.com/memdisk.php MEMDISK] to boot the images! Some flash tools may crash in that situation!  Proceed at your own risk!}}&lt;br /&gt;
&lt;br /&gt;
Floppy images may be booted from Grub via a utility called [http://syslinux.zytor.com/memdisk.php MEMDISK], which may be compiled from the [http://www.kernel.org/pub/linux/utils/boot/syslinux/ '''SYSLINUX source'''].  Copy the compiled memdisk image and the floppy image to your boot directory and configure grub as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
title     Bios Flash&lt;br /&gt;
kernel    /boot/memdisk&lt;br /&gt;
initrd    /boot/FILENAME.img&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, proceed at your own risk.  This was tested on an R51 type 2888.&lt;br /&gt;
&lt;br /&gt;
This also worked for me on a T41p type 2373. -- [[User:MrStaticVoid|James Lee]] 20:55, 8 May 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
And it worked for me on a X31 type 2673-CBU. -- [[User:JanTopinski|Jan Topinski]], 18 September 2006 &lt;br /&gt;
&lt;br /&gt;
And it worked for me too on a X31 type 2672-CXU, very useful. -- [[User:TheAnarcat|TheAnarcat]] 16:21, 7 March 2007 (CET)&lt;br /&gt;
&lt;br /&gt;
Same here (worked) on a X31 type 2673-58G --[[User:FaUl|FaUl]] 15:53, 20 June 2007 (UTC)FaUl&lt;br /&gt;
&lt;br /&gt;
Works well on a X31 type 2672-PG9, but with a big moment between starting update and the updating window -- [[User:Starox|Starox]] 22 Jul 2007&lt;br /&gt;
&lt;br /&gt;
And it worked for me on two X40 type 2371 -- [[User:Antialize|Jakob Truelsen]], 19 Jan 2007 -- BIOS: 2.07 1uuj21us.exe -- ECP: 1.62 1uhj10us.exe&lt;br /&gt;
&lt;br /&gt;
Not working for me on T43 type 2668-F7G -- [[User:Maus3273|Maus3273]] 20:48, 30 January 2007 (CET) -- BIOS: 1.29 1YUJ18US.IMG -- I got into the bios program, but the machine never restarts after initiating the upgrade.&lt;br /&gt;
&lt;br /&gt;
X41 type 2525-F8G -- [[User:ladoga|Lauri Koponen]], 11:08 16 Apr 2007&amp;lt;br&amp;gt; &lt;br /&gt;
BIOS: 2.09 (74UJ15US.IMG), is no go. (hangs while initialising the actual flashing process) I tried with 2.07 (74UJ13US.IMG) and 2.06 (74UJ12US.IMG) aswell and they all failed in the very same fashion.&amp;lt;br&amp;gt;&lt;br /&gt;
ECP: 1.02 74HJ03US.IMG, works.&lt;br /&gt;
&lt;br /&gt;
It works fine on R30 type 2656-64g, BIOS v.1.40 -- [[User:english.voodoo|Yuri Spirin]], 10 May 2007.&lt;br /&gt;
&lt;br /&gt;
==Updating with Network Boot Image==&lt;br /&gt;
&lt;br /&gt;
BIOS, Embedded Controller (EC), CD/DVD and Harddisk firmware disks can be booted&lt;br /&gt;
over the network with [http://syslinux.zytor.com/pxe.php PXELINUX] as part of the [http://syslinux.zytor.com/ SYSLINUX] package.&lt;br /&gt;
&lt;br /&gt;
This requires that you have a DHCP and tftp server configured and setup properly on&lt;br /&gt;
your network, and is probably not for the faint of heart.&lt;br /&gt;
&lt;br /&gt;
Make sure the firmware bootdisk is in linux 'dd' format, as the self-extracting .exe disks&lt;br /&gt;
from the IBM website cannot be booted directly as such.&lt;br /&gt;
&lt;br /&gt;
This worked on the {{R31}}, {{X22}}, {{T21}}, {{T30}} and {{T41p}} with various firmware updates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On {{X22}}, works with EC 1.30 but NOT with BIOS 1.32&lt;br /&gt;
&lt;br /&gt;
==Updating via &amp;quot;IBM Predesktop area&amp;quot;, suitable for model X (not have CDROM and floppy)==&lt;br /&gt;
It's so difficult to update BIOS and ECP without cdrom, floppy disk.&lt;br /&gt;
Don't know the reason why I couldn't update BIOS and ECP(1QHJ08US and 1QUJ19US) for my IBM Thinkpad X31.Hmm, may be cause of the dividing partition on my hard disk, that is: 	&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
Primary: ext3, ext3, ntfs&lt;br /&gt;
Extended: Ntsf, fat32&lt;br /&gt;
Bootloader: GRUB&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No problem, you can use this way to do it:&lt;br /&gt;
* First, config in BIOS&lt;br /&gt;
In Security part:&lt;br /&gt;
# Remove all password of Subpervisor and Power on password&lt;br /&gt;
# Set Access IBM Predesktop Area to Normal&lt;br /&gt;
# Choose Enable &amp;quot;Flash BIOS updating by End User&amp;quot; in BIOS update Option.&lt;br /&gt;
&lt;br /&gt;
In Config part:&lt;br /&gt;
# Choose Enable for Network flash over Lan&lt;br /&gt;
&lt;br /&gt;
* Second, download the newest version of BIOS update and ECP update &lt;br /&gt;
Running: The program extract all files to the folder. There is a .img file (1QUJ19US.IMG, 1QUJ08US.IMG) in each folder.&lt;br /&gt;
Copy the imformation content in that img file and paste it to one FAT partition(using winimage or TotalCmd to extract) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
as seen All files in 1QUJ19US.IMG is extracted to D:\BIOS&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
695,764  $018E000.FL1&lt;br /&gt;
163      0691.HSH&lt;br /&gt;
2,049    0691.PAT&lt;br /&gt;
163      0694.HSH&lt;br /&gt;
2,049    0694.PAT&lt;br /&gt;
163      0695.HSH&lt;br /&gt;
2,049    0695.PAT&lt;br /&gt;
2,049    06D0.PAT&lt;br /&gt;
163      06D1.HSH&lt;br /&gt;
2,049    06D1.PAT&lt;br /&gt;
163      06D2.HSH&lt;br /&gt;
2,049    06D2.PAT&lt;br /&gt;
163      06D6.HSH&lt;br /&gt;
2,049    06D6.PAT&lt;br /&gt;
2,049    06D8.PAT&lt;br /&gt;
697      CHKBMP.EXE&lt;br /&gt;
8,128    COMMAND.COM&lt;br /&gt;
26       CONFIG.SYS&lt;br /&gt;
24,860   FLASH2.EXE&lt;br /&gt;
26       LCREFLSH.BAT&lt;br /&gt;
170      LOGO.BAT&lt;br /&gt;
330      LOGO.SCR&lt;br /&gt;
111,925  PHLASH16.EXE&lt;br /&gt;
91,648   PREPARE.EXE&lt;br /&gt;
45       PROD.DAT&lt;br /&gt;
22,252   QKFLASH.EXE&lt;br /&gt;
9,923    README.TXT&lt;br /&gt;
4,260    TPCHKS.EXE&lt;br /&gt;
39,666   UPDTFLSH.EXE&lt;br /&gt;
6,958    UPDTMN.EXE&lt;br /&gt;
12,501   USERINT.EXE&lt;br /&gt;
15,254   UTILINFO.EXE&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And all files in 1QUJ08US.IMG are: D:\ECP&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
315,404 $018E000.FL2&lt;br /&gt;
8,000   COMMAND.COM&lt;br /&gt;
36      CONFIG.SYS&lt;br /&gt;
16,910  ECFLASH2.EXE&lt;br /&gt;
45      PROD.DAT&lt;br /&gt;
17,812  QKFLASH.EXE&lt;br /&gt;
990     README.TXT&lt;br /&gt;
4,260   TPCHKS.EXE&lt;br /&gt;
89,738  UPDTEC.EXE&lt;br /&gt;
31,134  UPDTFLSH.EXE&lt;br /&gt;
12,501  USERINT.EXE&lt;br /&gt;
15,226  UTILINFO.EXE&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Okie, now plug AC Adapter, charge full battery to your laptop and continue third step:&lt;br /&gt;
&lt;br /&gt;
** '''Flash BIOS first,'''&lt;br /&gt;
1. Power On, press blue button on keyboard: '''Access IBM'''&lt;br /&gt;
&lt;br /&gt;
2. On &amp;quot;Utilities&amp;quot;, double click &amp;quot; Diagnostic disk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
3. Your laptop will start PC-DOS, wait when this message appear:&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
Please insert the first floppy diskette and&lt;br /&gt;
Press any key to continue&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Press Ctrl + Break, you will see :&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;Terminate batch job (Y/N) ?&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Okie, press Y, you will get DOS prompt like D:\&lt;br /&gt;
{{NOTE|D:\ is my RAMDISK, C:\ is my disk format as FAT.!}}&lt;br /&gt;
&lt;br /&gt;
6. Enter to c:\BIOS&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
c:&lt;br /&gt;
cd c:\BIOS&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. Run FLASH2.EXE /u $018E000.FL1&lt;br /&gt;
&lt;br /&gt;
8. Wait flash progress compelete and reboot.&lt;br /&gt;
** '''Flash ECP'''&lt;br /&gt;
Follow above instruction from step 1 to 5&lt;br /&gt;
&lt;br /&gt;
6. Enter to c:\ECP&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
c:&lt;br /&gt;
cd c:\ECP&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. run UPDTFLSH.EXE $018E000.FL2&lt;br /&gt;
&lt;br /&gt;
8. Follow UPDTFLSH's instructions&lt;br /&gt;
&lt;br /&gt;
9. Wait flash complete and auto turn off computer.&lt;br /&gt;
&lt;br /&gt;
I done it on my IBM Thinkpad X31.&lt;br /&gt;
&lt;br /&gt;
Enjoy,&lt;br /&gt;
&lt;br /&gt;
Tested by nm.&lt;br /&gt;
&lt;br /&gt;
==Check List==&lt;br /&gt;
&lt;br /&gt;
The following is important to remember:&lt;br /&gt;
# You must update '''both''' the Control Program and the BIOS at the same time if your current Control Program is not compatible with the new BIOS (see below)&lt;br /&gt;
# You must find versions of the Control Program and BIOS that are compatible.  Not all of them are, so follow the readmes on the IBM website carefully to determine which are.&lt;br /&gt;
# You must update the Control Program '''before''' you update the BIOS&lt;br /&gt;
&lt;br /&gt;
When the Control Program '''and''' the BIOS need updating, have both update disks or CDs ready. Update the Control Program first and the system should switch itself off when finished. Insert the BIOS update disk and proceed to update the BIOS. When it's all finished, enter setup, reset the settings to their defaults and reboot. Enter setup again and tweak the settings as necessary.&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=BIOS_Upgrade&amp;diff=33540</id>
		<title>BIOS Upgrade</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=BIOS_Upgrade&amp;diff=33540"/>
		<updated>2007-09-29T08:27:27Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* Does work: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
This page is meant to describe ways to update the BIOS on a ThinkPad that only runs Linux for users that don't have ready access to Windows. If you have Windows on your ThinkPad you can just boot into it and follow instructions on the IBM website.&lt;br /&gt;
&lt;br /&gt;
{{NOTE| In one case ([[APM setup on a type 2379 ThinkPad T40]]) it was not possible to upgrade the BIOS from Windows XP; a downgrade to Windows 98 was required to successfully run the BIOS upgrade app. The symptoms in this case were that, once the files had been extracted to the hard disk, and the machine was to reboot into the upgrade app, it would beep and hang just before reboot, requiring a power cycle. Once the power was cycled, it would simply reboot back into XP without performing any BIOS upgrade actions. So even if you have Windows, you may still need to use the info on this page.}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
==Before You Begin==&lt;br /&gt;
Updating the BIOS in Linux (with few exceptions) '''is not officially supported''' by IBM/Lenovo.  However there are work arounds.&lt;br /&gt;
&lt;br /&gt;
{{WARN|By following any of the instructions here you are accepting the '''very real risk''' of turning your thinkpad into a big expensive paper weight, as a firmware update gone wrong can create unfixable problems.&lt;br /&gt;
&lt;br /&gt;
'''Proceed at your own risk!'''&lt;br /&gt;
&lt;br /&gt;
It is also important to understand that Thinkpads from IBM have two separate firmwares: the BIOS, and the Embedded Controller program.  A given BIOS version will require a certain version of the Embedded Controller program.&lt;br /&gt;
&lt;br /&gt;
The IBM documentation is sometimes unclear about the order in which these two firmwares should be updated.  On most, but not all Thinkpads, '''the correct update order is Embedded Controller program first, and then the BIOS'''.  Make sure to do the two updates immediately one after the other.  Newer models from Lenovo update both the Embedded Controller program and the BIOS at the same time, so you don't have to worry about it.}}&lt;br /&gt;
&lt;br /&gt;
==BIOS Upgrade Paths==&lt;br /&gt;
&lt;br /&gt;
For every firmware (either BIOS or Embedded Controller program) update on the IBM web site there used to be two different firmware update programs provided. The Diskette Updater and the Non Diskette Updater. For newer Lenovo Models the Diskette Updater is replaced with a bootable CD-Image and the Non Diskette Updater is renamed BIOS Update Utility, both of which update the BIOS and the Embedded Controller program at the same time. A list of links to firmware downloads can be found at [[BIOS Upgrade Downloads]] for nearly all Thinkpad Models.&lt;br /&gt;
&lt;br /&gt;
===The Diskette Updater===&lt;br /&gt;
&lt;br /&gt;
The Diskette updater appears to be a 16 bit DOS program which asks you to accept a license agreement.  It will run in Windows, DOS, OS/2, or [http://dosemu.sf.net Dosemu] perfectly, but requires a real floppy disk attached via a real floppy controller.  A USB Floppy Drive will not work.&lt;br /&gt;
&lt;br /&gt;
===The Bootable CD Image===&lt;br /&gt;
&lt;br /&gt;
Newer models from Lenovo can be updated using the Bootable CD Image.  This should be the easiest way for non-Windows users and also maybe a more secure way for Windows users, as well. As the image is provided as a plain ISO-file without any Windows enclosure, you can simply burn it to a CD-R/RW with any modern operating system, as long as you have a CD/DVD-RW Drive and are then able to boot from it.&lt;br /&gt;
&lt;br /&gt;
===Extracting a Bootable CD-ROM Image from the Non Diskette Updater===&lt;br /&gt;
{{WARN|Though this process was successfully tested on one version of .exe files found on IBMs website this doesn't mean it will work for all of them.  Proceed at your own risk.}}&lt;br /&gt;
&lt;br /&gt;
This installer appears to be a 32bit windows .exe which is designed for updating the BIOS directly from a running Windows OS.  It turns out that this .exe is really a wrapper license program around Windows .cab files (see [[How_to_change_the_BIOS_bootsplash_screen|BIOS-Bootsplash]]).  If you install the Linux program [http://freshmeat.net/projects/cabextract/ '''cabextract'''] you can expand these .cab files directly.  Run the following:&lt;br /&gt;
&lt;br /&gt;
:{{cmduser|cabextract FILENAME.exe}}&lt;br /&gt;
&lt;br /&gt;
This will extract 8 files in the current directory.  One of them will be FILENAME.img.  In this discussion, &amp;quot;FILENAME&amp;quot; represents the name of the Non Diskette file that you downloaded, such as &amp;quot;1NHJ04US&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
You can test that this is really a floppy image by running:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|mkdir mntfloppy}}&lt;br /&gt;
:{{cmdroot|mount -o loop FILENAME.img mntfloppy}}&lt;br /&gt;
:{{cmdroot|ls -la mntfloppy}}&lt;br /&gt;
&lt;br /&gt;
If the results of {{cmdroot|ls -la mntfloppy}} look like a dos floppy, and no read errors were displayed, you have a pretty good chance that the floppy image is usable.&lt;br /&gt;
&lt;br /&gt;
Unmount the image after you are done:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|umount mntfloppy}}&lt;br /&gt;
&lt;br /&gt;
Now, you can proceed to [[BIOS_Upgrade:Creating a Bootable CD from a Floppy Image]], below.&lt;br /&gt;
&lt;br /&gt;
== Updating Thinkpad X Series ==&lt;br /&gt;
&lt;br /&gt;
X Series Thinkpads do not have an internal drive. If there is no Windows installed, the BIOS must be updated by booting from an USB drive or a drive that is integrated in the docking station. Since a while Lenovo provides BIOS updates in form of bootable CD images. Unfortunately, these images are intended to be used with the docking station's CD drive. If you do not own such a drive, things get complicated.&lt;br /&gt;
&lt;br /&gt;
The problem is that current BIOS updates are quite large, about 3 MB in size. Booting from CDs typically works like booting from a 1.44 MB or 2.88 MB floppy disk. The floppy image is stored on the CD and is referenced in the CD's boot record. Because the BIOS update file are that large, they do not fit on such a floppy image. Thus, they must be stored on the CD outside the virtual floppy image. To access these files a driver for the CD drive has to be loaded. Since Lenovo's CD images are intended to be used with a docking station's CD drive, it is not possible to use them for BIOS updates by booting from an USB CD drive.&lt;br /&gt;
&lt;br /&gt;
But there is hope. The CD images provided by Lenovo can be modified such that they contain drivers for USB CD drives. I tested the following with a Thinkpad {{X60s}}.&lt;br /&gt;
&lt;br /&gt;
The idea is to take Lenovo's ISO CD image and modify it such that a USB CD drive can be used instead the CD drive in the docking station. Unfortunately, simply replacing the drivers is not enough. While doing the BIOS update, the USB ports seem to get disabled or something. Therefore, before starting the update process the CD contents have to be copied to a RAM disk. I will describe the procedure step by step.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Download the ISO image style BIOS update from Lenovo's website. This file will be refered to as &amp;lt;tt&amp;gt;/tmp/bios-lenovo.iso&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Extract the floppy image from this ISO image. You can use the following shell script for this task (or an alternative one from [http://userpages.uni-koblenz.de/~krienke/ftp/noarch/geteltorito/]). Simply save this code into the file &amp;lt;tt&amp;gt;/tmp/extractbootimage.sh&amp;lt;/tt&amp;gt;, set the x-flag (&amp;lt;tt&amp;gt;chmod +x /tmp/extractbootimage.sh&amp;lt;/tt&amp;gt;) and call it using the command &amp;lt;tt&amp;gt;/tmp/extractbootimage.sh /tmp/bios-lenovo.iso /tmp/bios-lenovo.img&amp;lt;/tt&amp;gt;. The floppy image contained in the ISO image will then be saved to &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img&amp;lt;/tt&amp;gt;. Here is the code of the shell script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# This script extracts the floopy boot image from bootable ISO images&lt;br /&gt;
#&lt;br /&gt;
# Written by Joachim Selke (mail@joachim-selke.de), 2007-04-07&lt;br /&gt;
&lt;br /&gt;
ISOFILE=$1&lt;br /&gt;
IMAGEFILE=$2&lt;br /&gt;
&lt;br /&gt;
if [ ! -r $ISOFILE ]; then&lt;br /&gt;
        echo $ISOFILE: file does not exist or is not readable&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ -z $IMAGEFILE ]; then&lt;br /&gt;
        echo Error: no image file specified&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
ISOFILESIZE=`stat -c %s $ISOFILE`&lt;br /&gt;
&lt;br /&gt;
# collect El Torito data&lt;br /&gt;
# see http://www.phoenix.com/NR/rdonlyres/98D3219C-9CC9-4DF5-B496-A286D893E36A/0/specscdrom.pdf for reference&lt;br /&gt;
&lt;br /&gt;
BOOTCATALOGPOINTERBYTE=$((17 * 0x800 + 0x47))&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $(($BOOTCATALOGPOINTERBYTE + 4)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# absolute pointer to first sector of boot catalog:&lt;br /&gt;
BOOTCATALOG=`od -A n -t x4 -N 4 -j $BOOTCATALOGPOINTERBYTE $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
BOOTCATALOGBYTE=$((0x$BOOTCATALOG * 0x800))&lt;br /&gt;
&lt;br /&gt;
echo Boot catalog starts at byte $BOOTCATALOGBYTE&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $(($BOOTCATALOGBYTE + 32 + 2)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# media type of boot image&lt;br /&gt;
# only floppy disk images are supported by this script&lt;br /&gt;
BOOTMEDIATYPE=`od -A n -t x1 -N 1 -j $(($BOOTCATALOGBYTE + 32 + 1)) $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
if [ $BOOTMEDIATYPE -eq 1 ]; then&lt;br /&gt;
        echo Boot media type is 1.2M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((1200 / 2))&lt;br /&gt;
elif [ $BOOTMEDIATYPE -eq 2 ]; then&lt;br /&gt;
        echo Boot media type is 1.44M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((1440 / 2))&lt;br /&gt;
elif [ $BOOTMEDIATYPE -eq 3 ]; then&lt;br /&gt;
        echo Boot media type is 2.88M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((2880 / 2))&lt;br /&gt;
else&lt;br /&gt;
        echo Boot media type is $((0x$BOOTMEDIATYPE)). This type is not supported yet.&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# absolute pointer to start of boot image&lt;br /&gt;
BOOTIMAGE=`od -A n -t x4 -N 4 -j $(($BOOTCATALOGBYTE + 32 + 8)) $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
BOOTIMAGEBYTE=$((0x$BOOTIMAGE * 0x800))&lt;br /&gt;
&lt;br /&gt;
echo Boot image starts at byte $BOOTIMAGEBYTE&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $((0x$BOOTIMAGE * 0x800 + $IMAGEBLOCKS * 0x800)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
echo Extracting boot image ...&lt;br /&gt;
&lt;br /&gt;
dd if=$ISOFILE of=$IMAGEFILE bs=2K count=$IMAGEBLOCKS skip=$((0x$BOOTIMAGE))&lt;br /&gt;
&lt;br /&gt;
echo Finished&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Mount the floppy image '''as root''' using the loop device:&lt;br /&gt;
:{{cmdroot|mkdir /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
:{{cmdroot|mount -o loop /tmp/bios-lenovo.img /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
The image is now mounted as &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Download needed drivers. First download some [http://panasonic.co.jp/pcc/products/drive/other/driver/f2h_usb.exe USB drivers] from Panasonic Japan. Save the file to &amp;lt;tt&amp;gt;/tmp/f2h_usb.exe&amp;lt;/tt&amp;gt; This file is a self-extracting EXE file, that can be executed under Linux using [http://www.winehq.com/ Wine]:&lt;br /&gt;
:{{cmduser|wine /tmp/f2h_usb.exe}}&lt;br /&gt;
You will be asked where to save the extracted files. Choose &amp;lt;tt&amp;gt;/tmp&amp;lt;/tt&amp;gt;. A new directory &amp;lt;tt&amp;gt;/tmp/F2h&amp;lt;/tt&amp;gt; containing the needed drivers will be created.&lt;br /&gt;
&lt;br /&gt;
Additionally, you will need drivers for the RAM disk mentioned. Download them from the [http://sourceforge.net/projects/srdisk ReSizeable RAMDisk project]. Unzip them to &amp;lt;tt&amp;gt;/tmp/srdisk&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Let's modify the floppy image:&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/Usbaspi.sys /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/USBCD.SYS /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/RAMFD.SYS /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/srdisk/srdxms.sys /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/srdisk/srdisk.exe /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
Now add the following lines to &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt/config.sys&amp;lt;/tt&amp;gt; replacing the line &amp;lt;tt&amp;gt;DEVICE = A:\IBMTPCD.SYS /R /C&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DEVICE = A:\SRDXMS.SYS&lt;br /&gt;
DEVICE = A:\RAMFD.SYS&lt;br /&gt;
DEVICE = A:\USBASPI.SYS /V&lt;br /&gt;
DEVICE = A:\USBCD.SYS /D:TPCD001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Finally, edit the file &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt/autoexec.bat&amp;lt;/tt&amp;gt; replacing the last line (saying &amp;lt;tt&amp;gt;COMMAND.COM&amp;lt;/tt&amp;gt;) by the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A:\SRDISK 10000&lt;br /&gt;
COPY *.* D:&lt;br /&gt;
D:&lt;br /&gt;
COMMAND.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Maybe the RAM disk gets a drive letter different from D: on your system. In this case, you have to change the above lines accordingly.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Unmount the floppy image (as root):&lt;br /&gt;
:{{cmdroot|umount /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Copy the content of the original CD image to a new directory and create a new ISO file:&lt;br /&gt;
:{{cmdroot|mkdir /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmdroot|mount -o loop /tmp/bios-lenovo.iso /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmduser|mkdir /tmp/bios-new.iso-mnt}}&lt;br /&gt;
:{{cmduser|cp /tmp/bios-lenovo.iso-mnt/* /tmp/bios-new.iso-mnt}}&lt;br /&gt;
:{{cmduser|cp /tmp/bios-lenovo.img /tmp/bios-new.iso-mnt/boot.img}}&lt;br /&gt;
:{{cmdroot|umount /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmduser|mkisofs -relaxed-filenames -b boot.img -o /tmp/bios-new.iso /tmp/bios-new.iso-mnt/}}&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
The file &amp;lt;tt&amp;gt;/tmp/bios-new.iso&amp;lt;/tt&amp;gt; is the modified ISO file. Just burn it to CD and use this CD for updating your BIOS (boot from it using your USB drive). Please give some comments here if it worked for you.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alternative method using a USB stick===&lt;br /&gt;
&lt;br /&gt;
''Note: none of the above methods worked on my X60s.  This method worked for me, however.'' [[User:PhilipPaeps|PhilipPaeps]] 16:41, 24 August 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
This method was surprisingly painless once I convinced my ThinkPad X60s to boot DOS from a USB stick.  I used VMWare and some mystical tool to get DOS on the stick.  If you can find another way to get a bootable DOS stick, please update this section!&lt;br /&gt;
&lt;br /&gt;
* Tell VMWare to create a virtual floppy image for you and format it under Microsoft Windows and tell it to create a system disk.  You can do this by clicking into &amp;quot;My Computer&amp;quot;, then right-clicking on the &amp;quot;Floppy&amp;quot; icon and selecting &amp;quot;Format&amp;quot;.  In the box that pops up, you need to check the box that says &amp;quot;Create an MS-DOS startup disk&amp;quot; and then click &amp;quot;Start&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* When you've done that, get this tool: http://www.techpowerup.com/downloads/330/mirrors.php and install it.  The tool is apparantly something HP once wrote, but I have been unable to find a link to it anywhere on the HP website.&lt;br /&gt;
&lt;br /&gt;
* In a command prompt again: &amp;lt;code&amp;gt;C:\DriveKey\HPUSBF.EXE E: -Q -B:A:\&amp;lt;/code&amp;gt;, replacing the &amp;lt;code&amp;gt;E:&amp;lt;/code&amp;gt; with the &amp;quot;drive letter&amp;quot; associated with your USB stick (you can find this letter in &amp;quot;My Computer&amp;quot; under &amp;quot;Removable Storage&amp;quot;).  '''WARNING:''' this wipes anything on the USB stick.  You will end up with a USB stick which appears empty at this point, but there is DOS on it somewhere.&lt;br /&gt;
&lt;br /&gt;
* Now mount the BIOS update ISO image from Lenovo as a virtual CDROM using VMWare again and copy the files from it to the USB stick: &amp;lt;code&amp;gt;copy D:\*.* E:\&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
At this point, you may want to fiddle with the splash image, as described elsewhere on ThinkWiki.&lt;br /&gt;
&lt;br /&gt;
* Reboot and press F12, tell the BIOS to boot from your USB stick.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd flash&amp;lt;/code&amp;gt; ; &amp;lt;code&amp;gt;updtflsh.exe&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Think happy thoughts.  The ThinkPad will beep quite ominously (and loudly!) a couple of times.  Do not let this worry you too much.  After about three minutes, the program will ask you to press enter to restart and hopefully all will be well.&lt;br /&gt;
&lt;br /&gt;
===Comments===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
I have followed your excellent instructions. The CD booted, the update program ran but stopped working and responding while updating. Luckily the BIOS was not destroyed. Since destroying the BIOS is a very high risk, I am going to recover the original Windows on an old HD and will run the update exe update program from there.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
I followed these clear instructions, and like the comment above I ended up with a CD that booted but the update program stopped working and responding.  An ALT-CTRL-DELETE rebooted my x60s, and it works so the BIOS must not have been damaged.  I was trying to upgrade from version 2.08 to 2.11, I wonder if these instructions are somehow particular to certain versions?  &lt;br /&gt;
[[User:Latch|Latch]] 01:22, 14 June 2007 (UTC)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
After following the above instructions, the program also stopped working while updating the BIOS. But after changing the drive letter from D: to C: (see code below), it everything worked fine. However, I had some trouble figuring out, which letter to choose over D: at first, as the BIOS Upgrade program started right away.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A:\SRDISK 10000&lt;br /&gt;
COPY *.* C:&lt;br /&gt;
C:&lt;br /&gt;
COMMAND.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[User:Mtx|Mtx]], 1 August 2007, Thinkpad X61s&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Flashing the bios (2.12) works for me on a X60s (using drive c). Using the DVD-R on an USB-Hub did not work.&amp;lt;br&amp;gt; [[User:Ra|Ra]] 00:15, 21 August 2007 (UTC)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Updating via CD/DVD Drive==&lt;br /&gt;
&lt;br /&gt;
The whole thing gets more complicated if you neither have Windows nor a floppy drive installed. This is what this page is intended to describe.&lt;br /&gt;
&lt;br /&gt;
Another possibility which works even without a CD-drive or network is to boot the disk image via the grub initrd mechanism.&lt;br /&gt;
&lt;br /&gt;
Be aware that IBM officially does '''not''' support this! The official statement to my support request was:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I'm afraid we only support the options listed on our web page and no you&lt;br /&gt;
can't burn a CD/DVD, however you can try to use an external USB FDD&lt;br /&gt;
(floppy) drive. The experts recommend a IBM USB FDD, however they have also&lt;br /&gt;
tested it with a Sony USB FDD drive.&lt;br /&gt;
&lt;br /&gt;
In order to make sure the drive is recognised you can boot up the FDD with&lt;br /&gt;
a bootable dos diskette for w98&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But it seems to be possible as Mathias Dalheimer describes this [http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/1998-January/009743.html here].&lt;br /&gt;
&lt;br /&gt;
Another indication that it should work is that IBM uses PHLASH16.EXE (at least on T4x/p systems) to flash the BIOS into the chip. The same tool is used by [http://www.samsungpc.com/gb/support/p35/bios/bios-instructions.html other vendors] to flash the BIOS from bootable CD-ROMs.&lt;br /&gt;
{{WARN|Do '''not''' use the [http://syslinux.zytor.com/ SYSLINUX] image-loader [http://syslinux.zytor.com/memdisk.php MEMDISK] to boot the images! Some flash tools crash in that situation!}}&lt;br /&gt;
&lt;br /&gt;
Some interesting but very technical information about the used flash tool can be found [http://www.paul.sladen.org/thinkpad-r31/wifi-card-pci-ids.html here].&lt;br /&gt;
&lt;br /&gt;
===Creating a Floppy Image===&lt;br /&gt;
If you have created a boot floppy on another machine, you need to create an image file of that floppy. This can be easily done in linux by running a command line:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|1=dd bs=2x80x18b if=/dev/fd0 of=/tmp/floppy.img}}&lt;br /&gt;
&lt;br /&gt;
You can also create a floppy image by using Ken Kato's [http://chitchat.at.infoseek.co.jp/vmware/vfd.html VMware's back]. It is a free Windoze tool that creates a virtual floppy drive and allows you to produce an image file ready to be ISO'ed. Note: you might have to 'manually' (through application's interface) assign the virtual drive a volume letter in order to be seen by IBM's application (as, by default, it seems not to do it).&lt;br /&gt;
&lt;br /&gt;
You should verify this {{path|floppy.img}} as explained above.&lt;br /&gt;
&lt;br /&gt;
===Creating a Bootable CD from a Floppy Image===&lt;br /&gt;
Once you have your floppy image, either from imaging a real floppy, or from extracting them via the cabextract method above, you need to make a boot CD out of it.&lt;br /&gt;
&lt;br /&gt;
The eltorito bootable CD standard is a wonderful thing.  What this means is that a bootable CD can be made with a bootable floppy in such as way that the CD believes that it is a 2.88 MB floppy drive.  This allows you to replace a boot floppy by a boot CD in nearly all situations.&lt;br /&gt;
&lt;br /&gt;
It is very easy to create such a bootable CD ISO image in Linux using the mkisofs tool.  To do this run a command as follows:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|mkisofs -b bootfloppy.img -o bootcd.iso bootfloppy.img}}&lt;br /&gt;
&lt;br /&gt;
where bootfloppy.img is the name of the .img floppy image file, for example 1NUJ10US.IMG.&lt;br /&gt;
&lt;br /&gt;
Note: This creates a CD with one file on it and marks that file as the boot image.  For more info on this read {{cmduser|man mkisofs}}.&lt;br /&gt;
&lt;br /&gt;
You can now burn the {{path|bootcd.iso}} in your favorite CD burning program.&lt;br /&gt;
&lt;br /&gt;
To get an overview which models have been tested with this version, here is a list:&lt;br /&gt;
&lt;br /&gt;
===Does work:===&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
| '''Model''' || '''Tested by'''&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600E}} (2645-4AU) ||&lt;br /&gt;
*George Tellalov &amp;lt;gtellalov_dontspamme@bigfoot.com&amp;gt;. BIOS 1.16 from spsdin36.exe worked perfectly with the method bootable cd from floppy image. I highly recommend this upgrade because it made my ibm-acpi module load (it wouldn't load before) and fixed some suspend to ram problems. Here's the [http://george.tellalov.info/bios_upgrade_600e_spsdin36.iso cd image] I used. Use at your own risk. You can send me a chocolate if it works for you ;)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600E}} (2645-5bU) ||&lt;br /&gt;
*Mike Vincent&amp;lt;matchstc-putobvioushere.com&amp;gt;. Bios 1.16 from spsdin36.exe and then to the boot cd worked great for me. Thought I had bricked it three separate times using a &amp;quot;real&amp;quot; floppy! Each from different diskettes .The updater would start, give me the &amp;quot;going to take30 seconds&amp;quot; speech...and then access the HD for 10 minutes. Each time it would reboot fine. Did the cd as described above...worked great first time. Perhaps 10 year old seldom used floppy disc drives have some challenges?&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600X}} (2645) ||&lt;br /&gt;
*Jonathan Byrne &amp;lt;jonathan@RemoveThisToMailMe.yamame.org&amp;gt;. BIOS 1.11 from spsuit55.exe worked perfectly using cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600X}} (2645) ||&lt;br /&gt;
*Andy Barnes &amp;lt;andy@RemoveThisToMailMe.itchypaws.co.uk&amp;gt;. As per Jonathan above, extracted BIOS 1.11 from spsuit55.exe using cabextract, created a CD boot image and burnt to CD.  Worked flawlessly - thanks to everyone who contributed to this article!&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A20p}} (2629-6VU) ||&lt;br /&gt;
*Chris Pickett http://www.sable.mcgill.ca/~cpicke/. BIOS 1.11 flashed fine with cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A21e}} (2628-JXU) ||&lt;br /&gt;
*Amit Gurdasani &amp;lt;gurdasani at yahoo dot com&amp;gt;. BIOS 1.13 flashed fine with cabextract/CD method. Alarmingly, after the BIOS update, the laptop beeped but did not shut down as was indicated onscreen -- that was frozen on the &amp;quot;do not shut down the laptop&amp;quot; screen. On power down and up again, the BIOS setup showed the newer BIOS image running, and Linux booted up fine. Linux ACPI didn't complain about the BIOS being too old either.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A31p}} (2653) ||&lt;br /&gt;
*Matthias Meinke largeeddy@gmx.at, BIOS 1.09 1NET15WW flashed fine with cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A31}} (2652) ||&lt;br /&gt;
*[[User:Wnoise|Aaron Denney]], BIOS 1.13 flashed fine with cabextract/CD method.  The cabextract/CD method also worked for BIOS 1.10.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{R30}}  ||&lt;br /&gt;
*Jarrod, 30 August 2007, Thinkpad R30 Type 2656-E0M. BIOS updated to 1.40 (1CETF0WW) using floppy disk/mkisofs/cdrecord. Worked fine, no problems. &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{R31}} ||&lt;br /&gt;
*[http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/1998-January/009743.html Mathias Dalheimer]&lt;br /&gt;
*Sebastian Sauer (with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R40}} ||&lt;br /&gt;
*Matthew Lambie, http://lambie.org&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R50}} (1836-3SU) ||&lt;br /&gt;
*jlbartos &amp;lt;jlbartos at hotmail dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R50e}} (1834-PTG) ||&lt;br /&gt;
*item &amp;lt;item at freemail dot hu&amp;gt; : successfully finished with cabextract/CD method for &amp;quot;1wuj25us.exe&amp;quot; (BIOS version 1WET90WW (2.10), Release Date: 2006/12/22)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (1829) ||&lt;br /&gt;
*Robert Uhl &amp;lt;rob dot uhl at gmx dot de&amp;gt;, Jellby &amp;lt;jellby at yahoo dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (1830-RM7) ||&lt;br /&gt;
*Will Parker &amp;lt;stardotstar at sourcepoint dot com dot au&amp;gt; successfully flashed 3.20 using existing 3.04 ECP and retained custom boot splash.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (2887) ||&lt;br /&gt;
*Ingo van Lil &amp;lt;inguin at gmx dot de&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R52}} (1858) ||&lt;br /&gt;
*Stuart McCord &amp;lt;stuart dot mccord at gmail dot com&amp;gt;  flashed both BIOS and ECP using cabextract, BIOS flashed first as on IBM website&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T20}} ||&lt;br /&gt;
*Franz Hassels &amp;lt;fhassel at suse dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T22}} ||&lt;br /&gt;
*Daniel Maier &amp;lt;nusse teamidiot de&amp;gt;&lt;br /&gt;
*Mathias Behrle (with cabextract/CD method, Version 1.07 =&amp;gt; 1.12) --[[User:Mathiasb|Mathiasb]] 11:58, 14 December 2006 (CET)&lt;br /&gt;
*Bob Skaroff (cabextract/CD), 1.06 =&amp;gt; 1.12&lt;br /&gt;
*Leo Butler (cabextract/CD), 1.11 =&amp;gt; 1.12 &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T23}} ||&lt;br /&gt;
*Bart Snapp &amp;lt;snapp at uiuc dot edu&amp;gt; Note: I followed IBM's instructions to flash the BIOS *first* and the Embedded Controller *second*.&lt;br /&gt;
*Moy Easwaran: BIOS 1.18 / EC 1.06a via cabextract and CD-boot.  The BIOS-update exe generated errors in Windows 2000.&lt;br /&gt;
*Joe Renes: BIOS 1.18 / EC 1.06a on 2006-03-20 via cabextract and CD-boot. Piece of cake.&lt;br /&gt;
*Raphael Errani: BIOS 1.20 / EC 1.06a on 2006-11-06 via cabextract and CD-boot (using mkisofs). Worked without errors. 1st Bios, 2nd EC&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T30}} ||&lt;br /&gt;
*Martin GÃ¼hring &amp;lt;guehring at gmail.com&amp;gt; BIOS 2.10 via cabextract the Non-Diskette BIOS -&amp;gt; mkisofs '''in the directory the exe was extracted''' to generate the iso -&amp;gt; burn the iso -&amp;gt; boot the CD&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{T40}} ||&lt;br /&gt;
*Sean Dague, http://dague.net&lt;br /&gt;
*Justin Mason, http://jmason.org&lt;br /&gt;
*Ivanhoe (Bios 3.19)&lt;br /&gt;
*Alessandro Raulino (roger_2) EC 3.04 &amp;amp; BIOS 3.23 flashed with cabextract/CD method&lt;br /&gt;
*Nick Jenkins, using BIOS 3.23 with the [[#The_Non_Diskette_Updater|Non-diskette updater + cabextract method]], then [[#Creating_a_Bootable_CD_from_a_Floppy_Image|created a bootable CD from the cabextracted .IMG file]], then boot that ISO, and it worked great!&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T40p}} ||&lt;br /&gt;
*Lukas KrÃ¤henbÃ¼hl, ismo at pop dot agri dot ch&lt;br /&gt;
*Thomas Achtemichuk, tom at tomchuk dot com. BIOS 3.15 flashed fine with cabextract/CD method&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{T41}} ||&lt;br /&gt;
*Lev Givon (Bios 3.15 / EC 3.04) &amp;lt;lev at columbia dot edu&amp;gt;&lt;br /&gt;
*Ernesto HernÃ¡ndez-Novich (Bios 3.19 / CP 3.04) &amp;lt; emhn at usb dot ve &amp;gt;&lt;br /&gt;
*[http://maebmij.org James Ballantine] (Bios 3.21 / CP 3.04) using nondisk/cabextract/CDRW&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T41p}} ||&lt;br /&gt;
*Nils Newman, work great. (Version: Bios 3.14 / Embedded Controller 3.04)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T42}} ||&lt;br /&gt;
*Dan (BIOS 3.20 / EC 3.04, cabextract/CD method) &amp;lt;tronic171 at evilphb.org&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T42p}} ||&lt;br /&gt;
*Robert Schiele &amp;lt;rschiele@uni-mannheim.de&amp;gt;, Joern Heissler &amp;lt;joern@heissler.de&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T43}}  ||&lt;br /&gt;
*Conrad Rentsch &amp;lt;Conrad dot Rentsch at t-online dot de&amp;gt; (Version: Bios 1.29 / Embedded Controller 1.06)&lt;br /&gt;
*Tom Heady &amp;lt;tom-thinkwiki.org@punch.net&amp;gt;&lt;br /&gt;
*Florian Boucault &amp;lt;florian at boucault dot ath dot cx&amp;gt; (Model : 1871-W34 &amp;amp; Version: Bios 1.23 / Embedded Controller 1.03)&lt;br /&gt;
*Till Heikamp &amp;lt;t dot heikamp at geniusbytes dot com&amp;gt; (Model 2886, Bios 1.22 to 1.29, Embedded Controller 1.03 to 1.06)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T60}}  ||&lt;br /&gt;
*Roman Komkov &amp;lt;roman  at komkov dot org dot ru&amp;gt; (Model 1951, Bios 1.07 to 2.13) Successfully upgraded from CD Image&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X20}}  ||&lt;br /&gt;
*Neil Caunt &amp;lt;retardis at gmail dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X21}}  ||&lt;br /&gt;
*Patrick Leickner &amp;lt;ranma at web dot de&amp;gt;, (BIOS 2.21-&amp;gt;2.25 / EC 1.31-&amp;gt;1.36) via non-disk/cabextract/mkisofs/cdrecord&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X22}}  ||&lt;br /&gt;
*David Emery &amp;lt;dave at skiddlydee dot com&amp;gt;,  (EC 1.30, BIOS 1.32 using non-disk/cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X23}}  ||&lt;br /&gt;
*Nils Faerber &amp;lt;nils dot faerber at kernelconcepts dot de&amp;gt; (Embedded Controller 1.30, BIOS 1.32 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X30}}  ||&lt;br /&gt;
*Hella Breitkopf, [http://www.unixwitch.de/ www]  (Embedded Controller 1.04, BIOS 1.07 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X31}}  ||&lt;br /&gt;
*Grzegorz KuÅ›nierz &amp;lt;koniu at sheket dot org&amp;gt;  (Embedded Controller 1.08, BIOS 3.01 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X40}}  ||&lt;br /&gt;
*Robbie Stone &amp;lt;robbie@serendipity.cx&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{Z60m}}  ||&lt;br /&gt;
*[[User:Morle|Morle]] 13:09, 20 May 2006 (CEST),  (Embedded Controller 1.14 with cabextract/CD method)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Does not work:===&lt;br /&gt;
{|&lt;br /&gt;
| '''Model''' || '''Tested by'''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Please note that testing this is '''at your own risk'''!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Updating via Grub and a Floppy Image==&lt;br /&gt;
&lt;br /&gt;
{{WARN|Many have warned '''not''' to use the [http://syslinux.zytor.com/ SYSLINUX] image-loader [http://syslinux.zytor.com/memdisk.php MEMDISK] to boot the images! Some flash tools may crash in that situation!  Proceed at your own risk!}}&lt;br /&gt;
&lt;br /&gt;
Floppy images may be booted from Grub via a utility called [http://syslinux.zytor.com/memdisk.php MEMDISK], which may be compiled from the [http://www.kernel.org/pub/linux/utils/boot/syslinux/ '''SYSLINUX source'''].  Copy the compiled memdisk image and the floppy image to your boot directory and configure grub as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
title     Bios Flash&lt;br /&gt;
kernel    /boot/memdisk&lt;br /&gt;
initrd    /boot/FILENAME.img&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, proceed at your own risk.  This was tested on an R51 type 2888.&lt;br /&gt;
&lt;br /&gt;
This also worked for me on a T41p type 2373. -- [[User:MrStaticVoid|James Lee]] 20:55, 8 May 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
And it worked for me on a X31 type 2673-CBU. -- [[User:JanTopinski|Jan Topinski]], 18 September 2006 &lt;br /&gt;
&lt;br /&gt;
And it worked for me too on a X31 type 2672-CXU, very useful. -- [[User:TheAnarcat|TheAnarcat]] 16:21, 7 March 2007 (CET)&lt;br /&gt;
&lt;br /&gt;
Same here (worked) on a X31 type 2673-58G --[[User:FaUl|FaUl]] 15:53, 20 June 2007 (UTC)FaUl&lt;br /&gt;
&lt;br /&gt;
Works well on a X31 type 2672-PG9, but with a big moment between starting update and the updating window -- [[User:Starox|Starox]] 22 Jul 2007&lt;br /&gt;
&lt;br /&gt;
And it worked for me on two X40 type 2371 -- [[User:Antialize|Jakob Truelsen]], 19 Jan 2007 -- BIOS: 2.07 1uuj21us.exe -- ECP: 1.62 1uhj10us.exe&lt;br /&gt;
&lt;br /&gt;
Not working for me on T43 type 2668-F7G -- [[User:Maus3273|Maus3273]] 20:48, 30 January 2007 (CET) -- BIOS: 1.29 1YUJ18US.IMG -- I got into the bios program, but the machine never restarts after initiating the upgrade.&lt;br /&gt;
&lt;br /&gt;
X41 type 2525-F8G -- [[User:ladoga|Lauri Koponen]], 11:08 16 Apr 2007&amp;lt;br&amp;gt; &lt;br /&gt;
BIOS: 2.09 (74UJ15US.IMG), is no go. (hangs while initialising the actual flashing process) I tried with 2.07 (74UJ13US.IMG) and 2.06 (74UJ12US.IMG) aswell and they all failed in the very same fashion.&amp;lt;br&amp;gt;&lt;br /&gt;
ECP: 1.02 74HJ03US.IMG, works.&lt;br /&gt;
&lt;br /&gt;
It works fine on R30 type 2656-64g, BIOS v.1.40 -- [[User:english.voodoo|Yuri Spirin]], 10 May 2007.&lt;br /&gt;
&lt;br /&gt;
==Updating with Network Boot Image==&lt;br /&gt;
&lt;br /&gt;
BIOS, Embedded Controller (EC), CD/DVD and Harddisk firmware disks can be booted&lt;br /&gt;
over the network with [http://syslinux.zytor.com/pxe.php PXELINUX] as part of the [http://syslinux.zytor.com/ SYSLINUX] package.&lt;br /&gt;
&lt;br /&gt;
This requires that you have a DHCP and tftp server configured and setup properly on&lt;br /&gt;
your network, and is probably not for the faint of heart.&lt;br /&gt;
&lt;br /&gt;
Make sure the firmware bootdisk is in linux 'dd' format, as the self-extracting .exe disks&lt;br /&gt;
from the IBM website cannot be booted directly as such.&lt;br /&gt;
&lt;br /&gt;
This worked on the {{R31}}, {{X22}}, {{T21}}, {{T30}} and {{T41p}} with various firmware updates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On {{X22}}, works with EC 1.30 but NOT with BIOS 1.32&lt;br /&gt;
&lt;br /&gt;
==Updating via &amp;quot;IBM Predesktop area&amp;quot;, suitable for model X (not have CDROM and floppy)==&lt;br /&gt;
It's so difficult to update BIOS and ECP without cdrom, floppy disk.&lt;br /&gt;
Don't know the reason why I couldn't update BIOS and ECP(1QHJ08US and 1QUJ19US) for my IBM Thinkpad X31.Hmm, may be cause of the dividing partition on my hard disk, that is: 	&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
Primary: ext3, ext3, ntfs&lt;br /&gt;
Extended: Ntsf, fat32&lt;br /&gt;
Bootloader: GRUB&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No problem, you can use this way to do it:&lt;br /&gt;
* First, config in BIOS&lt;br /&gt;
In Security part:&lt;br /&gt;
# Remove all password of Subpervisor and Power on password&lt;br /&gt;
# Set Access IBM Predesktop Area to Normal&lt;br /&gt;
# Choose Enable &amp;quot;Flash BIOS updating by End User&amp;quot; in BIOS update Option.&lt;br /&gt;
&lt;br /&gt;
In Config part:&lt;br /&gt;
# Choose Enable for Network flash over Lan&lt;br /&gt;
&lt;br /&gt;
* Second, download the newest version of BIOS update and ECP update &lt;br /&gt;
Running: The program extract all files to the folder. There is a .img file (1QUJ19US.IMG, 1QUJ08US.IMG) in each folder.&lt;br /&gt;
Copy the imformation content in that img file and paste it to one FAT partition(using winimage or TotalCmd to extract) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
as seen All files in 1QUJ19US.IMG is extracted to D:\BIOS&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
695,764  $018E000.FL1&lt;br /&gt;
163      0691.HSH&lt;br /&gt;
2,049    0691.PAT&lt;br /&gt;
163      0694.HSH&lt;br /&gt;
2,049    0694.PAT&lt;br /&gt;
163      0695.HSH&lt;br /&gt;
2,049    0695.PAT&lt;br /&gt;
2,049    06D0.PAT&lt;br /&gt;
163      06D1.HSH&lt;br /&gt;
2,049    06D1.PAT&lt;br /&gt;
163      06D2.HSH&lt;br /&gt;
2,049    06D2.PAT&lt;br /&gt;
163      06D6.HSH&lt;br /&gt;
2,049    06D6.PAT&lt;br /&gt;
2,049    06D8.PAT&lt;br /&gt;
697      CHKBMP.EXE&lt;br /&gt;
8,128    COMMAND.COM&lt;br /&gt;
26       CONFIG.SYS&lt;br /&gt;
24,860   FLASH2.EXE&lt;br /&gt;
26       LCREFLSH.BAT&lt;br /&gt;
170      LOGO.BAT&lt;br /&gt;
330      LOGO.SCR&lt;br /&gt;
111,925  PHLASH16.EXE&lt;br /&gt;
91,648   PREPARE.EXE&lt;br /&gt;
45       PROD.DAT&lt;br /&gt;
22,252   QKFLASH.EXE&lt;br /&gt;
9,923    README.TXT&lt;br /&gt;
4,260    TPCHKS.EXE&lt;br /&gt;
39,666   UPDTFLSH.EXE&lt;br /&gt;
6,958    UPDTMN.EXE&lt;br /&gt;
12,501   USERINT.EXE&lt;br /&gt;
15,254   UTILINFO.EXE&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And all files in 1QUJ08US.IMG are: D:\ECP&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
315,404 $018E000.FL2&lt;br /&gt;
8,000   COMMAND.COM&lt;br /&gt;
36      CONFIG.SYS&lt;br /&gt;
16,910  ECFLASH2.EXE&lt;br /&gt;
45      PROD.DAT&lt;br /&gt;
17,812  QKFLASH.EXE&lt;br /&gt;
990     README.TXT&lt;br /&gt;
4,260   TPCHKS.EXE&lt;br /&gt;
89,738  UPDTEC.EXE&lt;br /&gt;
31,134  UPDTFLSH.EXE&lt;br /&gt;
12,501  USERINT.EXE&lt;br /&gt;
15,226  UTILINFO.EXE&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Okie, now plug AC Adapter, charge full battery to your laptop and continue third step:&lt;br /&gt;
&lt;br /&gt;
** '''Flash BIOS first,'''&lt;br /&gt;
1. Power On, press blue button on keyboard: '''Access IBM'''&lt;br /&gt;
&lt;br /&gt;
2. On &amp;quot;Utilities&amp;quot;, double click &amp;quot; Diagnostic disk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
3. Your laptop will start PC-DOS, wait when this message appear:&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
Please insert the first floppy diskette and&lt;br /&gt;
Press any key to continue&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Press Ctrl + Break, you will see :&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;Terminate batch job (Y/N) ?&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Okie, press Y, you will get DOS prompt like D:\&lt;br /&gt;
{{NOTE|D:\ is my RAMDISK, C:\ is my disk format as FAT.!}}&lt;br /&gt;
&lt;br /&gt;
6. Enter to c:\BIOS&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
c:&lt;br /&gt;
cd c:\BIOS&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. Run FLASH2.EXE /u $018E000.FL1&lt;br /&gt;
&lt;br /&gt;
8. Wait flash progress compelete and reboot.&lt;br /&gt;
** '''Flash ECP'''&lt;br /&gt;
Follow above instruction from step 1 to 5&lt;br /&gt;
&lt;br /&gt;
6. Enter to c:\ECP&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
c:&lt;br /&gt;
cd c:\ECP&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. run UPDTFLSH.EXE $018E000.FL2&lt;br /&gt;
&lt;br /&gt;
8. Follow UPDTFLSH's instructions&lt;br /&gt;
&lt;br /&gt;
9. Wait flash complete and auto turn off computer.&lt;br /&gt;
&lt;br /&gt;
I done it on my IBM Thinkpad X31.&lt;br /&gt;
&lt;br /&gt;
Enjoy,&lt;br /&gt;
&lt;br /&gt;
Tested by nm.&lt;br /&gt;
&lt;br /&gt;
==Check List==&lt;br /&gt;
&lt;br /&gt;
The following is important to remember:&lt;br /&gt;
# You must update '''both''' the Control Program and the BIOS at the same time if your current Control Program is not compatible with the new BIOS (see below)&lt;br /&gt;
# You must find versions of the Control Program and BIOS that are compatible.  Not all of them are, so follow the readmes on the IBM website carefully to determine which are.&lt;br /&gt;
# You must update the Control Program '''before''' you update the BIOS&lt;br /&gt;
&lt;br /&gt;
When the Control Program '''and''' the BIOS need updating, have both update disks or CDs ready. Update the Control Program first and the system should switch itself off when finished. Insert the BIOS update disk and proceed to update the BIOS. When it's all finished, enter setup, reset the settings to their defaults and reboot. Enter setup again and tweak the settings as necessary.&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=BIOS_Upgrade&amp;diff=33539</id>
		<title>BIOS Upgrade</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=BIOS_Upgrade&amp;diff=33539"/>
		<updated>2007-09-29T08:22:45Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* Creating a Bootable CD from a Floppy Image */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
This page is meant to describe ways to update the BIOS on a ThinkPad that only runs Linux for users that don't have ready access to Windows. If you have Windows on your ThinkPad you can just boot into it and follow instructions on the IBM website.&lt;br /&gt;
&lt;br /&gt;
{{NOTE| In one case ([[APM setup on a type 2379 ThinkPad T40]]) it was not possible to upgrade the BIOS from Windows XP; a downgrade to Windows 98 was required to successfully run the BIOS upgrade app. The symptoms in this case were that, once the files had been extracted to the hard disk, and the machine was to reboot into the upgrade app, it would beep and hang just before reboot, requiring a power cycle. Once the power was cycled, it would simply reboot back into XP without performing any BIOS upgrade actions. So even if you have Windows, you may still need to use the info on this page.}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
==Before You Begin==&lt;br /&gt;
Updating the BIOS in Linux (with few exceptions) '''is not officially supported''' by IBM/Lenovo.  However there are work arounds.&lt;br /&gt;
&lt;br /&gt;
{{WARN|By following any of the instructions here you are accepting the '''very real risk''' of turning your thinkpad into a big expensive paper weight, as a firmware update gone wrong can create unfixable problems.&lt;br /&gt;
&lt;br /&gt;
'''Proceed at your own risk!'''&lt;br /&gt;
&lt;br /&gt;
It is also important to understand that Thinkpads from IBM have two separate firmwares: the BIOS, and the Embedded Controller program.  A given BIOS version will require a certain version of the Embedded Controller program.&lt;br /&gt;
&lt;br /&gt;
The IBM documentation is sometimes unclear about the order in which these two firmwares should be updated.  On most, but not all Thinkpads, '''the correct update order is Embedded Controller program first, and then the BIOS'''.  Make sure to do the two updates immediately one after the other.  Newer models from Lenovo update both the Embedded Controller program and the BIOS at the same time, so you don't have to worry about it.}}&lt;br /&gt;
&lt;br /&gt;
==BIOS Upgrade Paths==&lt;br /&gt;
&lt;br /&gt;
For every firmware (either BIOS or Embedded Controller program) update on the IBM web site there used to be two different firmware update programs provided. The Diskette Updater and the Non Diskette Updater. For newer Lenovo Models the Diskette Updater is replaced with a bootable CD-Image and the Non Diskette Updater is renamed BIOS Update Utility, both of which update the BIOS and the Embedded Controller program at the same time. A list of links to firmware downloads can be found at [[BIOS Upgrade Downloads]] for nearly all Thinkpad Models.&lt;br /&gt;
&lt;br /&gt;
===The Diskette Updater===&lt;br /&gt;
&lt;br /&gt;
The Diskette updater appears to be a 16 bit DOS program which asks you to accept a license agreement.  It will run in Windows, DOS, OS/2, or [http://dosemu.sf.net Dosemu] perfectly, but requires a real floppy disk attached via a real floppy controller.  A USB Floppy Drive will not work.&lt;br /&gt;
&lt;br /&gt;
===The Bootable CD Image===&lt;br /&gt;
&lt;br /&gt;
Newer models from Lenovo can be updated using the Bootable CD Image.  This should be the easiest way for non-Windows users and also maybe a more secure way for Windows users, as well. As the image is provided as a plain ISO-file without any Windows enclosure, you can simply burn it to a CD-R/RW with any modern operating system, as long as you have a CD/DVD-RW Drive and are then able to boot from it.&lt;br /&gt;
&lt;br /&gt;
===Extracting a Bootable CD-ROM Image from the Non Diskette Updater===&lt;br /&gt;
{{WARN|Though this process was successfully tested on one version of .exe files found on IBMs website this doesn't mean it will work for all of them.  Proceed at your own risk.}}&lt;br /&gt;
&lt;br /&gt;
This installer appears to be a 32bit windows .exe which is designed for updating the BIOS directly from a running Windows OS.  It turns out that this .exe is really a wrapper license program around Windows .cab files (see [[How_to_change_the_BIOS_bootsplash_screen|BIOS-Bootsplash]]).  If you install the Linux program [http://freshmeat.net/projects/cabextract/ '''cabextract'''] you can expand these .cab files directly.  Run the following:&lt;br /&gt;
&lt;br /&gt;
:{{cmduser|cabextract FILENAME.exe}}&lt;br /&gt;
&lt;br /&gt;
This will extract 8 files in the current directory.  One of them will be FILENAME.img.  In this discussion, &amp;quot;FILENAME&amp;quot; represents the name of the Non Diskette file that you downloaded, such as &amp;quot;1NHJ04US&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
You can test that this is really a floppy image by running:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|mkdir mntfloppy}}&lt;br /&gt;
:{{cmdroot|mount -o loop FILENAME.img mntfloppy}}&lt;br /&gt;
:{{cmdroot|ls -la mntfloppy}}&lt;br /&gt;
&lt;br /&gt;
If the results of {{cmdroot|ls -la mntfloppy}} look like a dos floppy, and no read errors were displayed, you have a pretty good chance that the floppy image is usable.&lt;br /&gt;
&lt;br /&gt;
Unmount the image after you are done:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|umount mntfloppy}}&lt;br /&gt;
&lt;br /&gt;
Now, you can proceed to [[BIOS_Upgrade:Creating a Bootable CD from a Floppy Image]], below.&lt;br /&gt;
&lt;br /&gt;
== Updating Thinkpad X Series ==&lt;br /&gt;
&lt;br /&gt;
X Series Thinkpads do not have an internal drive. If there is no Windows installed, the BIOS must be updated by booting from an USB drive or a drive that is integrated in the docking station. Since a while Lenovo provides BIOS updates in form of bootable CD images. Unfortunately, these images are intended to be used with the docking station's CD drive. If you do not own such a drive, things get complicated.&lt;br /&gt;
&lt;br /&gt;
The problem is that current BIOS updates are quite large, about 3 MB in size. Booting from CDs typically works like booting from a 1.44 MB or 2.88 MB floppy disk. The floppy image is stored on the CD and is referenced in the CD's boot record. Because the BIOS update file are that large, they do not fit on such a floppy image. Thus, they must be stored on the CD outside the virtual floppy image. To access these files a driver for the CD drive has to be loaded. Since Lenovo's CD images are intended to be used with a docking station's CD drive, it is not possible to use them for BIOS updates by booting from an USB CD drive.&lt;br /&gt;
&lt;br /&gt;
But there is hope. The CD images provided by Lenovo can be modified such that they contain drivers for USB CD drives. I tested the following with a Thinkpad {{X60s}}.&lt;br /&gt;
&lt;br /&gt;
The idea is to take Lenovo's ISO CD image and modify it such that a USB CD drive can be used instead the CD drive in the docking station. Unfortunately, simply replacing the drivers is not enough. While doing the BIOS update, the USB ports seem to get disabled or something. Therefore, before starting the update process the CD contents have to be copied to a RAM disk. I will describe the procedure step by step.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Download the ISO image style BIOS update from Lenovo's website. This file will be refered to as &amp;lt;tt&amp;gt;/tmp/bios-lenovo.iso&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Extract the floppy image from this ISO image. You can use the following shell script for this task (or an alternative one from [http://userpages.uni-koblenz.de/~krienke/ftp/noarch/geteltorito/]). Simply save this code into the file &amp;lt;tt&amp;gt;/tmp/extractbootimage.sh&amp;lt;/tt&amp;gt;, set the x-flag (&amp;lt;tt&amp;gt;chmod +x /tmp/extractbootimage.sh&amp;lt;/tt&amp;gt;) and call it using the command &amp;lt;tt&amp;gt;/tmp/extractbootimage.sh /tmp/bios-lenovo.iso /tmp/bios-lenovo.img&amp;lt;/tt&amp;gt;. The floppy image contained in the ISO image will then be saved to &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img&amp;lt;/tt&amp;gt;. Here is the code of the shell script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# This script extracts the floopy boot image from bootable ISO images&lt;br /&gt;
#&lt;br /&gt;
# Written by Joachim Selke (mail@joachim-selke.de), 2007-04-07&lt;br /&gt;
&lt;br /&gt;
ISOFILE=$1&lt;br /&gt;
IMAGEFILE=$2&lt;br /&gt;
&lt;br /&gt;
if [ ! -r $ISOFILE ]; then&lt;br /&gt;
        echo $ISOFILE: file does not exist or is not readable&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ -z $IMAGEFILE ]; then&lt;br /&gt;
        echo Error: no image file specified&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
ISOFILESIZE=`stat -c %s $ISOFILE`&lt;br /&gt;
&lt;br /&gt;
# collect El Torito data&lt;br /&gt;
# see http://www.phoenix.com/NR/rdonlyres/98D3219C-9CC9-4DF5-B496-A286D893E36A/0/specscdrom.pdf for reference&lt;br /&gt;
&lt;br /&gt;
BOOTCATALOGPOINTERBYTE=$((17 * 0x800 + 0x47))&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $(($BOOTCATALOGPOINTERBYTE + 4)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# absolute pointer to first sector of boot catalog:&lt;br /&gt;
BOOTCATALOG=`od -A n -t x4 -N 4 -j $BOOTCATALOGPOINTERBYTE $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
BOOTCATALOGBYTE=$((0x$BOOTCATALOG * 0x800))&lt;br /&gt;
&lt;br /&gt;
echo Boot catalog starts at byte $BOOTCATALOGBYTE&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $(($BOOTCATALOGBYTE + 32 + 2)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# media type of boot image&lt;br /&gt;
# only floppy disk images are supported by this script&lt;br /&gt;
BOOTMEDIATYPE=`od -A n -t x1 -N 1 -j $(($BOOTCATALOGBYTE + 32 + 1)) $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
if [ $BOOTMEDIATYPE -eq 1 ]; then&lt;br /&gt;
        echo Boot media type is 1.2M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((1200 / 2))&lt;br /&gt;
elif [ $BOOTMEDIATYPE -eq 2 ]; then&lt;br /&gt;
        echo Boot media type is 1.44M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((1440 / 2))&lt;br /&gt;
elif [ $BOOTMEDIATYPE -eq 3 ]; then&lt;br /&gt;
        echo Boot media type is 2.88M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((2880 / 2))&lt;br /&gt;
else&lt;br /&gt;
        echo Boot media type is $((0x$BOOTMEDIATYPE)). This type is not supported yet.&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# absolute pointer to start of boot image&lt;br /&gt;
BOOTIMAGE=`od -A n -t x4 -N 4 -j $(($BOOTCATALOGBYTE + 32 + 8)) $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
BOOTIMAGEBYTE=$((0x$BOOTIMAGE * 0x800))&lt;br /&gt;
&lt;br /&gt;
echo Boot image starts at byte $BOOTIMAGEBYTE&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $((0x$BOOTIMAGE * 0x800 + $IMAGEBLOCKS * 0x800)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
echo Extracting boot image ...&lt;br /&gt;
&lt;br /&gt;
dd if=$ISOFILE of=$IMAGEFILE bs=2K count=$IMAGEBLOCKS skip=$((0x$BOOTIMAGE))&lt;br /&gt;
&lt;br /&gt;
echo Finished&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Mount the floppy image '''as root''' using the loop device:&lt;br /&gt;
:{{cmdroot|mkdir /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
:{{cmdroot|mount -o loop /tmp/bios-lenovo.img /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
The image is now mounted as &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Download needed drivers. First download some [http://panasonic.co.jp/pcc/products/drive/other/driver/f2h_usb.exe USB drivers] from Panasonic Japan. Save the file to &amp;lt;tt&amp;gt;/tmp/f2h_usb.exe&amp;lt;/tt&amp;gt; This file is a self-extracting EXE file, that can be executed under Linux using [http://www.winehq.com/ Wine]:&lt;br /&gt;
:{{cmduser|wine /tmp/f2h_usb.exe}}&lt;br /&gt;
You will be asked where to save the extracted files. Choose &amp;lt;tt&amp;gt;/tmp&amp;lt;/tt&amp;gt;. A new directory &amp;lt;tt&amp;gt;/tmp/F2h&amp;lt;/tt&amp;gt; containing the needed drivers will be created.&lt;br /&gt;
&lt;br /&gt;
Additionally, you will need drivers for the RAM disk mentioned. Download them from the [http://sourceforge.net/projects/srdisk ReSizeable RAMDisk project]. Unzip them to &amp;lt;tt&amp;gt;/tmp/srdisk&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Let's modify the floppy image:&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/Usbaspi.sys /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/USBCD.SYS /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/RAMFD.SYS /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/srdisk/srdxms.sys /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/srdisk/srdisk.exe /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
Now add the following lines to &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt/config.sys&amp;lt;/tt&amp;gt; replacing the line &amp;lt;tt&amp;gt;DEVICE = A:\IBMTPCD.SYS /R /C&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DEVICE = A:\SRDXMS.SYS&lt;br /&gt;
DEVICE = A:\RAMFD.SYS&lt;br /&gt;
DEVICE = A:\USBASPI.SYS /V&lt;br /&gt;
DEVICE = A:\USBCD.SYS /D:TPCD001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Finally, edit the file &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt/autoexec.bat&amp;lt;/tt&amp;gt; replacing the last line (saying &amp;lt;tt&amp;gt;COMMAND.COM&amp;lt;/tt&amp;gt;) by the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A:\SRDISK 10000&lt;br /&gt;
COPY *.* D:&lt;br /&gt;
D:&lt;br /&gt;
COMMAND.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Maybe the RAM disk gets a drive letter different from D: on your system. In this case, you have to change the above lines accordingly.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Unmount the floppy image (as root):&lt;br /&gt;
:{{cmdroot|umount /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Copy the content of the original CD image to a new directory and create a new ISO file:&lt;br /&gt;
:{{cmdroot|mkdir /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmdroot|mount -o loop /tmp/bios-lenovo.iso /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmduser|mkdir /tmp/bios-new.iso-mnt}}&lt;br /&gt;
:{{cmduser|cp /tmp/bios-lenovo.iso-mnt/* /tmp/bios-new.iso-mnt}}&lt;br /&gt;
:{{cmduser|cp /tmp/bios-lenovo.img /tmp/bios-new.iso-mnt/boot.img}}&lt;br /&gt;
:{{cmdroot|umount /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmduser|mkisofs -relaxed-filenames -b boot.img -o /tmp/bios-new.iso /tmp/bios-new.iso-mnt/}}&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
The file &amp;lt;tt&amp;gt;/tmp/bios-new.iso&amp;lt;/tt&amp;gt; is the modified ISO file. Just burn it to CD and use this CD for updating your BIOS (boot from it using your USB drive). Please give some comments here if it worked for you.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alternative method using a USB stick===&lt;br /&gt;
&lt;br /&gt;
''Note: none of the above methods worked on my X60s.  This method worked for me, however.'' [[User:PhilipPaeps|PhilipPaeps]] 16:41, 24 August 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
This method was surprisingly painless once I convinced my ThinkPad X60s to boot DOS from a USB stick.  I used VMWare and some mystical tool to get DOS on the stick.  If you can find another way to get a bootable DOS stick, please update this section!&lt;br /&gt;
&lt;br /&gt;
* Tell VMWare to create a virtual floppy image for you and format it under Microsoft Windows and tell it to create a system disk.  You can do this by clicking into &amp;quot;My Computer&amp;quot;, then right-clicking on the &amp;quot;Floppy&amp;quot; icon and selecting &amp;quot;Format&amp;quot;.  In the box that pops up, you need to check the box that says &amp;quot;Create an MS-DOS startup disk&amp;quot; and then click &amp;quot;Start&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* When you've done that, get this tool: http://www.techpowerup.com/downloads/330/mirrors.php and install it.  The tool is apparantly something HP once wrote, but I have been unable to find a link to it anywhere on the HP website.&lt;br /&gt;
&lt;br /&gt;
* In a command prompt again: &amp;lt;code&amp;gt;C:\DriveKey\HPUSBF.EXE E: -Q -B:A:\&amp;lt;/code&amp;gt;, replacing the &amp;lt;code&amp;gt;E:&amp;lt;/code&amp;gt; with the &amp;quot;drive letter&amp;quot; associated with your USB stick (you can find this letter in &amp;quot;My Computer&amp;quot; under &amp;quot;Removable Storage&amp;quot;).  '''WARNING:''' this wipes anything on the USB stick.  You will end up with a USB stick which appears empty at this point, but there is DOS on it somewhere.&lt;br /&gt;
&lt;br /&gt;
* Now mount the BIOS update ISO image from Lenovo as a virtual CDROM using VMWare again and copy the files from it to the USB stick: &amp;lt;code&amp;gt;copy D:\*.* E:\&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
At this point, you may want to fiddle with the splash image, as described elsewhere on ThinkWiki.&lt;br /&gt;
&lt;br /&gt;
* Reboot and press F12, tell the BIOS to boot from your USB stick.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd flash&amp;lt;/code&amp;gt; ; &amp;lt;code&amp;gt;updtflsh.exe&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Think happy thoughts.  The ThinkPad will beep quite ominously (and loudly!) a couple of times.  Do not let this worry you too much.  After about three minutes, the program will ask you to press enter to restart and hopefully all will be well.&lt;br /&gt;
&lt;br /&gt;
===Comments===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
I have followed your excellent instructions. The CD booted, the update program ran but stopped working and responding while updating. Luckily the BIOS was not destroyed. Since destroying the BIOS is a very high risk, I am going to recover the original Windows on an old HD and will run the update exe update program from there.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
I followed these clear instructions, and like the comment above I ended up with a CD that booted but the update program stopped working and responding.  An ALT-CTRL-DELETE rebooted my x60s, and it works so the BIOS must not have been damaged.  I was trying to upgrade from version 2.08 to 2.11, I wonder if these instructions are somehow particular to certain versions?  &lt;br /&gt;
[[User:Latch|Latch]] 01:22, 14 June 2007 (UTC)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
After following the above instructions, the program also stopped working while updating the BIOS. But after changing the drive letter from D: to C: (see code below), it everything worked fine. However, I had some trouble figuring out, which letter to choose over D: at first, as the BIOS Upgrade program started right away.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A:\SRDISK 10000&lt;br /&gt;
COPY *.* C:&lt;br /&gt;
C:&lt;br /&gt;
COMMAND.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[User:Mtx|Mtx]], 1 August 2007, Thinkpad X61s&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Flashing the bios (2.12) works for me on a X60s (using drive c). Using the DVD-R on an USB-Hub did not work.&amp;lt;br&amp;gt; [[User:Ra|Ra]] 00:15, 21 August 2007 (UTC)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Updating via CD/DVD Drive==&lt;br /&gt;
&lt;br /&gt;
The whole thing gets more complicated if you neither have Windows nor a floppy drive installed. This is what this page is intended to describe.&lt;br /&gt;
&lt;br /&gt;
Another possibility which works even without a CD-drive or network is to boot the disk image via the grub initrd mechanism.&lt;br /&gt;
&lt;br /&gt;
Be aware that IBM officially does '''not''' support this! The official statement to my support request was:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I'm afraid we only support the options listed on our web page and no you&lt;br /&gt;
can't burn a CD/DVD, however you can try to use an external USB FDD&lt;br /&gt;
(floppy) drive. The experts recommend a IBM USB FDD, however they have also&lt;br /&gt;
tested it with a Sony USB FDD drive.&lt;br /&gt;
&lt;br /&gt;
In order to make sure the drive is recognised you can boot up the FDD with&lt;br /&gt;
a bootable dos diskette for w98&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But it seems to be possible as Mathias Dalheimer describes this [http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/1998-January/009743.html here].&lt;br /&gt;
&lt;br /&gt;
Another indication that it should work is that IBM uses PHLASH16.EXE (at least on T4x/p systems) to flash the BIOS into the chip. The same tool is used by [http://www.samsungpc.com/gb/support/p35/bios/bios-instructions.html other vendors] to flash the BIOS from bootable CD-ROMs.&lt;br /&gt;
{{WARN|Do '''not''' use the [http://syslinux.zytor.com/ SYSLINUX] image-loader [http://syslinux.zytor.com/memdisk.php MEMDISK] to boot the images! Some flash tools crash in that situation!}}&lt;br /&gt;
&lt;br /&gt;
Some interesting but very technical information about the used flash tool can be found [http://www.paul.sladen.org/thinkpad-r31/wifi-card-pci-ids.html here].&lt;br /&gt;
&lt;br /&gt;
===Creating a Floppy Image===&lt;br /&gt;
If you have created a boot floppy on another machine, you need to create an image file of that floppy. This can be easily done in linux by running a command line:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|1=dd bs=2x80x18b if=/dev/fd0 of=/tmp/floppy.img}}&lt;br /&gt;
&lt;br /&gt;
You can also create a floppy image by using Ken Kato's [http://chitchat.at.infoseek.co.jp/vmware/vfd.html VMware's back]. It is a free Windoze tool that creates a virtual floppy drive and allows you to produce an image file ready to be ISO'ed. Note: you might have to 'manually' (through application's interface) assign the virtual drive a volume letter in order to be seen by IBM's application (as, by default, it seems not to do it).&lt;br /&gt;
&lt;br /&gt;
You should verify this {{path|floppy.img}} as explained above.&lt;br /&gt;
&lt;br /&gt;
===Creating a Bootable CD from a Floppy Image===&lt;br /&gt;
Once you have your floppy image, either from imaging a real floppy, or from extracting them via the cabextract method above, you need to make a boot CD out of it.&lt;br /&gt;
&lt;br /&gt;
The eltorito bootable CD standard is a wonderful thing.  What this means is that a bootable CD can be made with a bootable floppy in such as way that the CD believes that it is a 2.88 MB floppy drive.  This allows you to replace a boot floppy by a boot CD in nearly all situations.&lt;br /&gt;
&lt;br /&gt;
It is very easy to create such a bootable CD ISO image in Linux using the mkisofs tool.  To do this run a command as follows:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|mkisofs -b bootfloppy.img -o bootcd.iso bootfloppy.img}}&lt;br /&gt;
&lt;br /&gt;
where bootfloppy.img is the name of the .img floppy image file, for example 1NUJ10US.IMG.&lt;br /&gt;
&lt;br /&gt;
Note: This creates a CD with one file on it and marks that file as the boot image.  For more info on this read {{cmduser|man mkisofs}}.&lt;br /&gt;
&lt;br /&gt;
You can now burn the {{path|bootcd.iso}} in your favorite CD burning program.&lt;br /&gt;
&lt;br /&gt;
To get an overview which models have been tested with this version, here is a list:&lt;br /&gt;
&lt;br /&gt;
===Does work:===&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
| '''Model''' || '''Tested by'''&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600E}} (2645-4AU) ||&lt;br /&gt;
*George Tellalov &amp;lt;gtellalov_dontspamme@bigfoot.com&amp;gt;. BIOS 1.16 from spsdin36.exe worked perfectly with the method bootable cd from floppy image. I highly recommend this upgrade because it made my ibm-acpi module load (it wouldn't load before) and fixed some suspend to ram problems. Here's the [http://george.tellalov.info/bios_upgrade_600e_spsdin36.iso cd image] I used. Use at your own risk. You can send me a chocolate if it works for you ;)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600E}} (2645-5bU) ||&lt;br /&gt;
*Mike Vincent&amp;lt;matchstc-putobvioushere.com&amp;gt;. Bios 1.16 from spsdin36.exe and then to the boot cd worked great for me. Thought I had bricked it three separate times using a &amp;quot;real&amp;quot; floppy! Each from different diskettes .The updater would start, give me the &amp;quot;going to take30 seconds&amp;quot; speech...and then access the HD for 10 minutes. Each time it would reboot fine. Did the cd as described above...worked great first time. Perhaps 10 year old seldom used floppy disc drives have some challenges?&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600X}} (2645) ||&lt;br /&gt;
*Jonathan Byrne &amp;lt;jonathan@RemoveThisToMailMe.yamame.org&amp;gt;. BIOS 1.11 from spsuit55.exe worked perfectly using cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600X}} (2645) ||&lt;br /&gt;
*Andy Barnes &amp;lt;andy@RemoveThisToMailMe.itchypaws.co.uk&amp;gt;. As per Jonathan above, extracted BIOS 1.11 from spsuit55.exe using cabextract, created a CD boot image and burnt to CD.  Worked flawlessly - thanks to everyone who contributed to this article!&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A20p}} (2629-6VU) ||&lt;br /&gt;
*Chris Pickett http://www.sable.mcgill.ca/~cpicke/. BIOS 1.11 flashed fine with cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A21e}} (2628-JXU) ||&lt;br /&gt;
*Amit Gurdasani &amp;lt;gurdasani at yahoo dot com&amp;gt;. BIOS 1.13 flashed fine with cabextract/CD method. Alarmingly, after the BIOS update, the laptop beeped but did not shut down as was indicated onscreen -- that was frozen on the &amp;quot;do not shut down the laptop&amp;quot; screen. On power down and up again, the BIOS setup showed the newer BIOS image running, and Linux booted up fine. Linux ACPI didn't complain about the BIOS being too old either.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A31p}} (2653) ||&lt;br /&gt;
*Matthias Meinke largeeddy@gmx.at, BIOS 1.09 1NET15WW flashed fine with cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A31}} (2652) ||&lt;br /&gt;
*[[User:Wnoise|Aaron Denney]], BIOS 1.13 flashed fine with cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{R30}}  ||&lt;br /&gt;
*Jarrod, 30 August 2007, Thinkpad R30 Type 2656-E0M. BIOS updated to 1.40 (1CETF0WW) using floppy disk/mkisofs/cdrecord. Worked fine, no problems. &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{R31}} ||&lt;br /&gt;
*[http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/1998-January/009743.html Mathias Dalheimer]&lt;br /&gt;
*Sebastian Sauer (with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R40}} ||&lt;br /&gt;
*Matthew Lambie, http://lambie.org&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R50}} (1836-3SU) ||&lt;br /&gt;
*jlbartos &amp;lt;jlbartos at hotmail dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R50e}} (1834-PTG) ||&lt;br /&gt;
*item &amp;lt;item at freemail dot hu&amp;gt; : successfully finished with cabextract/CD method for &amp;quot;1wuj25us.exe&amp;quot; (BIOS version 1WET90WW (2.10), Release Date: 2006/12/22)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (1829) ||&lt;br /&gt;
*Robert Uhl &amp;lt;rob dot uhl at gmx dot de&amp;gt;, Jellby &amp;lt;jellby at yahoo dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (1830-RM7) ||&lt;br /&gt;
*Will Parker &amp;lt;stardotstar at sourcepoint dot com dot au&amp;gt; successfully flashed 3.20 using existing 3.04 ECP and retained custom boot splash.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (2887) ||&lt;br /&gt;
*Ingo van Lil &amp;lt;inguin at gmx dot de&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R52}} (1858) ||&lt;br /&gt;
*Stuart McCord &amp;lt;stuart dot mccord at gmail dot com&amp;gt;  flashed both BIOS and ECP using cabextract, BIOS flashed first as on IBM website&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T20}} ||&lt;br /&gt;
*Franz Hassels &amp;lt;fhassel at suse dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T22}} ||&lt;br /&gt;
*Daniel Maier &amp;lt;nusse teamidiot de&amp;gt;&lt;br /&gt;
*Mathias Behrle (with cabextract/CD method, Version 1.07 =&amp;gt; 1.12) --[[User:Mathiasb|Mathiasb]] 11:58, 14 December 2006 (CET)&lt;br /&gt;
*Bob Skaroff (cabextract/CD), 1.06 =&amp;gt; 1.12&lt;br /&gt;
*Leo Butler (cabextract/CD), 1.11 =&amp;gt; 1.12 &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T23}} ||&lt;br /&gt;
*Bart Snapp &amp;lt;snapp at uiuc dot edu&amp;gt; Note: I followed IBM's instructions to flash the BIOS *first* and the Embedded Controller *second*.&lt;br /&gt;
*Moy Easwaran: BIOS 1.18 / EC 1.06a via cabextract and CD-boot.  The BIOS-update exe generated errors in Windows 2000.&lt;br /&gt;
*Joe Renes: BIOS 1.18 / EC 1.06a on 2006-03-20 via cabextract and CD-boot. Piece of cake.&lt;br /&gt;
*Raphael Errani: BIOS 1.20 / EC 1.06a on 2006-11-06 via cabextract and CD-boot (using mkisofs). Worked without errors. 1st Bios, 2nd EC&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T30}} ||&lt;br /&gt;
*Martin GÃ¼hring &amp;lt;guehring at gmail.com&amp;gt; BIOS 2.10 via cabextract the Non-Diskette BIOS -&amp;gt; mkisofs '''in the directory the exe was extracted''' to generate the iso -&amp;gt; burn the iso -&amp;gt; boot the CD&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{T40}} ||&lt;br /&gt;
*Sean Dague, http://dague.net&lt;br /&gt;
*Justin Mason, http://jmason.org&lt;br /&gt;
*Ivanhoe (Bios 3.19)&lt;br /&gt;
*Alessandro Raulino (roger_2) EC 3.04 &amp;amp; BIOS 3.23 flashed with cabextract/CD method&lt;br /&gt;
*Nick Jenkins, using BIOS 3.23 with the [[#The_Non_Diskette_Updater|Non-diskette updater + cabextract method]], then [[#Creating_a_Bootable_CD_from_a_Floppy_Image|created a bootable CD from the cabextracted .IMG file]], then boot that ISO, and it worked great!&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T40p}} ||&lt;br /&gt;
*Lukas KrÃ¤henbÃ¼hl, ismo at pop dot agri dot ch&lt;br /&gt;
*Thomas Achtemichuk, tom at tomchuk dot com. BIOS 3.15 flashed fine with cabextract/CD method&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{T41}} ||&lt;br /&gt;
*Lev Givon (Bios 3.15 / EC 3.04) &amp;lt;lev at columbia dot edu&amp;gt;&lt;br /&gt;
*Ernesto HernÃ¡ndez-Novich (Bios 3.19 / CP 3.04) &amp;lt; emhn at usb dot ve &amp;gt;&lt;br /&gt;
*[http://maebmij.org James Ballantine] (Bios 3.21 / CP 3.04) using nondisk/cabextract/CDRW&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T41p}} ||&lt;br /&gt;
*Nils Newman, work great. (Version: Bios 3.14 / Embedded Controller 3.04)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T42}} ||&lt;br /&gt;
*Dan (BIOS 3.20 / EC 3.04, cabextract/CD method) &amp;lt;tronic171 at evilphb.org&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T42p}} ||&lt;br /&gt;
*Robert Schiele &amp;lt;rschiele@uni-mannheim.de&amp;gt;, Joern Heissler &amp;lt;joern@heissler.de&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T43}}  ||&lt;br /&gt;
*Conrad Rentsch &amp;lt;Conrad dot Rentsch at t-online dot de&amp;gt; (Version: Bios 1.29 / Embedded Controller 1.06)&lt;br /&gt;
*Tom Heady &amp;lt;tom-thinkwiki.org@punch.net&amp;gt;&lt;br /&gt;
*Florian Boucault &amp;lt;florian at boucault dot ath dot cx&amp;gt; (Model : 1871-W34 &amp;amp; Version: Bios 1.23 / Embedded Controller 1.03)&lt;br /&gt;
*Till Heikamp &amp;lt;t dot heikamp at geniusbytes dot com&amp;gt; (Model 2886, Bios 1.22 to 1.29, Embedded Controller 1.03 to 1.06)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T60}}  ||&lt;br /&gt;
*Roman Komkov &amp;lt;roman  at komkov dot org dot ru&amp;gt; (Model 1951, Bios 1.07 to 2.13) Successfully upgraded from CD Image&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X20}}  ||&lt;br /&gt;
*Neil Caunt &amp;lt;retardis at gmail dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X21}}  ||&lt;br /&gt;
*Patrick Leickner &amp;lt;ranma at web dot de&amp;gt;, (BIOS 2.21-&amp;gt;2.25 / EC 1.31-&amp;gt;1.36) via non-disk/cabextract/mkisofs/cdrecord&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X22}}  ||&lt;br /&gt;
*David Emery &amp;lt;dave at skiddlydee dot com&amp;gt;,  (EC 1.30, BIOS 1.32 using non-disk/cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X23}}  ||&lt;br /&gt;
*Nils Faerber &amp;lt;nils dot faerber at kernelconcepts dot de&amp;gt; (Embedded Controller 1.30, BIOS 1.32 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X30}}  ||&lt;br /&gt;
*Hella Breitkopf, [http://www.unixwitch.de/ www]  (Embedded Controller 1.04, BIOS 1.07 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X31}}  ||&lt;br /&gt;
*Grzegorz KuÅ›nierz &amp;lt;koniu at sheket dot org&amp;gt;  (Embedded Controller 1.08, BIOS 3.01 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X40}}  ||&lt;br /&gt;
*Robbie Stone &amp;lt;robbie@serendipity.cx&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{Z60m}}  ||&lt;br /&gt;
*[[User:Morle|Morle]] 13:09, 20 May 2006 (CEST),  (Embedded Controller 1.14 with cabextract/CD method)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Does not work:===&lt;br /&gt;
{|&lt;br /&gt;
| '''Model''' || '''Tested by'''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Please note that testing this is '''at your own risk'''!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Updating via Grub and a Floppy Image==&lt;br /&gt;
&lt;br /&gt;
{{WARN|Many have warned '''not''' to use the [http://syslinux.zytor.com/ SYSLINUX] image-loader [http://syslinux.zytor.com/memdisk.php MEMDISK] to boot the images! Some flash tools may crash in that situation!  Proceed at your own risk!}}&lt;br /&gt;
&lt;br /&gt;
Floppy images may be booted from Grub via a utility called [http://syslinux.zytor.com/memdisk.php MEMDISK], which may be compiled from the [http://www.kernel.org/pub/linux/utils/boot/syslinux/ '''SYSLINUX source'''].  Copy the compiled memdisk image and the floppy image to your boot directory and configure grub as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
title     Bios Flash&lt;br /&gt;
kernel    /boot/memdisk&lt;br /&gt;
initrd    /boot/FILENAME.img&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, proceed at your own risk.  This was tested on an R51 type 2888.&lt;br /&gt;
&lt;br /&gt;
This also worked for me on a T41p type 2373. -- [[User:MrStaticVoid|James Lee]] 20:55, 8 May 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
And it worked for me on a X31 type 2673-CBU. -- [[User:JanTopinski|Jan Topinski]], 18 September 2006 &lt;br /&gt;
&lt;br /&gt;
And it worked for me too on a X31 type 2672-CXU, very useful. -- [[User:TheAnarcat|TheAnarcat]] 16:21, 7 March 2007 (CET)&lt;br /&gt;
&lt;br /&gt;
Same here (worked) on a X31 type 2673-58G --[[User:FaUl|FaUl]] 15:53, 20 June 2007 (UTC)FaUl&lt;br /&gt;
&lt;br /&gt;
Works well on a X31 type 2672-PG9, but with a big moment between starting update and the updating window -- [[User:Starox|Starox]] 22 Jul 2007&lt;br /&gt;
&lt;br /&gt;
And it worked for me on two X40 type 2371 -- [[User:Antialize|Jakob Truelsen]], 19 Jan 2007 -- BIOS: 2.07 1uuj21us.exe -- ECP: 1.62 1uhj10us.exe&lt;br /&gt;
&lt;br /&gt;
Not working for me on T43 type 2668-F7G -- [[User:Maus3273|Maus3273]] 20:48, 30 January 2007 (CET) -- BIOS: 1.29 1YUJ18US.IMG -- I got into the bios program, but the machine never restarts after initiating the upgrade.&lt;br /&gt;
&lt;br /&gt;
X41 type 2525-F8G -- [[User:ladoga|Lauri Koponen]], 11:08 16 Apr 2007&amp;lt;br&amp;gt; &lt;br /&gt;
BIOS: 2.09 (74UJ15US.IMG), is no go. (hangs while initialising the actual flashing process) I tried with 2.07 (74UJ13US.IMG) and 2.06 (74UJ12US.IMG) aswell and they all failed in the very same fashion.&amp;lt;br&amp;gt;&lt;br /&gt;
ECP: 1.02 74HJ03US.IMG, works.&lt;br /&gt;
&lt;br /&gt;
It works fine on R30 type 2656-64g, BIOS v.1.40 -- [[User:english.voodoo|Yuri Spirin]], 10 May 2007.&lt;br /&gt;
&lt;br /&gt;
==Updating with Network Boot Image==&lt;br /&gt;
&lt;br /&gt;
BIOS, Embedded Controller (EC), CD/DVD and Harddisk firmware disks can be booted&lt;br /&gt;
over the network with [http://syslinux.zytor.com/pxe.php PXELINUX] as part of the [http://syslinux.zytor.com/ SYSLINUX] package.&lt;br /&gt;
&lt;br /&gt;
This requires that you have a DHCP and tftp server configured and setup properly on&lt;br /&gt;
your network, and is probably not for the faint of heart.&lt;br /&gt;
&lt;br /&gt;
Make sure the firmware bootdisk is in linux 'dd' format, as the self-extracting .exe disks&lt;br /&gt;
from the IBM website cannot be booted directly as such.&lt;br /&gt;
&lt;br /&gt;
This worked on the {{R31}}, {{X22}}, {{T21}}, {{T30}} and {{T41p}} with various firmware updates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On {{X22}}, works with EC 1.30 but NOT with BIOS 1.32&lt;br /&gt;
&lt;br /&gt;
==Updating via &amp;quot;IBM Predesktop area&amp;quot;, suitable for model X (not have CDROM and floppy)==&lt;br /&gt;
It's so difficult to update BIOS and ECP without cdrom, floppy disk.&lt;br /&gt;
Don't know the reason why I couldn't update BIOS and ECP(1QHJ08US and 1QUJ19US) for my IBM Thinkpad X31.Hmm, may be cause of the dividing partition on my hard disk, that is: 	&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
Primary: ext3, ext3, ntfs&lt;br /&gt;
Extended: Ntsf, fat32&lt;br /&gt;
Bootloader: GRUB&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No problem, you can use this way to do it:&lt;br /&gt;
* First, config in BIOS&lt;br /&gt;
In Security part:&lt;br /&gt;
# Remove all password of Subpervisor and Power on password&lt;br /&gt;
# Set Access IBM Predesktop Area to Normal&lt;br /&gt;
# Choose Enable &amp;quot;Flash BIOS updating by End User&amp;quot; in BIOS update Option.&lt;br /&gt;
&lt;br /&gt;
In Config part:&lt;br /&gt;
# Choose Enable for Network flash over Lan&lt;br /&gt;
&lt;br /&gt;
* Second, download the newest version of BIOS update and ECP update &lt;br /&gt;
Running: The program extract all files to the folder. There is a .img file (1QUJ19US.IMG, 1QUJ08US.IMG) in each folder.&lt;br /&gt;
Copy the imformation content in that img file and paste it to one FAT partition(using winimage or TotalCmd to extract) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
as seen All files in 1QUJ19US.IMG is extracted to D:\BIOS&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
695,764  $018E000.FL1&lt;br /&gt;
163      0691.HSH&lt;br /&gt;
2,049    0691.PAT&lt;br /&gt;
163      0694.HSH&lt;br /&gt;
2,049    0694.PAT&lt;br /&gt;
163      0695.HSH&lt;br /&gt;
2,049    0695.PAT&lt;br /&gt;
2,049    06D0.PAT&lt;br /&gt;
163      06D1.HSH&lt;br /&gt;
2,049    06D1.PAT&lt;br /&gt;
163      06D2.HSH&lt;br /&gt;
2,049    06D2.PAT&lt;br /&gt;
163      06D6.HSH&lt;br /&gt;
2,049    06D6.PAT&lt;br /&gt;
2,049    06D8.PAT&lt;br /&gt;
697      CHKBMP.EXE&lt;br /&gt;
8,128    COMMAND.COM&lt;br /&gt;
26       CONFIG.SYS&lt;br /&gt;
24,860   FLASH2.EXE&lt;br /&gt;
26       LCREFLSH.BAT&lt;br /&gt;
170      LOGO.BAT&lt;br /&gt;
330      LOGO.SCR&lt;br /&gt;
111,925  PHLASH16.EXE&lt;br /&gt;
91,648   PREPARE.EXE&lt;br /&gt;
45       PROD.DAT&lt;br /&gt;
22,252   QKFLASH.EXE&lt;br /&gt;
9,923    README.TXT&lt;br /&gt;
4,260    TPCHKS.EXE&lt;br /&gt;
39,666   UPDTFLSH.EXE&lt;br /&gt;
6,958    UPDTMN.EXE&lt;br /&gt;
12,501   USERINT.EXE&lt;br /&gt;
15,254   UTILINFO.EXE&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And all files in 1QUJ08US.IMG are: D:\ECP&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
315,404 $018E000.FL2&lt;br /&gt;
8,000   COMMAND.COM&lt;br /&gt;
36      CONFIG.SYS&lt;br /&gt;
16,910  ECFLASH2.EXE&lt;br /&gt;
45      PROD.DAT&lt;br /&gt;
17,812  QKFLASH.EXE&lt;br /&gt;
990     README.TXT&lt;br /&gt;
4,260   TPCHKS.EXE&lt;br /&gt;
89,738  UPDTEC.EXE&lt;br /&gt;
31,134  UPDTFLSH.EXE&lt;br /&gt;
12,501  USERINT.EXE&lt;br /&gt;
15,226  UTILINFO.EXE&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Okie, now plug AC Adapter, charge full battery to your laptop and continue third step:&lt;br /&gt;
&lt;br /&gt;
** '''Flash BIOS first,'''&lt;br /&gt;
1. Power On, press blue button on keyboard: '''Access IBM'''&lt;br /&gt;
&lt;br /&gt;
2. On &amp;quot;Utilities&amp;quot;, double click &amp;quot; Diagnostic disk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
3. Your laptop will start PC-DOS, wait when this message appear:&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
Please insert the first floppy diskette and&lt;br /&gt;
Press any key to continue&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Press Ctrl + Break, you will see :&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;Terminate batch job (Y/N) ?&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Okie, press Y, you will get DOS prompt like D:\&lt;br /&gt;
{{NOTE|D:\ is my RAMDISK, C:\ is my disk format as FAT.!}}&lt;br /&gt;
&lt;br /&gt;
6. Enter to c:\BIOS&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
c:&lt;br /&gt;
cd c:\BIOS&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. Run FLASH2.EXE /u $018E000.FL1&lt;br /&gt;
&lt;br /&gt;
8. Wait flash progress compelete and reboot.&lt;br /&gt;
** '''Flash ECP'''&lt;br /&gt;
Follow above instruction from step 1 to 5&lt;br /&gt;
&lt;br /&gt;
6. Enter to c:\ECP&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
c:&lt;br /&gt;
cd c:\ECP&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. run UPDTFLSH.EXE $018E000.FL2&lt;br /&gt;
&lt;br /&gt;
8. Follow UPDTFLSH's instructions&lt;br /&gt;
&lt;br /&gt;
9. Wait flash complete and auto turn off computer.&lt;br /&gt;
&lt;br /&gt;
I done it on my IBM Thinkpad X31.&lt;br /&gt;
&lt;br /&gt;
Enjoy,&lt;br /&gt;
&lt;br /&gt;
Tested by nm.&lt;br /&gt;
&lt;br /&gt;
==Check List==&lt;br /&gt;
&lt;br /&gt;
The following is important to remember:&lt;br /&gt;
# You must update '''both''' the Control Program and the BIOS at the same time if your current Control Program is not compatible with the new BIOS (see below)&lt;br /&gt;
# You must find versions of the Control Program and BIOS that are compatible.  Not all of them are, so follow the readmes on the IBM website carefully to determine which are.&lt;br /&gt;
# You must update the Control Program '''before''' you update the BIOS&lt;br /&gt;
&lt;br /&gt;
When the Control Program '''and''' the BIOS need updating, have both update disks or CDs ready. Update the Control Program first and the system should switch itself off when finished. Insert the BIOS update disk and proceed to update the BIOS. When it's all finished, enter setup, reset the settings to their defaults and reboot. Enter setup again and tweak the settings as necessary.&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=BIOS_Upgrade&amp;diff=33538</id>
		<title>BIOS Upgrade</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=BIOS_Upgrade&amp;diff=33538"/>
		<updated>2007-09-29T08:18:38Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* Preparing a Bootable CD-ROM Image from the Non Diskette Updater */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
This page is meant to describe ways to update the BIOS on a ThinkPad that only runs Linux for users that don't have ready access to Windows. If you have Windows on your ThinkPad you can just boot into it and follow instructions on the IBM website.&lt;br /&gt;
&lt;br /&gt;
{{NOTE| In one case ([[APM setup on a type 2379 ThinkPad T40]]) it was not possible to upgrade the BIOS from Windows XP; a downgrade to Windows 98 was required to successfully run the BIOS upgrade app. The symptoms in this case were that, once the files had been extracted to the hard disk, and the machine was to reboot into the upgrade app, it would beep and hang just before reboot, requiring a power cycle. Once the power was cycled, it would simply reboot back into XP without performing any BIOS upgrade actions. So even if you have Windows, you may still need to use the info on this page.}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
==Before You Begin==&lt;br /&gt;
Updating the BIOS in Linux (with few exceptions) '''is not officially supported''' by IBM/Lenovo.  However there are work arounds.&lt;br /&gt;
&lt;br /&gt;
{{WARN|By following any of the instructions here you are accepting the '''very real risk''' of turning your thinkpad into a big expensive paper weight, as a firmware update gone wrong can create unfixable problems.&lt;br /&gt;
&lt;br /&gt;
'''Proceed at your own risk!'''&lt;br /&gt;
&lt;br /&gt;
It is also important to understand that Thinkpads from IBM have two separate firmwares: the BIOS, and the Embedded Controller program.  A given BIOS version will require a certain version of the Embedded Controller program.&lt;br /&gt;
&lt;br /&gt;
The IBM documentation is sometimes unclear about the order in which these two firmwares should be updated.  On most, but not all Thinkpads, '''the correct update order is Embedded Controller program first, and then the BIOS'''.  Make sure to do the two updates immediately one after the other.  Newer models from Lenovo update both the Embedded Controller program and the BIOS at the same time, so you don't have to worry about it.}}&lt;br /&gt;
&lt;br /&gt;
==BIOS Upgrade Paths==&lt;br /&gt;
&lt;br /&gt;
For every firmware (either BIOS or Embedded Controller program) update on the IBM web site there used to be two different firmware update programs provided. The Diskette Updater and the Non Diskette Updater. For newer Lenovo Models the Diskette Updater is replaced with a bootable CD-Image and the Non Diskette Updater is renamed BIOS Update Utility, both of which update the BIOS and the Embedded Controller program at the same time. A list of links to firmware downloads can be found at [[BIOS Upgrade Downloads]] for nearly all Thinkpad Models.&lt;br /&gt;
&lt;br /&gt;
===The Diskette Updater===&lt;br /&gt;
&lt;br /&gt;
The Diskette updater appears to be a 16 bit DOS program which asks you to accept a license agreement.  It will run in Windows, DOS, OS/2, or [http://dosemu.sf.net Dosemu] perfectly, but requires a real floppy disk attached via a real floppy controller.  A USB Floppy Drive will not work.&lt;br /&gt;
&lt;br /&gt;
===The Bootable CD Image===&lt;br /&gt;
&lt;br /&gt;
Newer models from Lenovo can be updated using the Bootable CD Image.  This should be the easiest way for non-Windows users and also maybe a more secure way for Windows users, as well. As the image is provided as a plain ISO-file without any Windows enclosure, you can simply burn it to a CD-R/RW with any modern operating system, as long as you have a CD/DVD-RW Drive and are then able to boot from it.&lt;br /&gt;
&lt;br /&gt;
===Extracting a Bootable CD-ROM Image from the Non Diskette Updater===&lt;br /&gt;
{{WARN|Though this process was successfully tested on one version of .exe files found on IBMs website this doesn't mean it will work for all of them.  Proceed at your own risk.}}&lt;br /&gt;
&lt;br /&gt;
This installer appears to be a 32bit windows .exe which is designed for updating the BIOS directly from a running Windows OS.  It turns out that this .exe is really a wrapper license program around Windows .cab files (see [[How_to_change_the_BIOS_bootsplash_screen|BIOS-Bootsplash]]).  If you install the Linux program [http://freshmeat.net/projects/cabextract/ '''cabextract'''] you can expand these .cab files directly.  Run the following:&lt;br /&gt;
&lt;br /&gt;
:{{cmduser|cabextract FILENAME.exe}}&lt;br /&gt;
&lt;br /&gt;
This will extract 8 files in the current directory.  One of them will be FILENAME.img.  In this discussion, &amp;quot;FILENAME&amp;quot; represents the name of the Non Diskette file that you downloaded, such as &amp;quot;1NHJ04US&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
You can test that this is really a floppy image by running:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|mkdir mntfloppy}}&lt;br /&gt;
:{{cmdroot|mount -o loop FILENAME.img mntfloppy}}&lt;br /&gt;
:{{cmdroot|ls -la mntfloppy}}&lt;br /&gt;
&lt;br /&gt;
If the results of {{cmdroot|ls -la mntfloppy}} look like a dos floppy, and no read errors were displayed, you have a pretty good chance that the floppy image is usable.&lt;br /&gt;
&lt;br /&gt;
Unmount the image after you are done:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|umount mntfloppy}}&lt;br /&gt;
&lt;br /&gt;
Now, you can proceed to [[BIOS_Upgrade:Creating a Bootable CD from a Floppy Image]], below.&lt;br /&gt;
&lt;br /&gt;
== Updating Thinkpad X Series ==&lt;br /&gt;
&lt;br /&gt;
X Series Thinkpads do not have an internal drive. If there is no Windows installed, the BIOS must be updated by booting from an USB drive or a drive that is integrated in the docking station. Since a while Lenovo provides BIOS updates in form of bootable CD images. Unfortunately, these images are intended to be used with the docking station's CD drive. If you do not own such a drive, things get complicated.&lt;br /&gt;
&lt;br /&gt;
The problem is that current BIOS updates are quite large, about 3 MB in size. Booting from CDs typically works like booting from a 1.44 MB or 2.88 MB floppy disk. The floppy image is stored on the CD and is referenced in the CD's boot record. Because the BIOS update file are that large, they do not fit on such a floppy image. Thus, they must be stored on the CD outside the virtual floppy image. To access these files a driver for the CD drive has to be loaded. Since Lenovo's CD images are intended to be used with a docking station's CD drive, it is not possible to use them for BIOS updates by booting from an USB CD drive.&lt;br /&gt;
&lt;br /&gt;
But there is hope. The CD images provided by Lenovo can be modified such that they contain drivers for USB CD drives. I tested the following with a Thinkpad {{X60s}}.&lt;br /&gt;
&lt;br /&gt;
The idea is to take Lenovo's ISO CD image and modify it such that a USB CD drive can be used instead the CD drive in the docking station. Unfortunately, simply replacing the drivers is not enough. While doing the BIOS update, the USB ports seem to get disabled or something. Therefore, before starting the update process the CD contents have to be copied to a RAM disk. I will describe the procedure step by step.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Download the ISO image style BIOS update from Lenovo's website. This file will be refered to as &amp;lt;tt&amp;gt;/tmp/bios-lenovo.iso&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Extract the floppy image from this ISO image. You can use the following shell script for this task (or an alternative one from [http://userpages.uni-koblenz.de/~krienke/ftp/noarch/geteltorito/]). Simply save this code into the file &amp;lt;tt&amp;gt;/tmp/extractbootimage.sh&amp;lt;/tt&amp;gt;, set the x-flag (&amp;lt;tt&amp;gt;chmod +x /tmp/extractbootimage.sh&amp;lt;/tt&amp;gt;) and call it using the command &amp;lt;tt&amp;gt;/tmp/extractbootimage.sh /tmp/bios-lenovo.iso /tmp/bios-lenovo.img&amp;lt;/tt&amp;gt;. The floppy image contained in the ISO image will then be saved to &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img&amp;lt;/tt&amp;gt;. Here is the code of the shell script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# This script extracts the floopy boot image from bootable ISO images&lt;br /&gt;
#&lt;br /&gt;
# Written by Joachim Selke (mail@joachim-selke.de), 2007-04-07&lt;br /&gt;
&lt;br /&gt;
ISOFILE=$1&lt;br /&gt;
IMAGEFILE=$2&lt;br /&gt;
&lt;br /&gt;
if [ ! -r $ISOFILE ]; then&lt;br /&gt;
        echo $ISOFILE: file does not exist or is not readable&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ -z $IMAGEFILE ]; then&lt;br /&gt;
        echo Error: no image file specified&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
ISOFILESIZE=`stat -c %s $ISOFILE`&lt;br /&gt;
&lt;br /&gt;
# collect El Torito data&lt;br /&gt;
# see http://www.phoenix.com/NR/rdonlyres/98D3219C-9CC9-4DF5-B496-A286D893E36A/0/specscdrom.pdf for reference&lt;br /&gt;
&lt;br /&gt;
BOOTCATALOGPOINTERBYTE=$((17 * 0x800 + 0x47))&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $(($BOOTCATALOGPOINTERBYTE + 4)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# absolute pointer to first sector of boot catalog:&lt;br /&gt;
BOOTCATALOG=`od -A n -t x4 -N 4 -j $BOOTCATALOGPOINTERBYTE $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
BOOTCATALOGBYTE=$((0x$BOOTCATALOG * 0x800))&lt;br /&gt;
&lt;br /&gt;
echo Boot catalog starts at byte $BOOTCATALOGBYTE&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $(($BOOTCATALOGBYTE + 32 + 2)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# media type of boot image&lt;br /&gt;
# only floppy disk images are supported by this script&lt;br /&gt;
BOOTMEDIATYPE=`od -A n -t x1 -N 1 -j $(($BOOTCATALOGBYTE + 32 + 1)) $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
if [ $BOOTMEDIATYPE -eq 1 ]; then&lt;br /&gt;
        echo Boot media type is 1.2M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((1200 / 2))&lt;br /&gt;
elif [ $BOOTMEDIATYPE -eq 2 ]; then&lt;br /&gt;
        echo Boot media type is 1.44M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((1440 / 2))&lt;br /&gt;
elif [ $BOOTMEDIATYPE -eq 3 ]; then&lt;br /&gt;
        echo Boot media type is 2.88M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((2880 / 2))&lt;br /&gt;
else&lt;br /&gt;
        echo Boot media type is $((0x$BOOTMEDIATYPE)). This type is not supported yet.&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# absolute pointer to start of boot image&lt;br /&gt;
BOOTIMAGE=`od -A n -t x4 -N 4 -j $(($BOOTCATALOGBYTE + 32 + 8)) $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
BOOTIMAGEBYTE=$((0x$BOOTIMAGE * 0x800))&lt;br /&gt;
&lt;br /&gt;
echo Boot image starts at byte $BOOTIMAGEBYTE&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $((0x$BOOTIMAGE * 0x800 + $IMAGEBLOCKS * 0x800)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
echo Extracting boot image ...&lt;br /&gt;
&lt;br /&gt;
dd if=$ISOFILE of=$IMAGEFILE bs=2K count=$IMAGEBLOCKS skip=$((0x$BOOTIMAGE))&lt;br /&gt;
&lt;br /&gt;
echo Finished&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Mount the floppy image '''as root''' using the loop device:&lt;br /&gt;
:{{cmdroot|mkdir /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
:{{cmdroot|mount -o loop /tmp/bios-lenovo.img /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
The image is now mounted as &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Download needed drivers. First download some [http://panasonic.co.jp/pcc/products/drive/other/driver/f2h_usb.exe USB drivers] from Panasonic Japan. Save the file to &amp;lt;tt&amp;gt;/tmp/f2h_usb.exe&amp;lt;/tt&amp;gt; This file is a self-extracting EXE file, that can be executed under Linux using [http://www.winehq.com/ Wine]:&lt;br /&gt;
:{{cmduser|wine /tmp/f2h_usb.exe}}&lt;br /&gt;
You will be asked where to save the extracted files. Choose &amp;lt;tt&amp;gt;/tmp&amp;lt;/tt&amp;gt;. A new directory &amp;lt;tt&amp;gt;/tmp/F2h&amp;lt;/tt&amp;gt; containing the needed drivers will be created.&lt;br /&gt;
&lt;br /&gt;
Additionally, you will need drivers for the RAM disk mentioned. Download them from the [http://sourceforge.net/projects/srdisk ReSizeable RAMDisk project]. Unzip them to &amp;lt;tt&amp;gt;/tmp/srdisk&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Let's modify the floppy image:&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/Usbaspi.sys /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/USBCD.SYS /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/RAMFD.SYS /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/srdisk/srdxms.sys /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/srdisk/srdisk.exe /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
Now add the following lines to &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt/config.sys&amp;lt;/tt&amp;gt; replacing the line &amp;lt;tt&amp;gt;DEVICE = A:\IBMTPCD.SYS /R /C&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DEVICE = A:\SRDXMS.SYS&lt;br /&gt;
DEVICE = A:\RAMFD.SYS&lt;br /&gt;
DEVICE = A:\USBASPI.SYS /V&lt;br /&gt;
DEVICE = A:\USBCD.SYS /D:TPCD001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Finally, edit the file &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt/autoexec.bat&amp;lt;/tt&amp;gt; replacing the last line (saying &amp;lt;tt&amp;gt;COMMAND.COM&amp;lt;/tt&amp;gt;) by the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A:\SRDISK 10000&lt;br /&gt;
COPY *.* D:&lt;br /&gt;
D:&lt;br /&gt;
COMMAND.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Maybe the RAM disk gets a drive letter different from D: on your system. In this case, you have to change the above lines accordingly.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Unmount the floppy image (as root):&lt;br /&gt;
:{{cmdroot|umount /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Copy the content of the original CD image to a new directory and create a new ISO file:&lt;br /&gt;
:{{cmdroot|mkdir /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmdroot|mount -o loop /tmp/bios-lenovo.iso /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmduser|mkdir /tmp/bios-new.iso-mnt}}&lt;br /&gt;
:{{cmduser|cp /tmp/bios-lenovo.iso-mnt/* /tmp/bios-new.iso-mnt}}&lt;br /&gt;
:{{cmduser|cp /tmp/bios-lenovo.img /tmp/bios-new.iso-mnt/boot.img}}&lt;br /&gt;
:{{cmdroot|umount /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmduser|mkisofs -relaxed-filenames -b boot.img -o /tmp/bios-new.iso /tmp/bios-new.iso-mnt/}}&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
The file &amp;lt;tt&amp;gt;/tmp/bios-new.iso&amp;lt;/tt&amp;gt; is the modified ISO file. Just burn it to CD and use this CD for updating your BIOS (boot from it using your USB drive). Please give some comments here if it worked for you.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alternative method using a USB stick===&lt;br /&gt;
&lt;br /&gt;
''Note: none of the above methods worked on my X60s.  This method worked for me, however.'' [[User:PhilipPaeps|PhilipPaeps]] 16:41, 24 August 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
This method was surprisingly painless once I convinced my ThinkPad X60s to boot DOS from a USB stick.  I used VMWare and some mystical tool to get DOS on the stick.  If you can find another way to get a bootable DOS stick, please update this section!&lt;br /&gt;
&lt;br /&gt;
* Tell VMWare to create a virtual floppy image for you and format it under Microsoft Windows and tell it to create a system disk.  You can do this by clicking into &amp;quot;My Computer&amp;quot;, then right-clicking on the &amp;quot;Floppy&amp;quot; icon and selecting &amp;quot;Format&amp;quot;.  In the box that pops up, you need to check the box that says &amp;quot;Create an MS-DOS startup disk&amp;quot; and then click &amp;quot;Start&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* When you've done that, get this tool: http://www.techpowerup.com/downloads/330/mirrors.php and install it.  The tool is apparantly something HP once wrote, but I have been unable to find a link to it anywhere on the HP website.&lt;br /&gt;
&lt;br /&gt;
* In a command prompt again: &amp;lt;code&amp;gt;C:\DriveKey\HPUSBF.EXE E: -Q -B:A:\&amp;lt;/code&amp;gt;, replacing the &amp;lt;code&amp;gt;E:&amp;lt;/code&amp;gt; with the &amp;quot;drive letter&amp;quot; associated with your USB stick (you can find this letter in &amp;quot;My Computer&amp;quot; under &amp;quot;Removable Storage&amp;quot;).  '''WARNING:''' this wipes anything on the USB stick.  You will end up with a USB stick which appears empty at this point, but there is DOS on it somewhere.&lt;br /&gt;
&lt;br /&gt;
* Now mount the BIOS update ISO image from Lenovo as a virtual CDROM using VMWare again and copy the files from it to the USB stick: &amp;lt;code&amp;gt;copy D:\*.* E:\&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
At this point, you may want to fiddle with the splash image, as described elsewhere on ThinkWiki.&lt;br /&gt;
&lt;br /&gt;
* Reboot and press F12, tell the BIOS to boot from your USB stick.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd flash&amp;lt;/code&amp;gt; ; &amp;lt;code&amp;gt;updtflsh.exe&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Think happy thoughts.  The ThinkPad will beep quite ominously (and loudly!) a couple of times.  Do not let this worry you too much.  After about three minutes, the program will ask you to press enter to restart and hopefully all will be well.&lt;br /&gt;
&lt;br /&gt;
===Comments===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
I have followed your excellent instructions. The CD booted, the update program ran but stopped working and responding while updating. Luckily the BIOS was not destroyed. Since destroying the BIOS is a very high risk, I am going to recover the original Windows on an old HD and will run the update exe update program from there.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
I followed these clear instructions, and like the comment above I ended up with a CD that booted but the update program stopped working and responding.  An ALT-CTRL-DELETE rebooted my x60s, and it works so the BIOS must not have been damaged.  I was trying to upgrade from version 2.08 to 2.11, I wonder if these instructions are somehow particular to certain versions?  &lt;br /&gt;
[[User:Latch|Latch]] 01:22, 14 June 2007 (UTC)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
After following the above instructions, the program also stopped working while updating the BIOS. But after changing the drive letter from D: to C: (see code below), it everything worked fine. However, I had some trouble figuring out, which letter to choose over D: at first, as the BIOS Upgrade program started right away.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A:\SRDISK 10000&lt;br /&gt;
COPY *.* C:&lt;br /&gt;
C:&lt;br /&gt;
COMMAND.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[User:Mtx|Mtx]], 1 August 2007, Thinkpad X61s&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Flashing the bios (2.12) works for me on a X60s (using drive c). Using the DVD-R on an USB-Hub did not work.&amp;lt;br&amp;gt; [[User:Ra|Ra]] 00:15, 21 August 2007 (UTC)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Updating via CD/DVD Drive==&lt;br /&gt;
&lt;br /&gt;
The whole thing gets more complicated if you neither have Windows nor a floppy drive installed. This is what this page is intended to describe.&lt;br /&gt;
&lt;br /&gt;
Another possibility which works even without a CD-drive or network is to boot the disk image via the grub initrd mechanism.&lt;br /&gt;
&lt;br /&gt;
Be aware that IBM officially does '''not''' support this! The official statement to my support request was:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I'm afraid we only support the options listed on our web page and no you&lt;br /&gt;
can't burn a CD/DVD, however you can try to use an external USB FDD&lt;br /&gt;
(floppy) drive. The experts recommend a IBM USB FDD, however they have also&lt;br /&gt;
tested it with a Sony USB FDD drive.&lt;br /&gt;
&lt;br /&gt;
In order to make sure the drive is recognised you can boot up the FDD with&lt;br /&gt;
a bootable dos diskette for w98&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But it seems to be possible as Mathias Dalheimer describes this [http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/1998-January/009743.html here].&lt;br /&gt;
&lt;br /&gt;
Another indication that it should work is that IBM uses PHLASH16.EXE (at least on T4x/p systems) to flash the BIOS into the chip. The same tool is used by [http://www.samsungpc.com/gb/support/p35/bios/bios-instructions.html other vendors] to flash the BIOS from bootable CD-ROMs.&lt;br /&gt;
{{WARN|Do '''not''' use the [http://syslinux.zytor.com/ SYSLINUX] image-loader [http://syslinux.zytor.com/memdisk.php MEMDISK] to boot the images! Some flash tools crash in that situation!}}&lt;br /&gt;
&lt;br /&gt;
Some interesting but very technical information about the used flash tool can be found [http://www.paul.sladen.org/thinkpad-r31/wifi-card-pci-ids.html here].&lt;br /&gt;
&lt;br /&gt;
===Creating a Floppy Image===&lt;br /&gt;
If you have created a boot floppy on another machine, you need to create an image file of that floppy. This can be easily done in linux by running a command line:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|1=dd bs=2x80x18b if=/dev/fd0 of=/tmp/floppy.img}}&lt;br /&gt;
&lt;br /&gt;
You can also create a floppy image by using Ken Kato's [http://chitchat.at.infoseek.co.jp/vmware/vfd.html VMware's back]. It is a free Windoze tool that creates a virtual floppy drive and allows you to produce an image file ready to be ISO'ed. Note: you might have to 'manually' (through application's interface) assign the virtual drive a volume letter in order to be seen by IBM's application (as, by default, it seems not to do it).&lt;br /&gt;
&lt;br /&gt;
You should verify this {{path|floppy.img}} as explained above.&lt;br /&gt;
&lt;br /&gt;
===Creating a Bootable CD from a Floppy Image===&lt;br /&gt;
Once you have your floppy image, either from imaging a real floppy, or from extracting them via the cabextract method above, you need to make a boot CD out of it.&lt;br /&gt;
&lt;br /&gt;
The eltorito bootable CD standard is a wonderful thing.  What this means is that a bootable CD can be made with a bootable floppy in such as way that the CD believes that it is a 2.88 MB floppy drive.  This allows you to replace a boot floppy by a boot CD in nearly all situations.&lt;br /&gt;
&lt;br /&gt;
It is very easy to create such a bootable CD ISO image in Linux using the mkisofs tool.  To do this run a command as follows:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|mkisofs -b bootfloppy.img -o bootcd.iso bootfloppy.img}}&lt;br /&gt;
&lt;br /&gt;
Note: This creates a CD with one file on it and marks that file as the boot image.  For more info on this read {{cmduser|man mkisofs}}.&lt;br /&gt;
&lt;br /&gt;
You can now burn the {{path|bootcd.iso}} in your favorite CD burning program.&lt;br /&gt;
&lt;br /&gt;
To get an overview which models have been tested with this version, here is a list:&lt;br /&gt;
&lt;br /&gt;
===Does work:===&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
| '''Model''' || '''Tested by'''&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600E}} (2645-4AU) ||&lt;br /&gt;
*George Tellalov &amp;lt;gtellalov_dontspamme@bigfoot.com&amp;gt;. BIOS 1.16 from spsdin36.exe worked perfectly with the method bootable cd from floppy image. I highly recommend this upgrade because it made my ibm-acpi module load (it wouldn't load before) and fixed some suspend to ram problems. Here's the [http://george.tellalov.info/bios_upgrade_600e_spsdin36.iso cd image] I used. Use at your own risk. You can send me a chocolate if it works for you ;)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600E}} (2645-5bU) ||&lt;br /&gt;
*Mike Vincent&amp;lt;matchstc-putobvioushere.com&amp;gt;. Bios 1.16 from spsdin36.exe and then to the boot cd worked great for me. Thought I had bricked it three separate times using a &amp;quot;real&amp;quot; floppy! Each from different diskettes .The updater would start, give me the &amp;quot;going to take30 seconds&amp;quot; speech...and then access the HD for 10 minutes. Each time it would reboot fine. Did the cd as described above...worked great first time. Perhaps 10 year old seldom used floppy disc drives have some challenges?&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600X}} (2645) ||&lt;br /&gt;
*Jonathan Byrne &amp;lt;jonathan@RemoveThisToMailMe.yamame.org&amp;gt;. BIOS 1.11 from spsuit55.exe worked perfectly using cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600X}} (2645) ||&lt;br /&gt;
*Andy Barnes &amp;lt;andy@RemoveThisToMailMe.itchypaws.co.uk&amp;gt;. As per Jonathan above, extracted BIOS 1.11 from spsuit55.exe using cabextract, created a CD boot image and burnt to CD.  Worked flawlessly - thanks to everyone who contributed to this article!&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A20p}} (2629-6VU) ||&lt;br /&gt;
*Chris Pickett http://www.sable.mcgill.ca/~cpicke/. BIOS 1.11 flashed fine with cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A21e}} (2628-JXU) ||&lt;br /&gt;
*Amit Gurdasani &amp;lt;gurdasani at yahoo dot com&amp;gt;. BIOS 1.13 flashed fine with cabextract/CD method. Alarmingly, after the BIOS update, the laptop beeped but did not shut down as was indicated onscreen -- that was frozen on the &amp;quot;do not shut down the laptop&amp;quot; screen. On power down and up again, the BIOS setup showed the newer BIOS image running, and Linux booted up fine. Linux ACPI didn't complain about the BIOS being too old either.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A31p}} (2653) ||&lt;br /&gt;
*Matthias Meinke largeeddy@gmx.at, BIOS 1.09 1NET15WW flashed fine with cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A31}} (2652) ||&lt;br /&gt;
*[[User:Wnoise|Aaron Denney]], BIOS 1.13 flashed fine with cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{R30}}  ||&lt;br /&gt;
*Jarrod, 30 August 2007, Thinkpad R30 Type 2656-E0M. BIOS updated to 1.40 (1CETF0WW) using floppy disk/mkisofs/cdrecord. Worked fine, no problems. &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{R31}} ||&lt;br /&gt;
*[http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/1998-January/009743.html Mathias Dalheimer]&lt;br /&gt;
*Sebastian Sauer (with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R40}} ||&lt;br /&gt;
*Matthew Lambie, http://lambie.org&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R50}} (1836-3SU) ||&lt;br /&gt;
*jlbartos &amp;lt;jlbartos at hotmail dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R50e}} (1834-PTG) ||&lt;br /&gt;
*item &amp;lt;item at freemail dot hu&amp;gt; : successfully finished with cabextract/CD method for &amp;quot;1wuj25us.exe&amp;quot; (BIOS version 1WET90WW (2.10), Release Date: 2006/12/22)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (1829) ||&lt;br /&gt;
*Robert Uhl &amp;lt;rob dot uhl at gmx dot de&amp;gt;, Jellby &amp;lt;jellby at yahoo dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (1830-RM7) ||&lt;br /&gt;
*Will Parker &amp;lt;stardotstar at sourcepoint dot com dot au&amp;gt; successfully flashed 3.20 using existing 3.04 ECP and retained custom boot splash.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (2887) ||&lt;br /&gt;
*Ingo van Lil &amp;lt;inguin at gmx dot de&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R52}} (1858) ||&lt;br /&gt;
*Stuart McCord &amp;lt;stuart dot mccord at gmail dot com&amp;gt;  flashed both BIOS and ECP using cabextract, BIOS flashed first as on IBM website&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T20}} ||&lt;br /&gt;
*Franz Hassels &amp;lt;fhassel at suse dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T22}} ||&lt;br /&gt;
*Daniel Maier &amp;lt;nusse teamidiot de&amp;gt;&lt;br /&gt;
*Mathias Behrle (with cabextract/CD method, Version 1.07 =&amp;gt; 1.12) --[[User:Mathiasb|Mathiasb]] 11:58, 14 December 2006 (CET)&lt;br /&gt;
*Bob Skaroff (cabextract/CD), 1.06 =&amp;gt; 1.12&lt;br /&gt;
*Leo Butler (cabextract/CD), 1.11 =&amp;gt; 1.12 &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T23}} ||&lt;br /&gt;
*Bart Snapp &amp;lt;snapp at uiuc dot edu&amp;gt; Note: I followed IBM's instructions to flash the BIOS *first* and the Embedded Controller *second*.&lt;br /&gt;
*Moy Easwaran: BIOS 1.18 / EC 1.06a via cabextract and CD-boot.  The BIOS-update exe generated errors in Windows 2000.&lt;br /&gt;
*Joe Renes: BIOS 1.18 / EC 1.06a on 2006-03-20 via cabextract and CD-boot. Piece of cake.&lt;br /&gt;
*Raphael Errani: BIOS 1.20 / EC 1.06a on 2006-11-06 via cabextract and CD-boot (using mkisofs). Worked without errors. 1st Bios, 2nd EC&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T30}} ||&lt;br /&gt;
*Martin GÃ¼hring &amp;lt;guehring at gmail.com&amp;gt; BIOS 2.10 via cabextract the Non-Diskette BIOS -&amp;gt; mkisofs '''in the directory the exe was extracted''' to generate the iso -&amp;gt; burn the iso -&amp;gt; boot the CD&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{T40}} ||&lt;br /&gt;
*Sean Dague, http://dague.net&lt;br /&gt;
*Justin Mason, http://jmason.org&lt;br /&gt;
*Ivanhoe (Bios 3.19)&lt;br /&gt;
*Alessandro Raulino (roger_2) EC 3.04 &amp;amp; BIOS 3.23 flashed with cabextract/CD method&lt;br /&gt;
*Nick Jenkins, using BIOS 3.23 with the [[#The_Non_Diskette_Updater|Non-diskette updater + cabextract method]], then [[#Creating_a_Bootable_CD_from_a_Floppy_Image|created a bootable CD from the cabextracted .IMG file]], then boot that ISO, and it worked great!&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T40p}} ||&lt;br /&gt;
*Lukas KrÃ¤henbÃ¼hl, ismo at pop dot agri dot ch&lt;br /&gt;
*Thomas Achtemichuk, tom at tomchuk dot com. BIOS 3.15 flashed fine with cabextract/CD method&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{T41}} ||&lt;br /&gt;
*Lev Givon (Bios 3.15 / EC 3.04) &amp;lt;lev at columbia dot edu&amp;gt;&lt;br /&gt;
*Ernesto HernÃ¡ndez-Novich (Bios 3.19 / CP 3.04) &amp;lt; emhn at usb dot ve &amp;gt;&lt;br /&gt;
*[http://maebmij.org James Ballantine] (Bios 3.21 / CP 3.04) using nondisk/cabextract/CDRW&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T41p}} ||&lt;br /&gt;
*Nils Newman, work great. (Version: Bios 3.14 / Embedded Controller 3.04)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T42}} ||&lt;br /&gt;
*Dan (BIOS 3.20 / EC 3.04, cabextract/CD method) &amp;lt;tronic171 at evilphb.org&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T42p}} ||&lt;br /&gt;
*Robert Schiele &amp;lt;rschiele@uni-mannheim.de&amp;gt;, Joern Heissler &amp;lt;joern@heissler.de&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T43}}  ||&lt;br /&gt;
*Conrad Rentsch &amp;lt;Conrad dot Rentsch at t-online dot de&amp;gt; (Version: Bios 1.29 / Embedded Controller 1.06)&lt;br /&gt;
*Tom Heady &amp;lt;tom-thinkwiki.org@punch.net&amp;gt;&lt;br /&gt;
*Florian Boucault &amp;lt;florian at boucault dot ath dot cx&amp;gt; (Model : 1871-W34 &amp;amp; Version: Bios 1.23 / Embedded Controller 1.03)&lt;br /&gt;
*Till Heikamp &amp;lt;t dot heikamp at geniusbytes dot com&amp;gt; (Model 2886, Bios 1.22 to 1.29, Embedded Controller 1.03 to 1.06)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T60}}  ||&lt;br /&gt;
*Roman Komkov &amp;lt;roman  at komkov dot org dot ru&amp;gt; (Model 1951, Bios 1.07 to 2.13) Successfully upgraded from CD Image&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X20}}  ||&lt;br /&gt;
*Neil Caunt &amp;lt;retardis at gmail dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X21}}  ||&lt;br /&gt;
*Patrick Leickner &amp;lt;ranma at web dot de&amp;gt;, (BIOS 2.21-&amp;gt;2.25 / EC 1.31-&amp;gt;1.36) via non-disk/cabextract/mkisofs/cdrecord&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X22}}  ||&lt;br /&gt;
*David Emery &amp;lt;dave at skiddlydee dot com&amp;gt;,  (EC 1.30, BIOS 1.32 using non-disk/cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X23}}  ||&lt;br /&gt;
*Nils Faerber &amp;lt;nils dot faerber at kernelconcepts dot de&amp;gt; (Embedded Controller 1.30, BIOS 1.32 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X30}}  ||&lt;br /&gt;
*Hella Breitkopf, [http://www.unixwitch.de/ www]  (Embedded Controller 1.04, BIOS 1.07 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X31}}  ||&lt;br /&gt;
*Grzegorz KuÅ›nierz &amp;lt;koniu at sheket dot org&amp;gt;  (Embedded Controller 1.08, BIOS 3.01 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X40}}  ||&lt;br /&gt;
*Robbie Stone &amp;lt;robbie@serendipity.cx&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{Z60m}}  ||&lt;br /&gt;
*[[User:Morle|Morle]] 13:09, 20 May 2006 (CEST),  (Embedded Controller 1.14 with cabextract/CD method)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Does not work:===&lt;br /&gt;
{|&lt;br /&gt;
| '''Model''' || '''Tested by'''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Please note that testing this is '''at your own risk'''!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Updating via Grub and a Floppy Image==&lt;br /&gt;
&lt;br /&gt;
{{WARN|Many have warned '''not''' to use the [http://syslinux.zytor.com/ SYSLINUX] image-loader [http://syslinux.zytor.com/memdisk.php MEMDISK] to boot the images! Some flash tools may crash in that situation!  Proceed at your own risk!}}&lt;br /&gt;
&lt;br /&gt;
Floppy images may be booted from Grub via a utility called [http://syslinux.zytor.com/memdisk.php MEMDISK], which may be compiled from the [http://www.kernel.org/pub/linux/utils/boot/syslinux/ '''SYSLINUX source'''].  Copy the compiled memdisk image and the floppy image to your boot directory and configure grub as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
title     Bios Flash&lt;br /&gt;
kernel    /boot/memdisk&lt;br /&gt;
initrd    /boot/FILENAME.img&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, proceed at your own risk.  This was tested on an R51 type 2888.&lt;br /&gt;
&lt;br /&gt;
This also worked for me on a T41p type 2373. -- [[User:MrStaticVoid|James Lee]] 20:55, 8 May 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
And it worked for me on a X31 type 2673-CBU. -- [[User:JanTopinski|Jan Topinski]], 18 September 2006 &lt;br /&gt;
&lt;br /&gt;
And it worked for me too on a X31 type 2672-CXU, very useful. -- [[User:TheAnarcat|TheAnarcat]] 16:21, 7 March 2007 (CET)&lt;br /&gt;
&lt;br /&gt;
Same here (worked) on a X31 type 2673-58G --[[User:FaUl|FaUl]] 15:53, 20 June 2007 (UTC)FaUl&lt;br /&gt;
&lt;br /&gt;
Works well on a X31 type 2672-PG9, but with a big moment between starting update and the updating window -- [[User:Starox|Starox]] 22 Jul 2007&lt;br /&gt;
&lt;br /&gt;
And it worked for me on two X40 type 2371 -- [[User:Antialize|Jakob Truelsen]], 19 Jan 2007 -- BIOS: 2.07 1uuj21us.exe -- ECP: 1.62 1uhj10us.exe&lt;br /&gt;
&lt;br /&gt;
Not working for me on T43 type 2668-F7G -- [[User:Maus3273|Maus3273]] 20:48, 30 January 2007 (CET) -- BIOS: 1.29 1YUJ18US.IMG -- I got into the bios program, but the machine never restarts after initiating the upgrade.&lt;br /&gt;
&lt;br /&gt;
X41 type 2525-F8G -- [[User:ladoga|Lauri Koponen]], 11:08 16 Apr 2007&amp;lt;br&amp;gt; &lt;br /&gt;
BIOS: 2.09 (74UJ15US.IMG), is no go. (hangs while initialising the actual flashing process) I tried with 2.07 (74UJ13US.IMG) and 2.06 (74UJ12US.IMG) aswell and they all failed in the very same fashion.&amp;lt;br&amp;gt;&lt;br /&gt;
ECP: 1.02 74HJ03US.IMG, works.&lt;br /&gt;
&lt;br /&gt;
It works fine on R30 type 2656-64g, BIOS v.1.40 -- [[User:english.voodoo|Yuri Spirin]], 10 May 2007.&lt;br /&gt;
&lt;br /&gt;
==Updating with Network Boot Image==&lt;br /&gt;
&lt;br /&gt;
BIOS, Embedded Controller (EC), CD/DVD and Harddisk firmware disks can be booted&lt;br /&gt;
over the network with [http://syslinux.zytor.com/pxe.php PXELINUX] as part of the [http://syslinux.zytor.com/ SYSLINUX] package.&lt;br /&gt;
&lt;br /&gt;
This requires that you have a DHCP and tftp server configured and setup properly on&lt;br /&gt;
your network, and is probably not for the faint of heart.&lt;br /&gt;
&lt;br /&gt;
Make sure the firmware bootdisk is in linux 'dd' format, as the self-extracting .exe disks&lt;br /&gt;
from the IBM website cannot be booted directly as such.&lt;br /&gt;
&lt;br /&gt;
This worked on the {{R31}}, {{X22}}, {{T21}}, {{T30}} and {{T41p}} with various firmware updates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On {{X22}}, works with EC 1.30 but NOT with BIOS 1.32&lt;br /&gt;
&lt;br /&gt;
==Updating via &amp;quot;IBM Predesktop area&amp;quot;, suitable for model X (not have CDROM and floppy)==&lt;br /&gt;
It's so difficult to update BIOS and ECP without cdrom, floppy disk.&lt;br /&gt;
Don't know the reason why I couldn't update BIOS and ECP(1QHJ08US and 1QUJ19US) for my IBM Thinkpad X31.Hmm, may be cause of the dividing partition on my hard disk, that is: 	&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
Primary: ext3, ext3, ntfs&lt;br /&gt;
Extended: Ntsf, fat32&lt;br /&gt;
Bootloader: GRUB&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No problem, you can use this way to do it:&lt;br /&gt;
* First, config in BIOS&lt;br /&gt;
In Security part:&lt;br /&gt;
# Remove all password of Subpervisor and Power on password&lt;br /&gt;
# Set Access IBM Predesktop Area to Normal&lt;br /&gt;
# Choose Enable &amp;quot;Flash BIOS updating by End User&amp;quot; in BIOS update Option.&lt;br /&gt;
&lt;br /&gt;
In Config part:&lt;br /&gt;
# Choose Enable for Network flash over Lan&lt;br /&gt;
&lt;br /&gt;
* Second, download the newest version of BIOS update and ECP update &lt;br /&gt;
Running: The program extract all files to the folder. There is a .img file (1QUJ19US.IMG, 1QUJ08US.IMG) in each folder.&lt;br /&gt;
Copy the imformation content in that img file and paste it to one FAT partition(using winimage or TotalCmd to extract) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
as seen All files in 1QUJ19US.IMG is extracted to D:\BIOS&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
695,764  $018E000.FL1&lt;br /&gt;
163      0691.HSH&lt;br /&gt;
2,049    0691.PAT&lt;br /&gt;
163      0694.HSH&lt;br /&gt;
2,049    0694.PAT&lt;br /&gt;
163      0695.HSH&lt;br /&gt;
2,049    0695.PAT&lt;br /&gt;
2,049    06D0.PAT&lt;br /&gt;
163      06D1.HSH&lt;br /&gt;
2,049    06D1.PAT&lt;br /&gt;
163      06D2.HSH&lt;br /&gt;
2,049    06D2.PAT&lt;br /&gt;
163      06D6.HSH&lt;br /&gt;
2,049    06D6.PAT&lt;br /&gt;
2,049    06D8.PAT&lt;br /&gt;
697      CHKBMP.EXE&lt;br /&gt;
8,128    COMMAND.COM&lt;br /&gt;
26       CONFIG.SYS&lt;br /&gt;
24,860   FLASH2.EXE&lt;br /&gt;
26       LCREFLSH.BAT&lt;br /&gt;
170      LOGO.BAT&lt;br /&gt;
330      LOGO.SCR&lt;br /&gt;
111,925  PHLASH16.EXE&lt;br /&gt;
91,648   PREPARE.EXE&lt;br /&gt;
45       PROD.DAT&lt;br /&gt;
22,252   QKFLASH.EXE&lt;br /&gt;
9,923    README.TXT&lt;br /&gt;
4,260    TPCHKS.EXE&lt;br /&gt;
39,666   UPDTFLSH.EXE&lt;br /&gt;
6,958    UPDTMN.EXE&lt;br /&gt;
12,501   USERINT.EXE&lt;br /&gt;
15,254   UTILINFO.EXE&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And all files in 1QUJ08US.IMG are: D:\ECP&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
315,404 $018E000.FL2&lt;br /&gt;
8,000   COMMAND.COM&lt;br /&gt;
36      CONFIG.SYS&lt;br /&gt;
16,910  ECFLASH2.EXE&lt;br /&gt;
45      PROD.DAT&lt;br /&gt;
17,812  QKFLASH.EXE&lt;br /&gt;
990     README.TXT&lt;br /&gt;
4,260   TPCHKS.EXE&lt;br /&gt;
89,738  UPDTEC.EXE&lt;br /&gt;
31,134  UPDTFLSH.EXE&lt;br /&gt;
12,501  USERINT.EXE&lt;br /&gt;
15,226  UTILINFO.EXE&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Okie, now plug AC Adapter, charge full battery to your laptop and continue third step:&lt;br /&gt;
&lt;br /&gt;
** '''Flash BIOS first,'''&lt;br /&gt;
1. Power On, press blue button on keyboard: '''Access IBM'''&lt;br /&gt;
&lt;br /&gt;
2. On &amp;quot;Utilities&amp;quot;, double click &amp;quot; Diagnostic disk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
3. Your laptop will start PC-DOS, wait when this message appear:&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
Please insert the first floppy diskette and&lt;br /&gt;
Press any key to continue&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Press Ctrl + Break, you will see :&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;Terminate batch job (Y/N) ?&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Okie, press Y, you will get DOS prompt like D:\&lt;br /&gt;
{{NOTE|D:\ is my RAMDISK, C:\ is my disk format as FAT.!}}&lt;br /&gt;
&lt;br /&gt;
6. Enter to c:\BIOS&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
c:&lt;br /&gt;
cd c:\BIOS&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. Run FLASH2.EXE /u $018E000.FL1&lt;br /&gt;
&lt;br /&gt;
8. Wait flash progress compelete and reboot.&lt;br /&gt;
** '''Flash ECP'''&lt;br /&gt;
Follow above instruction from step 1 to 5&lt;br /&gt;
&lt;br /&gt;
6. Enter to c:\ECP&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
c:&lt;br /&gt;
cd c:\ECP&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. run UPDTFLSH.EXE $018E000.FL2&lt;br /&gt;
&lt;br /&gt;
8. Follow UPDTFLSH's instructions&lt;br /&gt;
&lt;br /&gt;
9. Wait flash complete and auto turn off computer.&lt;br /&gt;
&lt;br /&gt;
I done it on my IBM Thinkpad X31.&lt;br /&gt;
&lt;br /&gt;
Enjoy,&lt;br /&gt;
&lt;br /&gt;
Tested by nm.&lt;br /&gt;
&lt;br /&gt;
==Check List==&lt;br /&gt;
&lt;br /&gt;
The following is important to remember:&lt;br /&gt;
# You must update '''both''' the Control Program and the BIOS at the same time if your current Control Program is not compatible with the new BIOS (see below)&lt;br /&gt;
# You must find versions of the Control Program and BIOS that are compatible.  Not all of them are, so follow the readmes on the IBM website carefully to determine which are.&lt;br /&gt;
# You must update the Control Program '''before''' you update the BIOS&lt;br /&gt;
&lt;br /&gt;
When the Control Program '''and''' the BIOS need updating, have both update disks or CDs ready. Update the Control Program first and the system should switch itself off when finished. Insert the BIOS update disk and proceed to update the BIOS. When it's all finished, enter setup, reset the settings to their defaults and reboot. Enter setup again and tweak the settings as necessary.&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=BIOS_Upgrade&amp;diff=33537</id>
		<title>BIOS Upgrade</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=BIOS_Upgrade&amp;diff=33537"/>
		<updated>2007-09-29T08:14:45Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* Making a Bootable CD-ROM from the Non Diskette Updater */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
This page is meant to describe ways to update the BIOS on a ThinkPad that only runs Linux for users that don't have ready access to Windows. If you have Windows on your ThinkPad you can just boot into it and follow instructions on the IBM website.&lt;br /&gt;
&lt;br /&gt;
{{NOTE| In one case ([[APM setup on a type 2379 ThinkPad T40]]) it was not possible to upgrade the BIOS from Windows XP; a downgrade to Windows 98 was required to successfully run the BIOS upgrade app. The symptoms in this case were that, once the files had been extracted to the hard disk, and the machine was to reboot into the upgrade app, it would beep and hang just before reboot, requiring a power cycle. Once the power was cycled, it would simply reboot back into XP without performing any BIOS upgrade actions. So even if you have Windows, you may still need to use the info on this page.}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
==Before You Begin==&lt;br /&gt;
Updating the BIOS in Linux (with few exceptions) '''is not officially supported''' by IBM/Lenovo.  However there are work arounds.&lt;br /&gt;
&lt;br /&gt;
{{WARN|By following any of the instructions here you are accepting the '''very real risk''' of turning your thinkpad into a big expensive paper weight, as a firmware update gone wrong can create unfixable problems.&lt;br /&gt;
&lt;br /&gt;
'''Proceed at your own risk!'''&lt;br /&gt;
&lt;br /&gt;
It is also important to understand that Thinkpads from IBM have two separate firmwares: the BIOS, and the Embedded Controller program.  A given BIOS version will require a certain version of the Embedded Controller program.&lt;br /&gt;
&lt;br /&gt;
The IBM documentation is sometimes unclear about the order in which these two firmwares should be updated.  On most, but not all Thinkpads, '''the correct update order is Embedded Controller program first, and then the BIOS'''.  Make sure to do the two updates immediately one after the other.  Newer models from Lenovo update both the Embedded Controller program and the BIOS at the same time, so you don't have to worry about it.}}&lt;br /&gt;
&lt;br /&gt;
==BIOS Upgrade Paths==&lt;br /&gt;
&lt;br /&gt;
For every firmware (either BIOS or Embedded Controller program) update on the IBM web site there used to be two different firmware update programs provided. The Diskette Updater and the Non Diskette Updater. For newer Lenovo Models the Diskette Updater is replaced with a bootable CD-Image and the Non Diskette Updater is renamed BIOS Update Utility, both of which update the BIOS and the Embedded Controller program at the same time. A list of links to firmware downloads can be found at [[BIOS Upgrade Downloads]] for nearly all Thinkpad Models.&lt;br /&gt;
&lt;br /&gt;
===The Diskette Updater===&lt;br /&gt;
&lt;br /&gt;
The Diskette updater appears to be a 16 bit DOS program which asks you to accept a license agreement.  It will run in Windows, DOS, OS/2, or [http://dosemu.sf.net Dosemu] perfectly, but requires a real floppy disk attached via a real floppy controller.  A USB Floppy Drive will not work.&lt;br /&gt;
&lt;br /&gt;
===The Bootable CD Image===&lt;br /&gt;
&lt;br /&gt;
Newer models from Lenovo can be updated using the Bootable CD Image.  This should be the easiest way for non-Windows users and also maybe a more secure way for Windows users, as well. As the image is provided as a plain ISO-file without any Windows enclosure, you can simply burn it to a CD-R/RW with any modern operating system, as long as you have a CD/DVD-RW Drive and are then able to boot from it.&lt;br /&gt;
&lt;br /&gt;
===Preparing a Bootable CD-ROM Image from the Non Diskette Updater===&lt;br /&gt;
{{WARN|Though this process was successfully tested on one version of .exe files found on IBMs website this doesn't mean it will work for all of them.  Proceed at your own risk.}}&lt;br /&gt;
&lt;br /&gt;
This installer appears to be a 32bit windows .exe which is designed for updating the BIOS directly from a running Windows OS.  It turns out that this .exe is really a wrapper license program around Windows .cab files (see [[How_to_change_the_BIOS_bootsplash_screen|BIOS-Bootsplash]]).  If you install the Linux program [http://freshmeat.net/projects/cabextract/ '''cabextract'''] you can expand these .cab files directly.  Run the following:&lt;br /&gt;
&lt;br /&gt;
:{{cmduser|cabextract FILENAME.exe}}&lt;br /&gt;
&lt;br /&gt;
This will extract 8 files in the current directory.  One of them will be FILENAME.img.  In this discussion, &amp;quot;FILENAME&amp;quot; represents the name of the Non Diskette file that you downloaded, such as &amp;quot;1NHJ04US&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
You can test that this is really a floppy image by running:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|mkdir mntfloppy}}&lt;br /&gt;
:{{cmdroot|mount -o loop FILENAME.img mntfloppy}}&lt;br /&gt;
:{{cmdroot|ls -la mntfloppy}}&lt;br /&gt;
&lt;br /&gt;
If the results of {{cmdroot|ls -la mntfloppy}} look like a dos floppy, and no read errors were displayed, you have a pretty good chance that the floppy image is usable.&lt;br /&gt;
&lt;br /&gt;
Unmount the image after you are done:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|umount mntfloppy}}&lt;br /&gt;
&lt;br /&gt;
Now, you can proceed to [[Creating a Bootable CD from a Floppy Image]].&lt;br /&gt;
&lt;br /&gt;
== Updating Thinkpad X Series ==&lt;br /&gt;
&lt;br /&gt;
X Series Thinkpads do not have an internal drive. If there is no Windows installed, the BIOS must be updated by booting from an USB drive or a drive that is integrated in the docking station. Since a while Lenovo provides BIOS updates in form of bootable CD images. Unfortunately, these images are intended to be used with the docking station's CD drive. If you do not own such a drive, things get complicated.&lt;br /&gt;
&lt;br /&gt;
The problem is that current BIOS updates are quite large, about 3 MB in size. Booting from CDs typically works like booting from a 1.44 MB or 2.88 MB floppy disk. The floppy image is stored on the CD and is referenced in the CD's boot record. Because the BIOS update file are that large, they do not fit on such a floppy image. Thus, they must be stored on the CD outside the virtual floppy image. To access these files a driver for the CD drive has to be loaded. Since Lenovo's CD images are intended to be used with a docking station's CD drive, it is not possible to use them for BIOS updates by booting from an USB CD drive.&lt;br /&gt;
&lt;br /&gt;
But there is hope. The CD images provided by Lenovo can be modified such that they contain drivers for USB CD drives. I tested the following with a Thinkpad {{X60s}}.&lt;br /&gt;
&lt;br /&gt;
The idea is to take Lenovo's ISO CD image and modify it such that a USB CD drive can be used instead the CD drive in the docking station. Unfortunately, simply replacing the drivers is not enough. While doing the BIOS update, the USB ports seem to get disabled or something. Therefore, before starting the update process the CD contents have to be copied to a RAM disk. I will describe the procedure step by step.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Download the ISO image style BIOS update from Lenovo's website. This file will be refered to as &amp;lt;tt&amp;gt;/tmp/bios-lenovo.iso&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Extract the floppy image from this ISO image. You can use the following shell script for this task (or an alternative one from [http://userpages.uni-koblenz.de/~krienke/ftp/noarch/geteltorito/]). Simply save this code into the file &amp;lt;tt&amp;gt;/tmp/extractbootimage.sh&amp;lt;/tt&amp;gt;, set the x-flag (&amp;lt;tt&amp;gt;chmod +x /tmp/extractbootimage.sh&amp;lt;/tt&amp;gt;) and call it using the command &amp;lt;tt&amp;gt;/tmp/extractbootimage.sh /tmp/bios-lenovo.iso /tmp/bios-lenovo.img&amp;lt;/tt&amp;gt;. The floppy image contained in the ISO image will then be saved to &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img&amp;lt;/tt&amp;gt;. Here is the code of the shell script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# This script extracts the floopy boot image from bootable ISO images&lt;br /&gt;
#&lt;br /&gt;
# Written by Joachim Selke (mail@joachim-selke.de), 2007-04-07&lt;br /&gt;
&lt;br /&gt;
ISOFILE=$1&lt;br /&gt;
IMAGEFILE=$2&lt;br /&gt;
&lt;br /&gt;
if [ ! -r $ISOFILE ]; then&lt;br /&gt;
        echo $ISOFILE: file does not exist or is not readable&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ -z $IMAGEFILE ]; then&lt;br /&gt;
        echo Error: no image file specified&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
ISOFILESIZE=`stat -c %s $ISOFILE`&lt;br /&gt;
&lt;br /&gt;
# collect El Torito data&lt;br /&gt;
# see http://www.phoenix.com/NR/rdonlyres/98D3219C-9CC9-4DF5-B496-A286D893E36A/0/specscdrom.pdf for reference&lt;br /&gt;
&lt;br /&gt;
BOOTCATALOGPOINTERBYTE=$((17 * 0x800 + 0x47))&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $(($BOOTCATALOGPOINTERBYTE + 4)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# absolute pointer to first sector of boot catalog:&lt;br /&gt;
BOOTCATALOG=`od -A n -t x4 -N 4 -j $BOOTCATALOGPOINTERBYTE $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
BOOTCATALOGBYTE=$((0x$BOOTCATALOG * 0x800))&lt;br /&gt;
&lt;br /&gt;
echo Boot catalog starts at byte $BOOTCATALOGBYTE&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $(($BOOTCATALOGBYTE + 32 + 2)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# media type of boot image&lt;br /&gt;
# only floppy disk images are supported by this script&lt;br /&gt;
BOOTMEDIATYPE=`od -A n -t x1 -N 1 -j $(($BOOTCATALOGBYTE + 32 + 1)) $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
if [ $BOOTMEDIATYPE -eq 1 ]; then&lt;br /&gt;
        echo Boot media type is 1.2M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((1200 / 2))&lt;br /&gt;
elif [ $BOOTMEDIATYPE -eq 2 ]; then&lt;br /&gt;
        echo Boot media type is 1.44M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((1440 / 2))&lt;br /&gt;
elif [ $BOOTMEDIATYPE -eq 3 ]; then&lt;br /&gt;
        echo Boot media type is 2.88M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((2880 / 2))&lt;br /&gt;
else&lt;br /&gt;
        echo Boot media type is $((0x$BOOTMEDIATYPE)). This type is not supported yet.&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# absolute pointer to start of boot image&lt;br /&gt;
BOOTIMAGE=`od -A n -t x4 -N 4 -j $(($BOOTCATALOGBYTE + 32 + 8)) $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
BOOTIMAGEBYTE=$((0x$BOOTIMAGE * 0x800))&lt;br /&gt;
&lt;br /&gt;
echo Boot image starts at byte $BOOTIMAGEBYTE&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $((0x$BOOTIMAGE * 0x800 + $IMAGEBLOCKS * 0x800)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
echo Extracting boot image ...&lt;br /&gt;
&lt;br /&gt;
dd if=$ISOFILE of=$IMAGEFILE bs=2K count=$IMAGEBLOCKS skip=$((0x$BOOTIMAGE))&lt;br /&gt;
&lt;br /&gt;
echo Finished&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Mount the floppy image '''as root''' using the loop device:&lt;br /&gt;
:{{cmdroot|mkdir /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
:{{cmdroot|mount -o loop /tmp/bios-lenovo.img /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
The image is now mounted as &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Download needed drivers. First download some [http://panasonic.co.jp/pcc/products/drive/other/driver/f2h_usb.exe USB drivers] from Panasonic Japan. Save the file to &amp;lt;tt&amp;gt;/tmp/f2h_usb.exe&amp;lt;/tt&amp;gt; This file is a self-extracting EXE file, that can be executed under Linux using [http://www.winehq.com/ Wine]:&lt;br /&gt;
:{{cmduser|wine /tmp/f2h_usb.exe}}&lt;br /&gt;
You will be asked where to save the extracted files. Choose &amp;lt;tt&amp;gt;/tmp&amp;lt;/tt&amp;gt;. A new directory &amp;lt;tt&amp;gt;/tmp/F2h&amp;lt;/tt&amp;gt; containing the needed drivers will be created.&lt;br /&gt;
&lt;br /&gt;
Additionally, you will need drivers for the RAM disk mentioned. Download them from the [http://sourceforge.net/projects/srdisk ReSizeable RAMDisk project]. Unzip them to &amp;lt;tt&amp;gt;/tmp/srdisk&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Let's modify the floppy image:&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/Usbaspi.sys /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/USBCD.SYS /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/RAMFD.SYS /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/srdisk/srdxms.sys /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/srdisk/srdisk.exe /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
Now add the following lines to &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt/config.sys&amp;lt;/tt&amp;gt; replacing the line &amp;lt;tt&amp;gt;DEVICE = A:\IBMTPCD.SYS /R /C&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DEVICE = A:\SRDXMS.SYS&lt;br /&gt;
DEVICE = A:\RAMFD.SYS&lt;br /&gt;
DEVICE = A:\USBASPI.SYS /V&lt;br /&gt;
DEVICE = A:\USBCD.SYS /D:TPCD001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Finally, edit the file &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt/autoexec.bat&amp;lt;/tt&amp;gt; replacing the last line (saying &amp;lt;tt&amp;gt;COMMAND.COM&amp;lt;/tt&amp;gt;) by the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A:\SRDISK 10000&lt;br /&gt;
COPY *.* D:&lt;br /&gt;
D:&lt;br /&gt;
COMMAND.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Maybe the RAM disk gets a drive letter different from D: on your system. In this case, you have to change the above lines accordingly.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Unmount the floppy image (as root):&lt;br /&gt;
:{{cmdroot|umount /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Copy the content of the original CD image to a new directory and create a new ISO file:&lt;br /&gt;
:{{cmdroot|mkdir /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmdroot|mount -o loop /tmp/bios-lenovo.iso /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmduser|mkdir /tmp/bios-new.iso-mnt}}&lt;br /&gt;
:{{cmduser|cp /tmp/bios-lenovo.iso-mnt/* /tmp/bios-new.iso-mnt}}&lt;br /&gt;
:{{cmduser|cp /tmp/bios-lenovo.img /tmp/bios-new.iso-mnt/boot.img}}&lt;br /&gt;
:{{cmdroot|umount /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmduser|mkisofs -relaxed-filenames -b boot.img -o /tmp/bios-new.iso /tmp/bios-new.iso-mnt/}}&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
The file &amp;lt;tt&amp;gt;/tmp/bios-new.iso&amp;lt;/tt&amp;gt; is the modified ISO file. Just burn it to CD and use this CD for updating your BIOS (boot from it using your USB drive). Please give some comments here if it worked for you.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alternative method using a USB stick===&lt;br /&gt;
&lt;br /&gt;
''Note: none of the above methods worked on my X60s.  This method worked for me, however.'' [[User:PhilipPaeps|PhilipPaeps]] 16:41, 24 August 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
This method was surprisingly painless once I convinced my ThinkPad X60s to boot DOS from a USB stick.  I used VMWare and some mystical tool to get DOS on the stick.  If you can find another way to get a bootable DOS stick, please update this section!&lt;br /&gt;
&lt;br /&gt;
* Tell VMWare to create a virtual floppy image for you and format it under Microsoft Windows and tell it to create a system disk.  You can do this by clicking into &amp;quot;My Computer&amp;quot;, then right-clicking on the &amp;quot;Floppy&amp;quot; icon and selecting &amp;quot;Format&amp;quot;.  In the box that pops up, you need to check the box that says &amp;quot;Create an MS-DOS startup disk&amp;quot; and then click &amp;quot;Start&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* When you've done that, get this tool: http://www.techpowerup.com/downloads/330/mirrors.php and install it.  The tool is apparantly something HP once wrote, but I have been unable to find a link to it anywhere on the HP website.&lt;br /&gt;
&lt;br /&gt;
* In a command prompt again: &amp;lt;code&amp;gt;C:\DriveKey\HPUSBF.EXE E: -Q -B:A:\&amp;lt;/code&amp;gt;, replacing the &amp;lt;code&amp;gt;E:&amp;lt;/code&amp;gt; with the &amp;quot;drive letter&amp;quot; associated with your USB stick (you can find this letter in &amp;quot;My Computer&amp;quot; under &amp;quot;Removable Storage&amp;quot;).  '''WARNING:''' this wipes anything on the USB stick.  You will end up with a USB stick which appears empty at this point, but there is DOS on it somewhere.&lt;br /&gt;
&lt;br /&gt;
* Now mount the BIOS update ISO image from Lenovo as a virtual CDROM using VMWare again and copy the files from it to the USB stick: &amp;lt;code&amp;gt;copy D:\*.* E:\&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
At this point, you may want to fiddle with the splash image, as described elsewhere on ThinkWiki.&lt;br /&gt;
&lt;br /&gt;
* Reboot and press F12, tell the BIOS to boot from your USB stick.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd flash&amp;lt;/code&amp;gt; ; &amp;lt;code&amp;gt;updtflsh.exe&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Think happy thoughts.  The ThinkPad will beep quite ominously (and loudly!) a couple of times.  Do not let this worry you too much.  After about three minutes, the program will ask you to press enter to restart and hopefully all will be well.&lt;br /&gt;
&lt;br /&gt;
===Comments===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
I have followed your excellent instructions. The CD booted, the update program ran but stopped working and responding while updating. Luckily the BIOS was not destroyed. Since destroying the BIOS is a very high risk, I am going to recover the original Windows on an old HD and will run the update exe update program from there.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
I followed these clear instructions, and like the comment above I ended up with a CD that booted but the update program stopped working and responding.  An ALT-CTRL-DELETE rebooted my x60s, and it works so the BIOS must not have been damaged.  I was trying to upgrade from version 2.08 to 2.11, I wonder if these instructions are somehow particular to certain versions?  &lt;br /&gt;
[[User:Latch|Latch]] 01:22, 14 June 2007 (UTC)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
After following the above instructions, the program also stopped working while updating the BIOS. But after changing the drive letter from D: to C: (see code below), it everything worked fine. However, I had some trouble figuring out, which letter to choose over D: at first, as the BIOS Upgrade program started right away.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A:\SRDISK 10000&lt;br /&gt;
COPY *.* C:&lt;br /&gt;
C:&lt;br /&gt;
COMMAND.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[User:Mtx|Mtx]], 1 August 2007, Thinkpad X61s&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Flashing the bios (2.12) works for me on a X60s (using drive c). Using the DVD-R on an USB-Hub did not work.&amp;lt;br&amp;gt; [[User:Ra|Ra]] 00:15, 21 August 2007 (UTC)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Updating via CD/DVD Drive==&lt;br /&gt;
&lt;br /&gt;
The whole thing gets more complicated if you neither have Windows nor a floppy drive installed. This is what this page is intended to describe.&lt;br /&gt;
&lt;br /&gt;
Another possibility which works even without a CD-drive or network is to boot the disk image via the grub initrd mechanism.&lt;br /&gt;
&lt;br /&gt;
Be aware that IBM officially does '''not''' support this! The official statement to my support request was:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I'm afraid we only support the options listed on our web page and no you&lt;br /&gt;
can't burn a CD/DVD, however you can try to use an external USB FDD&lt;br /&gt;
(floppy) drive. The experts recommend a IBM USB FDD, however they have also&lt;br /&gt;
tested it with a Sony USB FDD drive.&lt;br /&gt;
&lt;br /&gt;
In order to make sure the drive is recognised you can boot up the FDD with&lt;br /&gt;
a bootable dos diskette for w98&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But it seems to be possible as Mathias Dalheimer describes this [http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/1998-January/009743.html here].&lt;br /&gt;
&lt;br /&gt;
Another indication that it should work is that IBM uses PHLASH16.EXE (at least on T4x/p systems) to flash the BIOS into the chip. The same tool is used by [http://www.samsungpc.com/gb/support/p35/bios/bios-instructions.html other vendors] to flash the BIOS from bootable CD-ROMs.&lt;br /&gt;
{{WARN|Do '''not''' use the [http://syslinux.zytor.com/ SYSLINUX] image-loader [http://syslinux.zytor.com/memdisk.php MEMDISK] to boot the images! Some flash tools crash in that situation!}}&lt;br /&gt;
&lt;br /&gt;
Some interesting but very technical information about the used flash tool can be found [http://www.paul.sladen.org/thinkpad-r31/wifi-card-pci-ids.html here].&lt;br /&gt;
&lt;br /&gt;
===Creating a Floppy Image===&lt;br /&gt;
If you have created a boot floppy on another machine, you need to create an image file of that floppy. This can be easily done in linux by running a command line:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|1=dd bs=2x80x18b if=/dev/fd0 of=/tmp/floppy.img}}&lt;br /&gt;
&lt;br /&gt;
You can also create a floppy image by using Ken Kato's [http://chitchat.at.infoseek.co.jp/vmware/vfd.html VMware's back]. It is a free Windoze tool that creates a virtual floppy drive and allows you to produce an image file ready to be ISO'ed. Note: you might have to 'manually' (through application's interface) assign the virtual drive a volume letter in order to be seen by IBM's application (as, by default, it seems not to do it).&lt;br /&gt;
&lt;br /&gt;
You should verify this {{path|floppy.img}} as explained above.&lt;br /&gt;
&lt;br /&gt;
===Creating a Bootable CD from a Floppy Image===&lt;br /&gt;
Once you have your floppy image, either from imaging a real floppy, or from extracting them via the cabextract method above, you need to make a boot CD out of it.&lt;br /&gt;
&lt;br /&gt;
The eltorito bootable CD standard is a wonderful thing.  What this means is that a bootable CD can be made with a bootable floppy in such as way that the CD believes that it is a 2.88 MB floppy drive.  This allows you to replace a boot floppy by a boot CD in nearly all situations.&lt;br /&gt;
&lt;br /&gt;
It is very easy to create such a bootable CD ISO image in Linux using the mkisofs tool.  To do this run a command as follows:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|mkisofs -b bootfloppy.img -o bootcd.iso bootfloppy.img}}&lt;br /&gt;
&lt;br /&gt;
Note: This creates a CD with one file on it and marks that file as the boot image.  For more info on this read {{cmduser|man mkisofs}}.&lt;br /&gt;
&lt;br /&gt;
You can now burn the {{path|bootcd.iso}} in your favorite CD burning program.&lt;br /&gt;
&lt;br /&gt;
To get an overview which models have been tested with this version, here is a list:&lt;br /&gt;
&lt;br /&gt;
===Does work:===&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
| '''Model''' || '''Tested by'''&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600E}} (2645-4AU) ||&lt;br /&gt;
*George Tellalov &amp;lt;gtellalov_dontspamme@bigfoot.com&amp;gt;. BIOS 1.16 from spsdin36.exe worked perfectly with the method bootable cd from floppy image. I highly recommend this upgrade because it made my ibm-acpi module load (it wouldn't load before) and fixed some suspend to ram problems. Here's the [http://george.tellalov.info/bios_upgrade_600e_spsdin36.iso cd image] I used. Use at your own risk. You can send me a chocolate if it works for you ;)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600E}} (2645-5bU) ||&lt;br /&gt;
*Mike Vincent&amp;lt;matchstc-putobvioushere.com&amp;gt;. Bios 1.16 from spsdin36.exe and then to the boot cd worked great for me. Thought I had bricked it three separate times using a &amp;quot;real&amp;quot; floppy! Each from different diskettes .The updater would start, give me the &amp;quot;going to take30 seconds&amp;quot; speech...and then access the HD for 10 minutes. Each time it would reboot fine. Did the cd as described above...worked great first time. Perhaps 10 year old seldom used floppy disc drives have some challenges?&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600X}} (2645) ||&lt;br /&gt;
*Jonathan Byrne &amp;lt;jonathan@RemoveThisToMailMe.yamame.org&amp;gt;. BIOS 1.11 from spsuit55.exe worked perfectly using cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600X}} (2645) ||&lt;br /&gt;
*Andy Barnes &amp;lt;andy@RemoveThisToMailMe.itchypaws.co.uk&amp;gt;. As per Jonathan above, extracted BIOS 1.11 from spsuit55.exe using cabextract, created a CD boot image and burnt to CD.  Worked flawlessly - thanks to everyone who contributed to this article!&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A20p}} (2629-6VU) ||&lt;br /&gt;
*Chris Pickett http://www.sable.mcgill.ca/~cpicke/. BIOS 1.11 flashed fine with cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A21e}} (2628-JXU) ||&lt;br /&gt;
*Amit Gurdasani &amp;lt;gurdasani at yahoo dot com&amp;gt;. BIOS 1.13 flashed fine with cabextract/CD method. Alarmingly, after the BIOS update, the laptop beeped but did not shut down as was indicated onscreen -- that was frozen on the &amp;quot;do not shut down the laptop&amp;quot; screen. On power down and up again, the BIOS setup showed the newer BIOS image running, and Linux booted up fine. Linux ACPI didn't complain about the BIOS being too old either.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A31p}} (2653) ||&lt;br /&gt;
*Matthias Meinke largeeddy@gmx.at, BIOS 1.09 1NET15WW flashed fine with cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A31}} (2652) ||&lt;br /&gt;
*[[User:Wnoise|Aaron Denney]], BIOS 1.13 flashed fine with cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{R30}}  ||&lt;br /&gt;
*Jarrod, 30 August 2007, Thinkpad R30 Type 2656-E0M. BIOS updated to 1.40 (1CETF0WW) using floppy disk/mkisofs/cdrecord. Worked fine, no problems. &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{R31}} ||&lt;br /&gt;
*[http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/1998-January/009743.html Mathias Dalheimer]&lt;br /&gt;
*Sebastian Sauer (with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R40}} ||&lt;br /&gt;
*Matthew Lambie, http://lambie.org&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R50}} (1836-3SU) ||&lt;br /&gt;
*jlbartos &amp;lt;jlbartos at hotmail dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R50e}} (1834-PTG) ||&lt;br /&gt;
*item &amp;lt;item at freemail dot hu&amp;gt; : successfully finished with cabextract/CD method for &amp;quot;1wuj25us.exe&amp;quot; (BIOS version 1WET90WW (2.10), Release Date: 2006/12/22)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (1829) ||&lt;br /&gt;
*Robert Uhl &amp;lt;rob dot uhl at gmx dot de&amp;gt;, Jellby &amp;lt;jellby at yahoo dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (1830-RM7) ||&lt;br /&gt;
*Will Parker &amp;lt;stardotstar at sourcepoint dot com dot au&amp;gt; successfully flashed 3.20 using existing 3.04 ECP and retained custom boot splash.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (2887) ||&lt;br /&gt;
*Ingo van Lil &amp;lt;inguin at gmx dot de&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R52}} (1858) ||&lt;br /&gt;
*Stuart McCord &amp;lt;stuart dot mccord at gmail dot com&amp;gt;  flashed both BIOS and ECP using cabextract, BIOS flashed first as on IBM website&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T20}} ||&lt;br /&gt;
*Franz Hassels &amp;lt;fhassel at suse dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T22}} ||&lt;br /&gt;
*Daniel Maier &amp;lt;nusse teamidiot de&amp;gt;&lt;br /&gt;
*Mathias Behrle (with cabextract/CD method, Version 1.07 =&amp;gt; 1.12) --[[User:Mathiasb|Mathiasb]] 11:58, 14 December 2006 (CET)&lt;br /&gt;
*Bob Skaroff (cabextract/CD), 1.06 =&amp;gt; 1.12&lt;br /&gt;
*Leo Butler (cabextract/CD), 1.11 =&amp;gt; 1.12 &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T23}} ||&lt;br /&gt;
*Bart Snapp &amp;lt;snapp at uiuc dot edu&amp;gt; Note: I followed IBM's instructions to flash the BIOS *first* and the Embedded Controller *second*.&lt;br /&gt;
*Moy Easwaran: BIOS 1.18 / EC 1.06a via cabextract and CD-boot.  The BIOS-update exe generated errors in Windows 2000.&lt;br /&gt;
*Joe Renes: BIOS 1.18 / EC 1.06a on 2006-03-20 via cabextract and CD-boot. Piece of cake.&lt;br /&gt;
*Raphael Errani: BIOS 1.20 / EC 1.06a on 2006-11-06 via cabextract and CD-boot (using mkisofs). Worked without errors. 1st Bios, 2nd EC&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T30}} ||&lt;br /&gt;
*Martin GÃ¼hring &amp;lt;guehring at gmail.com&amp;gt; BIOS 2.10 via cabextract the Non-Diskette BIOS -&amp;gt; mkisofs '''in the directory the exe was extracted''' to generate the iso -&amp;gt; burn the iso -&amp;gt; boot the CD&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{T40}} ||&lt;br /&gt;
*Sean Dague, http://dague.net&lt;br /&gt;
*Justin Mason, http://jmason.org&lt;br /&gt;
*Ivanhoe (Bios 3.19)&lt;br /&gt;
*Alessandro Raulino (roger_2) EC 3.04 &amp;amp; BIOS 3.23 flashed with cabextract/CD method&lt;br /&gt;
*Nick Jenkins, using BIOS 3.23 with the [[#The_Non_Diskette_Updater|Non-diskette updater + cabextract method]], then [[#Creating_a_Bootable_CD_from_a_Floppy_Image|created a bootable CD from the cabextracted .IMG file]], then boot that ISO, and it worked great!&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T40p}} ||&lt;br /&gt;
*Lukas KrÃ¤henbÃ¼hl, ismo at pop dot agri dot ch&lt;br /&gt;
*Thomas Achtemichuk, tom at tomchuk dot com. BIOS 3.15 flashed fine with cabextract/CD method&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{T41}} ||&lt;br /&gt;
*Lev Givon (Bios 3.15 / EC 3.04) &amp;lt;lev at columbia dot edu&amp;gt;&lt;br /&gt;
*Ernesto HernÃ¡ndez-Novich (Bios 3.19 / CP 3.04) &amp;lt; emhn at usb dot ve &amp;gt;&lt;br /&gt;
*[http://maebmij.org James Ballantine] (Bios 3.21 / CP 3.04) using nondisk/cabextract/CDRW&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T41p}} ||&lt;br /&gt;
*Nils Newman, work great. (Version: Bios 3.14 / Embedded Controller 3.04)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T42}} ||&lt;br /&gt;
*Dan (BIOS 3.20 / EC 3.04, cabextract/CD method) &amp;lt;tronic171 at evilphb.org&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T42p}} ||&lt;br /&gt;
*Robert Schiele &amp;lt;rschiele@uni-mannheim.de&amp;gt;, Joern Heissler &amp;lt;joern@heissler.de&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T43}}  ||&lt;br /&gt;
*Conrad Rentsch &amp;lt;Conrad dot Rentsch at t-online dot de&amp;gt; (Version: Bios 1.29 / Embedded Controller 1.06)&lt;br /&gt;
*Tom Heady &amp;lt;tom-thinkwiki.org@punch.net&amp;gt;&lt;br /&gt;
*Florian Boucault &amp;lt;florian at boucault dot ath dot cx&amp;gt; (Model : 1871-W34 &amp;amp; Version: Bios 1.23 / Embedded Controller 1.03)&lt;br /&gt;
*Till Heikamp &amp;lt;t dot heikamp at geniusbytes dot com&amp;gt; (Model 2886, Bios 1.22 to 1.29, Embedded Controller 1.03 to 1.06)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T60}}  ||&lt;br /&gt;
*Roman Komkov &amp;lt;roman  at komkov dot org dot ru&amp;gt; (Model 1951, Bios 1.07 to 2.13) Successfully upgraded from CD Image&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X20}}  ||&lt;br /&gt;
*Neil Caunt &amp;lt;retardis at gmail dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X21}}  ||&lt;br /&gt;
*Patrick Leickner &amp;lt;ranma at web dot de&amp;gt;, (BIOS 2.21-&amp;gt;2.25 / EC 1.31-&amp;gt;1.36) via non-disk/cabextract/mkisofs/cdrecord&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X22}}  ||&lt;br /&gt;
*David Emery &amp;lt;dave at skiddlydee dot com&amp;gt;,  (EC 1.30, BIOS 1.32 using non-disk/cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X23}}  ||&lt;br /&gt;
*Nils Faerber &amp;lt;nils dot faerber at kernelconcepts dot de&amp;gt; (Embedded Controller 1.30, BIOS 1.32 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X30}}  ||&lt;br /&gt;
*Hella Breitkopf, [http://www.unixwitch.de/ www]  (Embedded Controller 1.04, BIOS 1.07 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X31}}  ||&lt;br /&gt;
*Grzegorz KuÅ›nierz &amp;lt;koniu at sheket dot org&amp;gt;  (Embedded Controller 1.08, BIOS 3.01 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X40}}  ||&lt;br /&gt;
*Robbie Stone &amp;lt;robbie@serendipity.cx&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{Z60m}}  ||&lt;br /&gt;
*[[User:Morle|Morle]] 13:09, 20 May 2006 (CEST),  (Embedded Controller 1.14 with cabextract/CD method)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Does not work:===&lt;br /&gt;
{|&lt;br /&gt;
| '''Model''' || '''Tested by'''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Please note that testing this is '''at your own risk'''!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Updating via Grub and a Floppy Image==&lt;br /&gt;
&lt;br /&gt;
{{WARN|Many have warned '''not''' to use the [http://syslinux.zytor.com/ SYSLINUX] image-loader [http://syslinux.zytor.com/memdisk.php MEMDISK] to boot the images! Some flash tools may crash in that situation!  Proceed at your own risk!}}&lt;br /&gt;
&lt;br /&gt;
Floppy images may be booted from Grub via a utility called [http://syslinux.zytor.com/memdisk.php MEMDISK], which may be compiled from the [http://www.kernel.org/pub/linux/utils/boot/syslinux/ '''SYSLINUX source'''].  Copy the compiled memdisk image and the floppy image to your boot directory and configure grub as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
title     Bios Flash&lt;br /&gt;
kernel    /boot/memdisk&lt;br /&gt;
initrd    /boot/FILENAME.img&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, proceed at your own risk.  This was tested on an R51 type 2888.&lt;br /&gt;
&lt;br /&gt;
This also worked for me on a T41p type 2373. -- [[User:MrStaticVoid|James Lee]] 20:55, 8 May 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
And it worked for me on a X31 type 2673-CBU. -- [[User:JanTopinski|Jan Topinski]], 18 September 2006 &lt;br /&gt;
&lt;br /&gt;
And it worked for me too on a X31 type 2672-CXU, very useful. -- [[User:TheAnarcat|TheAnarcat]] 16:21, 7 March 2007 (CET)&lt;br /&gt;
&lt;br /&gt;
Same here (worked) on a X31 type 2673-58G --[[User:FaUl|FaUl]] 15:53, 20 June 2007 (UTC)FaUl&lt;br /&gt;
&lt;br /&gt;
Works well on a X31 type 2672-PG9, but with a big moment between starting update and the updating window -- [[User:Starox|Starox]] 22 Jul 2007&lt;br /&gt;
&lt;br /&gt;
And it worked for me on two X40 type 2371 -- [[User:Antialize|Jakob Truelsen]], 19 Jan 2007 -- BIOS: 2.07 1uuj21us.exe -- ECP: 1.62 1uhj10us.exe&lt;br /&gt;
&lt;br /&gt;
Not working for me on T43 type 2668-F7G -- [[User:Maus3273|Maus3273]] 20:48, 30 January 2007 (CET) -- BIOS: 1.29 1YUJ18US.IMG -- I got into the bios program, but the machine never restarts after initiating the upgrade.&lt;br /&gt;
&lt;br /&gt;
X41 type 2525-F8G -- [[User:ladoga|Lauri Koponen]], 11:08 16 Apr 2007&amp;lt;br&amp;gt; &lt;br /&gt;
BIOS: 2.09 (74UJ15US.IMG), is no go. (hangs while initialising the actual flashing process) I tried with 2.07 (74UJ13US.IMG) and 2.06 (74UJ12US.IMG) aswell and they all failed in the very same fashion.&amp;lt;br&amp;gt;&lt;br /&gt;
ECP: 1.02 74HJ03US.IMG, works.&lt;br /&gt;
&lt;br /&gt;
It works fine on R30 type 2656-64g, BIOS v.1.40 -- [[User:english.voodoo|Yuri Spirin]], 10 May 2007.&lt;br /&gt;
&lt;br /&gt;
==Updating with Network Boot Image==&lt;br /&gt;
&lt;br /&gt;
BIOS, Embedded Controller (EC), CD/DVD and Harddisk firmware disks can be booted&lt;br /&gt;
over the network with [http://syslinux.zytor.com/pxe.php PXELINUX] as part of the [http://syslinux.zytor.com/ SYSLINUX] package.&lt;br /&gt;
&lt;br /&gt;
This requires that you have a DHCP and tftp server configured and setup properly on&lt;br /&gt;
your network, and is probably not for the faint of heart.&lt;br /&gt;
&lt;br /&gt;
Make sure the firmware bootdisk is in linux 'dd' format, as the self-extracting .exe disks&lt;br /&gt;
from the IBM website cannot be booted directly as such.&lt;br /&gt;
&lt;br /&gt;
This worked on the {{R31}}, {{X22}}, {{T21}}, {{T30}} and {{T41p}} with various firmware updates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On {{X22}}, works with EC 1.30 but NOT with BIOS 1.32&lt;br /&gt;
&lt;br /&gt;
==Updating via &amp;quot;IBM Predesktop area&amp;quot;, suitable for model X (not have CDROM and floppy)==&lt;br /&gt;
It's so difficult to update BIOS and ECP without cdrom, floppy disk.&lt;br /&gt;
Don't know the reason why I couldn't update BIOS and ECP(1QHJ08US and 1QUJ19US) for my IBM Thinkpad X31.Hmm, may be cause of the dividing partition on my hard disk, that is: 	&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
Primary: ext3, ext3, ntfs&lt;br /&gt;
Extended: Ntsf, fat32&lt;br /&gt;
Bootloader: GRUB&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No problem, you can use this way to do it:&lt;br /&gt;
* First, config in BIOS&lt;br /&gt;
In Security part:&lt;br /&gt;
# Remove all password of Subpervisor and Power on password&lt;br /&gt;
# Set Access IBM Predesktop Area to Normal&lt;br /&gt;
# Choose Enable &amp;quot;Flash BIOS updating by End User&amp;quot; in BIOS update Option.&lt;br /&gt;
&lt;br /&gt;
In Config part:&lt;br /&gt;
# Choose Enable for Network flash over Lan&lt;br /&gt;
&lt;br /&gt;
* Second, download the newest version of BIOS update and ECP update &lt;br /&gt;
Running: The program extract all files to the folder. There is a .img file (1QUJ19US.IMG, 1QUJ08US.IMG) in each folder.&lt;br /&gt;
Copy the imformation content in that img file and paste it to one FAT partition(using winimage or TotalCmd to extract) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
as seen All files in 1QUJ19US.IMG is extracted to D:\BIOS&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
695,764  $018E000.FL1&lt;br /&gt;
163      0691.HSH&lt;br /&gt;
2,049    0691.PAT&lt;br /&gt;
163      0694.HSH&lt;br /&gt;
2,049    0694.PAT&lt;br /&gt;
163      0695.HSH&lt;br /&gt;
2,049    0695.PAT&lt;br /&gt;
2,049    06D0.PAT&lt;br /&gt;
163      06D1.HSH&lt;br /&gt;
2,049    06D1.PAT&lt;br /&gt;
163      06D2.HSH&lt;br /&gt;
2,049    06D2.PAT&lt;br /&gt;
163      06D6.HSH&lt;br /&gt;
2,049    06D6.PAT&lt;br /&gt;
2,049    06D8.PAT&lt;br /&gt;
697      CHKBMP.EXE&lt;br /&gt;
8,128    COMMAND.COM&lt;br /&gt;
26       CONFIG.SYS&lt;br /&gt;
24,860   FLASH2.EXE&lt;br /&gt;
26       LCREFLSH.BAT&lt;br /&gt;
170      LOGO.BAT&lt;br /&gt;
330      LOGO.SCR&lt;br /&gt;
111,925  PHLASH16.EXE&lt;br /&gt;
91,648   PREPARE.EXE&lt;br /&gt;
45       PROD.DAT&lt;br /&gt;
22,252   QKFLASH.EXE&lt;br /&gt;
9,923    README.TXT&lt;br /&gt;
4,260    TPCHKS.EXE&lt;br /&gt;
39,666   UPDTFLSH.EXE&lt;br /&gt;
6,958    UPDTMN.EXE&lt;br /&gt;
12,501   USERINT.EXE&lt;br /&gt;
15,254   UTILINFO.EXE&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And all files in 1QUJ08US.IMG are: D:\ECP&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
315,404 $018E000.FL2&lt;br /&gt;
8,000   COMMAND.COM&lt;br /&gt;
36      CONFIG.SYS&lt;br /&gt;
16,910  ECFLASH2.EXE&lt;br /&gt;
45      PROD.DAT&lt;br /&gt;
17,812  QKFLASH.EXE&lt;br /&gt;
990     README.TXT&lt;br /&gt;
4,260   TPCHKS.EXE&lt;br /&gt;
89,738  UPDTEC.EXE&lt;br /&gt;
31,134  UPDTFLSH.EXE&lt;br /&gt;
12,501  USERINT.EXE&lt;br /&gt;
15,226  UTILINFO.EXE&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Okie, now plug AC Adapter, charge full battery to your laptop and continue third step:&lt;br /&gt;
&lt;br /&gt;
** '''Flash BIOS first,'''&lt;br /&gt;
1. Power On, press blue button on keyboard: '''Access IBM'''&lt;br /&gt;
&lt;br /&gt;
2. On &amp;quot;Utilities&amp;quot;, double click &amp;quot; Diagnostic disk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
3. Your laptop will start PC-DOS, wait when this message appear:&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
Please insert the first floppy diskette and&lt;br /&gt;
Press any key to continue&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Press Ctrl + Break, you will see :&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;Terminate batch job (Y/N) ?&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Okie, press Y, you will get DOS prompt like D:\&lt;br /&gt;
{{NOTE|D:\ is my RAMDISK, C:\ is my disk format as FAT.!}}&lt;br /&gt;
&lt;br /&gt;
6. Enter to c:\BIOS&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
c:&lt;br /&gt;
cd c:\BIOS&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. Run FLASH2.EXE /u $018E000.FL1&lt;br /&gt;
&lt;br /&gt;
8. Wait flash progress compelete and reboot.&lt;br /&gt;
** '''Flash ECP'''&lt;br /&gt;
Follow above instruction from step 1 to 5&lt;br /&gt;
&lt;br /&gt;
6. Enter to c:\ECP&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
c:&lt;br /&gt;
cd c:\ECP&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. run UPDTFLSH.EXE $018E000.FL2&lt;br /&gt;
&lt;br /&gt;
8. Follow UPDTFLSH's instructions&lt;br /&gt;
&lt;br /&gt;
9. Wait flash complete and auto turn off computer.&lt;br /&gt;
&lt;br /&gt;
I done it on my IBM Thinkpad X31.&lt;br /&gt;
&lt;br /&gt;
Enjoy,&lt;br /&gt;
&lt;br /&gt;
Tested by nm.&lt;br /&gt;
&lt;br /&gt;
==Check List==&lt;br /&gt;
&lt;br /&gt;
The following is important to remember:&lt;br /&gt;
# You must update '''both''' the Control Program and the BIOS at the same time if your current Control Program is not compatible with the new BIOS (see below)&lt;br /&gt;
# You must find versions of the Control Program and BIOS that are compatible.  Not all of them are, so follow the readmes on the IBM website carefully to determine which are.&lt;br /&gt;
# You must update the Control Program '''before''' you update the BIOS&lt;br /&gt;
&lt;br /&gt;
When the Control Program '''and''' the BIOS need updating, have both update disks or CDs ready. Update the Control Program first and the system should switch itself off when finished. Insert the BIOS update disk and proceed to update the BIOS. When it's all finished, enter setup, reset the settings to their defaults and reboot. Enter setup again and tweak the settings as necessary.&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=BIOS_Upgrade&amp;diff=33536</id>
		<title>BIOS Upgrade</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=BIOS_Upgrade&amp;diff=33536"/>
		<updated>2007-09-29T08:09:51Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* BIOS Upgrade Paths */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
This page is meant to describe ways to update the BIOS on a ThinkPad that only runs Linux for users that don't have ready access to Windows. If you have Windows on your ThinkPad you can just boot into it and follow instructions on the IBM website.&lt;br /&gt;
&lt;br /&gt;
{{NOTE| In one case ([[APM setup on a type 2379 ThinkPad T40]]) it was not possible to upgrade the BIOS from Windows XP; a downgrade to Windows 98 was required to successfully run the BIOS upgrade app. The symptoms in this case were that, once the files had been extracted to the hard disk, and the machine was to reboot into the upgrade app, it would beep and hang just before reboot, requiring a power cycle. Once the power was cycled, it would simply reboot back into XP without performing any BIOS upgrade actions. So even if you have Windows, you may still need to use the info on this page.}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
==Before You Begin==&lt;br /&gt;
Updating the BIOS in Linux (with few exceptions) '''is not officially supported''' by IBM/Lenovo.  However there are work arounds.&lt;br /&gt;
&lt;br /&gt;
{{WARN|By following any of the instructions here you are accepting the '''very real risk''' of turning your thinkpad into a big expensive paper weight, as a firmware update gone wrong can create unfixable problems.&lt;br /&gt;
&lt;br /&gt;
'''Proceed at your own risk!'''&lt;br /&gt;
&lt;br /&gt;
It is also important to understand that Thinkpads from IBM have two separate firmwares: the BIOS, and the Embedded Controller program.  A given BIOS version will require a certain version of the Embedded Controller program.&lt;br /&gt;
&lt;br /&gt;
The IBM documentation is sometimes unclear about the order in which these two firmwares should be updated.  On most, but not all Thinkpads, '''the correct update order is Embedded Controller program first, and then the BIOS'''.  Make sure to do the two updates immediately one after the other.  Newer models from Lenovo update both the Embedded Controller program and the BIOS at the same time, so you don't have to worry about it.}}&lt;br /&gt;
&lt;br /&gt;
==BIOS Upgrade Paths==&lt;br /&gt;
&lt;br /&gt;
For every firmware (either BIOS or Embedded Controller program) update on the IBM web site there used to be two different firmware update programs provided. The Diskette Updater and the Non Diskette Updater. For newer Lenovo Models the Diskette Updater is replaced with a bootable CD-Image and the Non Diskette Updater is renamed BIOS Update Utility, both of which update the BIOS and the Embedded Controller program at the same time. A list of links to firmware downloads can be found at [[BIOS Upgrade Downloads]] for nearly all Thinkpad Models.&lt;br /&gt;
&lt;br /&gt;
===The Diskette Updater===&lt;br /&gt;
&lt;br /&gt;
The Diskette updater appears to be a 16 bit DOS program which asks you to accept a license agreement.  It will run in Windows, DOS, OS/2, or [http://dosemu.sf.net Dosemu] perfectly, but requires a real floppy disk attached via a real floppy controller.  A USB Floppy Drive will not work.&lt;br /&gt;
&lt;br /&gt;
===The Bootable CD Image===&lt;br /&gt;
&lt;br /&gt;
Newer models from Lenovo can be updated using the Bootable CD Image.  This should be the easiest way for non-Windows users and also maybe a more secure way for Windows users, as well. As the image is provided as a plain ISO-file without any Windows enclosure, you can simply burn it to a CD-R/RW with any modern operating system, as long as you have a CD/DVD-RW Drive and are then able to boot from it.&lt;br /&gt;
&lt;br /&gt;
===Making a Bootable CD-ROM from the Non Diskette Updater===&lt;br /&gt;
{{WARN|Though this process was successfully tested on one version of .exe files found on IBMs website this doesn't mean it will work for all of them.  Proceed at your own risk.}}&lt;br /&gt;
&lt;br /&gt;
This installer appears to be a 32bit windows .exe which is designed for updating the BIOS directly from a running Windows OS.  It turns out that this .exe is really a wrapper license program around Windows .cab files (see [[How_to_change_the_BIOS_bootsplash_screen|BIOS-Bootsplash]]).  If you install the Linux program [http://freshmeat.net/projects/cabextract/ '''cabextract'''] you can expand these .cab files directly.  Run the following:&lt;br /&gt;
&lt;br /&gt;
:{{cmduser|cabextract FILENAME.exe}}&lt;br /&gt;
&lt;br /&gt;
This will extract 8 files in the current directory.  One of them will be FILENAME.img.  In this discussion, &amp;quot;FILENAME&amp;quot; represents the name of the Non Diskette file that you downloaded, such as &amp;quot;1NHJ04US&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
You can test that this is really a floppy image by running:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|mkdir mntfloppy}}&lt;br /&gt;
:{{cmdroot|mount -o loop FILENAME.img mntfloppy}}&lt;br /&gt;
:{{cmdroot|ls -la mntfloppy}}&lt;br /&gt;
&lt;br /&gt;
If the results of {{cmdroot|ls -la mntfloppy}} look like a dos floppy, and no read errors were displayed, you have a pretty good chance that the floppy image is usable.&lt;br /&gt;
&lt;br /&gt;
Unmount the image after you are done:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|umount mntfloppy}}&lt;br /&gt;
&lt;br /&gt;
Now, you can proceed to the&lt;br /&gt;
&lt;br /&gt;
== Updating Thinkpad X Series ==&lt;br /&gt;
&lt;br /&gt;
X Series Thinkpads do not have an internal drive. If there is no Windows installed, the BIOS must be updated by booting from an USB drive or a drive that is integrated in the docking station. Since a while Lenovo provides BIOS updates in form of bootable CD images. Unfortunately, these images are intended to be used with the docking station's CD drive. If you do not own such a drive, things get complicated.&lt;br /&gt;
&lt;br /&gt;
The problem is that current BIOS updates are quite large, about 3 MB in size. Booting from CDs typically works like booting from a 1.44 MB or 2.88 MB floppy disk. The floppy image is stored on the CD and is referenced in the CD's boot record. Because the BIOS update file are that large, they do not fit on such a floppy image. Thus, they must be stored on the CD outside the virtual floppy image. To access these files a driver for the CD drive has to be loaded. Since Lenovo's CD images are intended to be used with a docking station's CD drive, it is not possible to use them for BIOS updates by booting from an USB CD drive.&lt;br /&gt;
&lt;br /&gt;
But there is hope. The CD images provided by Lenovo can be modified such that they contain drivers for USB CD drives. I tested the following with a Thinkpad {{X60s}}.&lt;br /&gt;
&lt;br /&gt;
The idea is to take Lenovo's ISO CD image and modify it such that a USB CD drive can be used instead the CD drive in the docking station. Unfortunately, simply replacing the drivers is not enough. While doing the BIOS update, the USB ports seem to get disabled or something. Therefore, before starting the update process the CD contents have to be copied to a RAM disk. I will describe the procedure step by step.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Download the ISO image style BIOS update from Lenovo's website. This file will be refered to as &amp;lt;tt&amp;gt;/tmp/bios-lenovo.iso&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Extract the floppy image from this ISO image. You can use the following shell script for this task (or an alternative one from [http://userpages.uni-koblenz.de/~krienke/ftp/noarch/geteltorito/]). Simply save this code into the file &amp;lt;tt&amp;gt;/tmp/extractbootimage.sh&amp;lt;/tt&amp;gt;, set the x-flag (&amp;lt;tt&amp;gt;chmod +x /tmp/extractbootimage.sh&amp;lt;/tt&amp;gt;) and call it using the command &amp;lt;tt&amp;gt;/tmp/extractbootimage.sh /tmp/bios-lenovo.iso /tmp/bios-lenovo.img&amp;lt;/tt&amp;gt;. The floppy image contained in the ISO image will then be saved to &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img&amp;lt;/tt&amp;gt;. Here is the code of the shell script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# This script extracts the floopy boot image from bootable ISO images&lt;br /&gt;
#&lt;br /&gt;
# Written by Joachim Selke (mail@joachim-selke.de), 2007-04-07&lt;br /&gt;
&lt;br /&gt;
ISOFILE=$1&lt;br /&gt;
IMAGEFILE=$2&lt;br /&gt;
&lt;br /&gt;
if [ ! -r $ISOFILE ]; then&lt;br /&gt;
        echo $ISOFILE: file does not exist or is not readable&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ -z $IMAGEFILE ]; then&lt;br /&gt;
        echo Error: no image file specified&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
ISOFILESIZE=`stat -c %s $ISOFILE`&lt;br /&gt;
&lt;br /&gt;
# collect El Torito data&lt;br /&gt;
# see http://www.phoenix.com/NR/rdonlyres/98D3219C-9CC9-4DF5-B496-A286D893E36A/0/specscdrom.pdf for reference&lt;br /&gt;
&lt;br /&gt;
BOOTCATALOGPOINTERBYTE=$((17 * 0x800 + 0x47))&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $(($BOOTCATALOGPOINTERBYTE + 4)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# absolute pointer to first sector of boot catalog:&lt;br /&gt;
BOOTCATALOG=`od -A n -t x4 -N 4 -j $BOOTCATALOGPOINTERBYTE $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
BOOTCATALOGBYTE=$((0x$BOOTCATALOG * 0x800))&lt;br /&gt;
&lt;br /&gt;
echo Boot catalog starts at byte $BOOTCATALOGBYTE&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $(($BOOTCATALOGBYTE + 32 + 2)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# media type of boot image&lt;br /&gt;
# only floppy disk images are supported by this script&lt;br /&gt;
BOOTMEDIATYPE=`od -A n -t x1 -N 1 -j $(($BOOTCATALOGBYTE + 32 + 1)) $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
if [ $BOOTMEDIATYPE -eq 1 ]; then&lt;br /&gt;
        echo Boot media type is 1.2M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((1200 / 2))&lt;br /&gt;
elif [ $BOOTMEDIATYPE -eq 2 ]; then&lt;br /&gt;
        echo Boot media type is 1.44M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((1440 / 2))&lt;br /&gt;
elif [ $BOOTMEDIATYPE -eq 3 ]; then&lt;br /&gt;
        echo Boot media type is 2.88M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((2880 / 2))&lt;br /&gt;
else&lt;br /&gt;
        echo Boot media type is $((0x$BOOTMEDIATYPE)). This type is not supported yet.&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# absolute pointer to start of boot image&lt;br /&gt;
BOOTIMAGE=`od -A n -t x4 -N 4 -j $(($BOOTCATALOGBYTE + 32 + 8)) $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
BOOTIMAGEBYTE=$((0x$BOOTIMAGE * 0x800))&lt;br /&gt;
&lt;br /&gt;
echo Boot image starts at byte $BOOTIMAGEBYTE&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $((0x$BOOTIMAGE * 0x800 + $IMAGEBLOCKS * 0x800)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
echo Extracting boot image ...&lt;br /&gt;
&lt;br /&gt;
dd if=$ISOFILE of=$IMAGEFILE bs=2K count=$IMAGEBLOCKS skip=$((0x$BOOTIMAGE))&lt;br /&gt;
&lt;br /&gt;
echo Finished&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Mount the floppy image '''as root''' using the loop device:&lt;br /&gt;
:{{cmdroot|mkdir /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
:{{cmdroot|mount -o loop /tmp/bios-lenovo.img /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
The image is now mounted as &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Download needed drivers. First download some [http://panasonic.co.jp/pcc/products/drive/other/driver/f2h_usb.exe USB drivers] from Panasonic Japan. Save the file to &amp;lt;tt&amp;gt;/tmp/f2h_usb.exe&amp;lt;/tt&amp;gt; This file is a self-extracting EXE file, that can be executed under Linux using [http://www.winehq.com/ Wine]:&lt;br /&gt;
:{{cmduser|wine /tmp/f2h_usb.exe}}&lt;br /&gt;
You will be asked where to save the extracted files. Choose &amp;lt;tt&amp;gt;/tmp&amp;lt;/tt&amp;gt;. A new directory &amp;lt;tt&amp;gt;/tmp/F2h&amp;lt;/tt&amp;gt; containing the needed drivers will be created.&lt;br /&gt;
&lt;br /&gt;
Additionally, you will need drivers for the RAM disk mentioned. Download them from the [http://sourceforge.net/projects/srdisk ReSizeable RAMDisk project]. Unzip them to &amp;lt;tt&amp;gt;/tmp/srdisk&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Let's modify the floppy image:&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/Usbaspi.sys /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/USBCD.SYS /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/RAMFD.SYS /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/srdisk/srdxms.sys /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/srdisk/srdisk.exe /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
Now add the following lines to &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt/config.sys&amp;lt;/tt&amp;gt; replacing the line &amp;lt;tt&amp;gt;DEVICE = A:\IBMTPCD.SYS /R /C&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DEVICE = A:\SRDXMS.SYS&lt;br /&gt;
DEVICE = A:\RAMFD.SYS&lt;br /&gt;
DEVICE = A:\USBASPI.SYS /V&lt;br /&gt;
DEVICE = A:\USBCD.SYS /D:TPCD001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Finally, edit the file &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt/autoexec.bat&amp;lt;/tt&amp;gt; replacing the last line (saying &amp;lt;tt&amp;gt;COMMAND.COM&amp;lt;/tt&amp;gt;) by the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A:\SRDISK 10000&lt;br /&gt;
COPY *.* D:&lt;br /&gt;
D:&lt;br /&gt;
COMMAND.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Maybe the RAM disk gets a drive letter different from D: on your system. In this case, you have to change the above lines accordingly.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Unmount the floppy image (as root):&lt;br /&gt;
:{{cmdroot|umount /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Copy the content of the original CD image to a new directory and create a new ISO file:&lt;br /&gt;
:{{cmdroot|mkdir /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmdroot|mount -o loop /tmp/bios-lenovo.iso /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmduser|mkdir /tmp/bios-new.iso-mnt}}&lt;br /&gt;
:{{cmduser|cp /tmp/bios-lenovo.iso-mnt/* /tmp/bios-new.iso-mnt}}&lt;br /&gt;
:{{cmduser|cp /tmp/bios-lenovo.img /tmp/bios-new.iso-mnt/boot.img}}&lt;br /&gt;
:{{cmdroot|umount /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmduser|mkisofs -relaxed-filenames -b boot.img -o /tmp/bios-new.iso /tmp/bios-new.iso-mnt/}}&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
The file &amp;lt;tt&amp;gt;/tmp/bios-new.iso&amp;lt;/tt&amp;gt; is the modified ISO file. Just burn it to CD and use this CD for updating your BIOS (boot from it using your USB drive). Please give some comments here if it worked for you.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alternative method using a USB stick===&lt;br /&gt;
&lt;br /&gt;
''Note: none of the above methods worked on my X60s.  This method worked for me, however.'' [[User:PhilipPaeps|PhilipPaeps]] 16:41, 24 August 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
This method was surprisingly painless once I convinced my ThinkPad X60s to boot DOS from a USB stick.  I used VMWare and some mystical tool to get DOS on the stick.  If you can find another way to get a bootable DOS stick, please update this section!&lt;br /&gt;
&lt;br /&gt;
* Tell VMWare to create a virtual floppy image for you and format it under Microsoft Windows and tell it to create a system disk.  You can do this by clicking into &amp;quot;My Computer&amp;quot;, then right-clicking on the &amp;quot;Floppy&amp;quot; icon and selecting &amp;quot;Format&amp;quot;.  In the box that pops up, you need to check the box that says &amp;quot;Create an MS-DOS startup disk&amp;quot; and then click &amp;quot;Start&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* When you've done that, get this tool: http://www.techpowerup.com/downloads/330/mirrors.php and install it.  The tool is apparantly something HP once wrote, but I have been unable to find a link to it anywhere on the HP website.&lt;br /&gt;
&lt;br /&gt;
* In a command prompt again: &amp;lt;code&amp;gt;C:\DriveKey\HPUSBF.EXE E: -Q -B:A:\&amp;lt;/code&amp;gt;, replacing the &amp;lt;code&amp;gt;E:&amp;lt;/code&amp;gt; with the &amp;quot;drive letter&amp;quot; associated with your USB stick (you can find this letter in &amp;quot;My Computer&amp;quot; under &amp;quot;Removable Storage&amp;quot;).  '''WARNING:''' this wipes anything on the USB stick.  You will end up with a USB stick which appears empty at this point, but there is DOS on it somewhere.&lt;br /&gt;
&lt;br /&gt;
* Now mount the BIOS update ISO image from Lenovo as a virtual CDROM using VMWare again and copy the files from it to the USB stick: &amp;lt;code&amp;gt;copy D:\*.* E:\&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
At this point, you may want to fiddle with the splash image, as described elsewhere on ThinkWiki.&lt;br /&gt;
&lt;br /&gt;
* Reboot and press F12, tell the BIOS to boot from your USB stick.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd flash&amp;lt;/code&amp;gt; ; &amp;lt;code&amp;gt;updtflsh.exe&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Think happy thoughts.  The ThinkPad will beep quite ominously (and loudly!) a couple of times.  Do not let this worry you too much.  After about three minutes, the program will ask you to press enter to restart and hopefully all will be well.&lt;br /&gt;
&lt;br /&gt;
===Comments===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
I have followed your excellent instructions. The CD booted, the update program ran but stopped working and responding while updating. Luckily the BIOS was not destroyed. Since destroying the BIOS is a very high risk, I am going to recover the original Windows on an old HD and will run the update exe update program from there.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
I followed these clear instructions, and like the comment above I ended up with a CD that booted but the update program stopped working and responding.  An ALT-CTRL-DELETE rebooted my x60s, and it works so the BIOS must not have been damaged.  I was trying to upgrade from version 2.08 to 2.11, I wonder if these instructions are somehow particular to certain versions?  &lt;br /&gt;
[[User:Latch|Latch]] 01:22, 14 June 2007 (UTC)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
After following the above instructions, the program also stopped working while updating the BIOS. But after changing the drive letter from D: to C: (see code below), it everything worked fine. However, I had some trouble figuring out, which letter to choose over D: at first, as the BIOS Upgrade program started right away.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A:\SRDISK 10000&lt;br /&gt;
COPY *.* C:&lt;br /&gt;
C:&lt;br /&gt;
COMMAND.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[User:Mtx|Mtx]], 1 August 2007, Thinkpad X61s&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Flashing the bios (2.12) works for me on a X60s (using drive c). Using the DVD-R on an USB-Hub did not work.&amp;lt;br&amp;gt; [[User:Ra|Ra]] 00:15, 21 August 2007 (UTC)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Updating via CD/DVD Drive==&lt;br /&gt;
&lt;br /&gt;
The whole thing gets more complicated if you neither have Windows nor a floppy drive installed. This is what this page is intended to describe.&lt;br /&gt;
&lt;br /&gt;
Another possibility which works even without a CD-drive or network is to boot the disk image via the grub initrd mechanism.&lt;br /&gt;
&lt;br /&gt;
Be aware that IBM officially does '''not''' support this! The official statement to my support request was:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I'm afraid we only support the options listed on our web page and no you&lt;br /&gt;
can't burn a CD/DVD, however you can try to use an external USB FDD&lt;br /&gt;
(floppy) drive. The experts recommend a IBM USB FDD, however they have also&lt;br /&gt;
tested it with a Sony USB FDD drive.&lt;br /&gt;
&lt;br /&gt;
In order to make sure the drive is recognised you can boot up the FDD with&lt;br /&gt;
a bootable dos diskette for w98&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But it seems to be possible as Mathias Dalheimer describes this [http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/1998-January/009743.html here].&lt;br /&gt;
&lt;br /&gt;
Another indication that it should work is that IBM uses PHLASH16.EXE (at least on T4x/p systems) to flash the BIOS into the chip. The same tool is used by [http://www.samsungpc.com/gb/support/p35/bios/bios-instructions.html other vendors] to flash the BIOS from bootable CD-ROMs.&lt;br /&gt;
{{WARN|Do '''not''' use the [http://syslinux.zytor.com/ SYSLINUX] image-loader [http://syslinux.zytor.com/memdisk.php MEMDISK] to boot the images! Some flash tools crash in that situation!}}&lt;br /&gt;
&lt;br /&gt;
Some interesting but very technical information about the used flash tool can be found [http://www.paul.sladen.org/thinkpad-r31/wifi-card-pci-ids.html here].&lt;br /&gt;
&lt;br /&gt;
===Creating a Floppy Image===&lt;br /&gt;
If you have created a boot floppy on another machine, you need to create an image file of that floppy. This can be easily done in linux by running a command line:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|1=dd bs=2x80x18b if=/dev/fd0 of=/tmp/floppy.img}}&lt;br /&gt;
&lt;br /&gt;
You can also create a floppy image by using Ken Kato's [http://chitchat.at.infoseek.co.jp/vmware/vfd.html VMware's back]. It is a free Windoze tool that creates a virtual floppy drive and allows you to produce an image file ready to be ISO'ed. Note: you might have to 'manually' (through application's interface) assign the virtual drive a volume letter in order to be seen by IBM's application (as, by default, it seems not to do it).&lt;br /&gt;
&lt;br /&gt;
You should verify this {{path|floppy.img}} as explained above.&lt;br /&gt;
&lt;br /&gt;
===Creating a Bootable CD from a Floppy Image===&lt;br /&gt;
Once you have your floppy image, either from imaging a real floppy, or from extracting them via the cabextract method above, you need to make a boot CD out of it.&lt;br /&gt;
&lt;br /&gt;
The eltorito bootable CD standard is a wonderful thing.  What this means is that a bootable CD can be made with a bootable floppy in such as way that the CD believes that it is a 2.88 MB floppy drive.  This allows you to replace a boot floppy by a boot CD in nearly all situations.&lt;br /&gt;
&lt;br /&gt;
It is very easy to create such a bootable CD ISO image in Linux using the mkisofs tool.  To do this run a command as follows:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|mkisofs -b bootfloppy.img -o bootcd.iso bootfloppy.img}}&lt;br /&gt;
&lt;br /&gt;
Note: This creates a CD with one file on it and marks that file as the boot image.  For more info on this read {{cmduser|man mkisofs}}.&lt;br /&gt;
&lt;br /&gt;
You can now burn the {{path|bootcd.iso}} in your favorite CD burning program.&lt;br /&gt;
&lt;br /&gt;
To get an overview which models have been tested with this version, here is a list:&lt;br /&gt;
&lt;br /&gt;
===Does work:===&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
| '''Model''' || '''Tested by'''&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600E}} (2645-4AU) ||&lt;br /&gt;
*George Tellalov &amp;lt;gtellalov_dontspamme@bigfoot.com&amp;gt;. BIOS 1.16 from spsdin36.exe worked perfectly with the method bootable cd from floppy image. I highly recommend this upgrade because it made my ibm-acpi module load (it wouldn't load before) and fixed some suspend to ram problems. Here's the [http://george.tellalov.info/bios_upgrade_600e_spsdin36.iso cd image] I used. Use at your own risk. You can send me a chocolate if it works for you ;)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600E}} (2645-5bU) ||&lt;br /&gt;
*Mike Vincent&amp;lt;matchstc-putobvioushere.com&amp;gt;. Bios 1.16 from spsdin36.exe and then to the boot cd worked great for me. Thought I had bricked it three separate times using a &amp;quot;real&amp;quot; floppy! Each from different diskettes .The updater would start, give me the &amp;quot;going to take30 seconds&amp;quot; speech...and then access the HD for 10 minutes. Each time it would reboot fine. Did the cd as described above...worked great first time. Perhaps 10 year old seldom used floppy disc drives have some challenges?&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600X}} (2645) ||&lt;br /&gt;
*Jonathan Byrne &amp;lt;jonathan@RemoveThisToMailMe.yamame.org&amp;gt;. BIOS 1.11 from spsuit55.exe worked perfectly using cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600X}} (2645) ||&lt;br /&gt;
*Andy Barnes &amp;lt;andy@RemoveThisToMailMe.itchypaws.co.uk&amp;gt;. As per Jonathan above, extracted BIOS 1.11 from spsuit55.exe using cabextract, created a CD boot image and burnt to CD.  Worked flawlessly - thanks to everyone who contributed to this article!&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A20p}} (2629-6VU) ||&lt;br /&gt;
*Chris Pickett http://www.sable.mcgill.ca/~cpicke/. BIOS 1.11 flashed fine with cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A21e}} (2628-JXU) ||&lt;br /&gt;
*Amit Gurdasani &amp;lt;gurdasani at yahoo dot com&amp;gt;. BIOS 1.13 flashed fine with cabextract/CD method. Alarmingly, after the BIOS update, the laptop beeped but did not shut down as was indicated onscreen -- that was frozen on the &amp;quot;do not shut down the laptop&amp;quot; screen. On power down and up again, the BIOS setup showed the newer BIOS image running, and Linux booted up fine. Linux ACPI didn't complain about the BIOS being too old either.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A31p}} (2653) ||&lt;br /&gt;
*Matthias Meinke largeeddy@gmx.at, BIOS 1.09 1NET15WW flashed fine with cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A31}} (2652) ||&lt;br /&gt;
*[[User:Wnoise|Aaron Denney]], BIOS 1.13 flashed fine with cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{R30}}  ||&lt;br /&gt;
*Jarrod, 30 August 2007, Thinkpad R30 Type 2656-E0M. BIOS updated to 1.40 (1CETF0WW) using floppy disk/mkisofs/cdrecord. Worked fine, no problems. &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{R31}} ||&lt;br /&gt;
*[http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/1998-January/009743.html Mathias Dalheimer]&lt;br /&gt;
*Sebastian Sauer (with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R40}} ||&lt;br /&gt;
*Matthew Lambie, http://lambie.org&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R50}} (1836-3SU) ||&lt;br /&gt;
*jlbartos &amp;lt;jlbartos at hotmail dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R50e}} (1834-PTG) ||&lt;br /&gt;
*item &amp;lt;item at freemail dot hu&amp;gt; : successfully finished with cabextract/CD method for &amp;quot;1wuj25us.exe&amp;quot; (BIOS version 1WET90WW (2.10), Release Date: 2006/12/22)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (1829) ||&lt;br /&gt;
*Robert Uhl &amp;lt;rob dot uhl at gmx dot de&amp;gt;, Jellby &amp;lt;jellby at yahoo dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (1830-RM7) ||&lt;br /&gt;
*Will Parker &amp;lt;stardotstar at sourcepoint dot com dot au&amp;gt; successfully flashed 3.20 using existing 3.04 ECP and retained custom boot splash.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (2887) ||&lt;br /&gt;
*Ingo van Lil &amp;lt;inguin at gmx dot de&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R52}} (1858) ||&lt;br /&gt;
*Stuart McCord &amp;lt;stuart dot mccord at gmail dot com&amp;gt;  flashed both BIOS and ECP using cabextract, BIOS flashed first as on IBM website&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T20}} ||&lt;br /&gt;
*Franz Hassels &amp;lt;fhassel at suse dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T22}} ||&lt;br /&gt;
*Daniel Maier &amp;lt;nusse teamidiot de&amp;gt;&lt;br /&gt;
*Mathias Behrle (with cabextract/CD method, Version 1.07 =&amp;gt; 1.12) --[[User:Mathiasb|Mathiasb]] 11:58, 14 December 2006 (CET)&lt;br /&gt;
*Bob Skaroff (cabextract/CD), 1.06 =&amp;gt; 1.12&lt;br /&gt;
*Leo Butler (cabextract/CD), 1.11 =&amp;gt; 1.12 &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T23}} ||&lt;br /&gt;
*Bart Snapp &amp;lt;snapp at uiuc dot edu&amp;gt; Note: I followed IBM's instructions to flash the BIOS *first* and the Embedded Controller *second*.&lt;br /&gt;
*Moy Easwaran: BIOS 1.18 / EC 1.06a via cabextract and CD-boot.  The BIOS-update exe generated errors in Windows 2000.&lt;br /&gt;
*Joe Renes: BIOS 1.18 / EC 1.06a on 2006-03-20 via cabextract and CD-boot. Piece of cake.&lt;br /&gt;
*Raphael Errani: BIOS 1.20 / EC 1.06a on 2006-11-06 via cabextract and CD-boot (using mkisofs). Worked without errors. 1st Bios, 2nd EC&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T30}} ||&lt;br /&gt;
*Martin GÃ¼hring &amp;lt;guehring at gmail.com&amp;gt; BIOS 2.10 via cabextract the Non-Diskette BIOS -&amp;gt; mkisofs '''in the directory the exe was extracted''' to generate the iso -&amp;gt; burn the iso -&amp;gt; boot the CD&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{T40}} ||&lt;br /&gt;
*Sean Dague, http://dague.net&lt;br /&gt;
*Justin Mason, http://jmason.org&lt;br /&gt;
*Ivanhoe (Bios 3.19)&lt;br /&gt;
*Alessandro Raulino (roger_2) EC 3.04 &amp;amp; BIOS 3.23 flashed with cabextract/CD method&lt;br /&gt;
*Nick Jenkins, using BIOS 3.23 with the [[#The_Non_Diskette_Updater|Non-diskette updater + cabextract method]], then [[#Creating_a_Bootable_CD_from_a_Floppy_Image|created a bootable CD from the cabextracted .IMG file]], then boot that ISO, and it worked great!&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T40p}} ||&lt;br /&gt;
*Lukas KrÃ¤henbÃ¼hl, ismo at pop dot agri dot ch&lt;br /&gt;
*Thomas Achtemichuk, tom at tomchuk dot com. BIOS 3.15 flashed fine with cabextract/CD method&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{T41}} ||&lt;br /&gt;
*Lev Givon (Bios 3.15 / EC 3.04) &amp;lt;lev at columbia dot edu&amp;gt;&lt;br /&gt;
*Ernesto HernÃ¡ndez-Novich (Bios 3.19 / CP 3.04) &amp;lt; emhn at usb dot ve &amp;gt;&lt;br /&gt;
*[http://maebmij.org James Ballantine] (Bios 3.21 / CP 3.04) using nondisk/cabextract/CDRW&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T41p}} ||&lt;br /&gt;
*Nils Newman, work great. (Version: Bios 3.14 / Embedded Controller 3.04)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T42}} ||&lt;br /&gt;
*Dan (BIOS 3.20 / EC 3.04, cabextract/CD method) &amp;lt;tronic171 at evilphb.org&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T42p}} ||&lt;br /&gt;
*Robert Schiele &amp;lt;rschiele@uni-mannheim.de&amp;gt;, Joern Heissler &amp;lt;joern@heissler.de&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T43}}  ||&lt;br /&gt;
*Conrad Rentsch &amp;lt;Conrad dot Rentsch at t-online dot de&amp;gt; (Version: Bios 1.29 / Embedded Controller 1.06)&lt;br /&gt;
*Tom Heady &amp;lt;tom-thinkwiki.org@punch.net&amp;gt;&lt;br /&gt;
*Florian Boucault &amp;lt;florian at boucault dot ath dot cx&amp;gt; (Model : 1871-W34 &amp;amp; Version: Bios 1.23 / Embedded Controller 1.03)&lt;br /&gt;
*Till Heikamp &amp;lt;t dot heikamp at geniusbytes dot com&amp;gt; (Model 2886, Bios 1.22 to 1.29, Embedded Controller 1.03 to 1.06)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T60}}  ||&lt;br /&gt;
*Roman Komkov &amp;lt;roman  at komkov dot org dot ru&amp;gt; (Model 1951, Bios 1.07 to 2.13) Successfully upgraded from CD Image&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X20}}  ||&lt;br /&gt;
*Neil Caunt &amp;lt;retardis at gmail dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X21}}  ||&lt;br /&gt;
*Patrick Leickner &amp;lt;ranma at web dot de&amp;gt;, (BIOS 2.21-&amp;gt;2.25 / EC 1.31-&amp;gt;1.36) via non-disk/cabextract/mkisofs/cdrecord&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X22}}  ||&lt;br /&gt;
*David Emery &amp;lt;dave at skiddlydee dot com&amp;gt;,  (EC 1.30, BIOS 1.32 using non-disk/cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X23}}  ||&lt;br /&gt;
*Nils Faerber &amp;lt;nils dot faerber at kernelconcepts dot de&amp;gt; (Embedded Controller 1.30, BIOS 1.32 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X30}}  ||&lt;br /&gt;
*Hella Breitkopf, [http://www.unixwitch.de/ www]  (Embedded Controller 1.04, BIOS 1.07 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X31}}  ||&lt;br /&gt;
*Grzegorz KuÅ›nierz &amp;lt;koniu at sheket dot org&amp;gt;  (Embedded Controller 1.08, BIOS 3.01 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X40}}  ||&lt;br /&gt;
*Robbie Stone &amp;lt;robbie@serendipity.cx&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{Z60m}}  ||&lt;br /&gt;
*[[User:Morle|Morle]] 13:09, 20 May 2006 (CEST),  (Embedded Controller 1.14 with cabextract/CD method)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Does not work:===&lt;br /&gt;
{|&lt;br /&gt;
| '''Model''' || '''Tested by'''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Please note that testing this is '''at your own risk'''!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Updating via Grub and a Floppy Image==&lt;br /&gt;
&lt;br /&gt;
{{WARN|Many have warned '''not''' to use the [http://syslinux.zytor.com/ SYSLINUX] image-loader [http://syslinux.zytor.com/memdisk.php MEMDISK] to boot the images! Some flash tools may crash in that situation!  Proceed at your own risk!}}&lt;br /&gt;
&lt;br /&gt;
Floppy images may be booted from Grub via a utility called [http://syslinux.zytor.com/memdisk.php MEMDISK], which may be compiled from the [http://www.kernel.org/pub/linux/utils/boot/syslinux/ '''SYSLINUX source'''].  Copy the compiled memdisk image and the floppy image to your boot directory and configure grub as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
title     Bios Flash&lt;br /&gt;
kernel    /boot/memdisk&lt;br /&gt;
initrd    /boot/FILENAME.img&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, proceed at your own risk.  This was tested on an R51 type 2888.&lt;br /&gt;
&lt;br /&gt;
This also worked for me on a T41p type 2373. -- [[User:MrStaticVoid|James Lee]] 20:55, 8 May 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
And it worked for me on a X31 type 2673-CBU. -- [[User:JanTopinski|Jan Topinski]], 18 September 2006 &lt;br /&gt;
&lt;br /&gt;
And it worked for me too on a X31 type 2672-CXU, very useful. -- [[User:TheAnarcat|TheAnarcat]] 16:21, 7 March 2007 (CET)&lt;br /&gt;
&lt;br /&gt;
Same here (worked) on a X31 type 2673-58G --[[User:FaUl|FaUl]] 15:53, 20 June 2007 (UTC)FaUl&lt;br /&gt;
&lt;br /&gt;
Works well on a X31 type 2672-PG9, but with a big moment between starting update and the updating window -- [[User:Starox|Starox]] 22 Jul 2007&lt;br /&gt;
&lt;br /&gt;
And it worked for me on two X40 type 2371 -- [[User:Antialize|Jakob Truelsen]], 19 Jan 2007 -- BIOS: 2.07 1uuj21us.exe -- ECP: 1.62 1uhj10us.exe&lt;br /&gt;
&lt;br /&gt;
Not working for me on T43 type 2668-F7G -- [[User:Maus3273|Maus3273]] 20:48, 30 January 2007 (CET) -- BIOS: 1.29 1YUJ18US.IMG -- I got into the bios program, but the machine never restarts after initiating the upgrade.&lt;br /&gt;
&lt;br /&gt;
X41 type 2525-F8G -- [[User:ladoga|Lauri Koponen]], 11:08 16 Apr 2007&amp;lt;br&amp;gt; &lt;br /&gt;
BIOS: 2.09 (74UJ15US.IMG), is no go. (hangs while initialising the actual flashing process) I tried with 2.07 (74UJ13US.IMG) and 2.06 (74UJ12US.IMG) aswell and they all failed in the very same fashion.&amp;lt;br&amp;gt;&lt;br /&gt;
ECP: 1.02 74HJ03US.IMG, works.&lt;br /&gt;
&lt;br /&gt;
It works fine on R30 type 2656-64g, BIOS v.1.40 -- [[User:english.voodoo|Yuri Spirin]], 10 May 2007.&lt;br /&gt;
&lt;br /&gt;
==Updating with Network Boot Image==&lt;br /&gt;
&lt;br /&gt;
BIOS, Embedded Controller (EC), CD/DVD and Harddisk firmware disks can be booted&lt;br /&gt;
over the network with [http://syslinux.zytor.com/pxe.php PXELINUX] as part of the [http://syslinux.zytor.com/ SYSLINUX] package.&lt;br /&gt;
&lt;br /&gt;
This requires that you have a DHCP and tftp server configured and setup properly on&lt;br /&gt;
your network, and is probably not for the faint of heart.&lt;br /&gt;
&lt;br /&gt;
Make sure the firmware bootdisk is in linux 'dd' format, as the self-extracting .exe disks&lt;br /&gt;
from the IBM website cannot be booted directly as such.&lt;br /&gt;
&lt;br /&gt;
This worked on the {{R31}}, {{X22}}, {{T21}}, {{T30}} and {{T41p}} with various firmware updates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On {{X22}}, works with EC 1.30 but NOT with BIOS 1.32&lt;br /&gt;
&lt;br /&gt;
==Updating via &amp;quot;IBM Predesktop area&amp;quot;, suitable for model X (not have CDROM and floppy)==&lt;br /&gt;
It's so difficult to update BIOS and ECP without cdrom, floppy disk.&lt;br /&gt;
Don't know the reason why I couldn't update BIOS and ECP(1QHJ08US and 1QUJ19US) for my IBM Thinkpad X31.Hmm, may be cause of the dividing partition on my hard disk, that is: 	&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
Primary: ext3, ext3, ntfs&lt;br /&gt;
Extended: Ntsf, fat32&lt;br /&gt;
Bootloader: GRUB&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No problem, you can use this way to do it:&lt;br /&gt;
* First, config in BIOS&lt;br /&gt;
In Security part:&lt;br /&gt;
# Remove all password of Subpervisor and Power on password&lt;br /&gt;
# Set Access IBM Predesktop Area to Normal&lt;br /&gt;
# Choose Enable &amp;quot;Flash BIOS updating by End User&amp;quot; in BIOS update Option.&lt;br /&gt;
&lt;br /&gt;
In Config part:&lt;br /&gt;
# Choose Enable for Network flash over Lan&lt;br /&gt;
&lt;br /&gt;
* Second, download the newest version of BIOS update and ECP update &lt;br /&gt;
Running: The program extract all files to the folder. There is a .img file (1QUJ19US.IMG, 1QUJ08US.IMG) in each folder.&lt;br /&gt;
Copy the imformation content in that img file and paste it to one FAT partition(using winimage or TotalCmd to extract) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
as seen All files in 1QUJ19US.IMG is extracted to D:\BIOS&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
695,764  $018E000.FL1&lt;br /&gt;
163      0691.HSH&lt;br /&gt;
2,049    0691.PAT&lt;br /&gt;
163      0694.HSH&lt;br /&gt;
2,049    0694.PAT&lt;br /&gt;
163      0695.HSH&lt;br /&gt;
2,049    0695.PAT&lt;br /&gt;
2,049    06D0.PAT&lt;br /&gt;
163      06D1.HSH&lt;br /&gt;
2,049    06D1.PAT&lt;br /&gt;
163      06D2.HSH&lt;br /&gt;
2,049    06D2.PAT&lt;br /&gt;
163      06D6.HSH&lt;br /&gt;
2,049    06D6.PAT&lt;br /&gt;
2,049    06D8.PAT&lt;br /&gt;
697      CHKBMP.EXE&lt;br /&gt;
8,128    COMMAND.COM&lt;br /&gt;
26       CONFIG.SYS&lt;br /&gt;
24,860   FLASH2.EXE&lt;br /&gt;
26       LCREFLSH.BAT&lt;br /&gt;
170      LOGO.BAT&lt;br /&gt;
330      LOGO.SCR&lt;br /&gt;
111,925  PHLASH16.EXE&lt;br /&gt;
91,648   PREPARE.EXE&lt;br /&gt;
45       PROD.DAT&lt;br /&gt;
22,252   QKFLASH.EXE&lt;br /&gt;
9,923    README.TXT&lt;br /&gt;
4,260    TPCHKS.EXE&lt;br /&gt;
39,666   UPDTFLSH.EXE&lt;br /&gt;
6,958    UPDTMN.EXE&lt;br /&gt;
12,501   USERINT.EXE&lt;br /&gt;
15,254   UTILINFO.EXE&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And all files in 1QUJ08US.IMG are: D:\ECP&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
315,404 $018E000.FL2&lt;br /&gt;
8,000   COMMAND.COM&lt;br /&gt;
36      CONFIG.SYS&lt;br /&gt;
16,910  ECFLASH2.EXE&lt;br /&gt;
45      PROD.DAT&lt;br /&gt;
17,812  QKFLASH.EXE&lt;br /&gt;
990     README.TXT&lt;br /&gt;
4,260   TPCHKS.EXE&lt;br /&gt;
89,738  UPDTEC.EXE&lt;br /&gt;
31,134  UPDTFLSH.EXE&lt;br /&gt;
12,501  USERINT.EXE&lt;br /&gt;
15,226  UTILINFO.EXE&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Okie, now plug AC Adapter, charge full battery to your laptop and continue third step:&lt;br /&gt;
&lt;br /&gt;
** '''Flash BIOS first,'''&lt;br /&gt;
1. Power On, press blue button on keyboard: '''Access IBM'''&lt;br /&gt;
&lt;br /&gt;
2. On &amp;quot;Utilities&amp;quot;, double click &amp;quot; Diagnostic disk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
3. Your laptop will start PC-DOS, wait when this message appear:&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
Please insert the first floppy diskette and&lt;br /&gt;
Press any key to continue&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Press Ctrl + Break, you will see :&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;Terminate batch job (Y/N) ?&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Okie, press Y, you will get DOS prompt like D:\&lt;br /&gt;
{{NOTE|D:\ is my RAMDISK, C:\ is my disk format as FAT.!}}&lt;br /&gt;
&lt;br /&gt;
6. Enter to c:\BIOS&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
c:&lt;br /&gt;
cd c:\BIOS&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. Run FLASH2.EXE /u $018E000.FL1&lt;br /&gt;
&lt;br /&gt;
8. Wait flash progress compelete and reboot.&lt;br /&gt;
** '''Flash ECP'''&lt;br /&gt;
Follow above instruction from step 1 to 5&lt;br /&gt;
&lt;br /&gt;
6. Enter to c:\ECP&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
c:&lt;br /&gt;
cd c:\ECP&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. run UPDTFLSH.EXE $018E000.FL2&lt;br /&gt;
&lt;br /&gt;
8. Follow UPDTFLSH's instructions&lt;br /&gt;
&lt;br /&gt;
9. Wait flash complete and auto turn off computer.&lt;br /&gt;
&lt;br /&gt;
I done it on my IBM Thinkpad X31.&lt;br /&gt;
&lt;br /&gt;
Enjoy,&lt;br /&gt;
&lt;br /&gt;
Tested by nm.&lt;br /&gt;
&lt;br /&gt;
==Check List==&lt;br /&gt;
&lt;br /&gt;
The following is important to remember:&lt;br /&gt;
# You must update '''both''' the Control Program and the BIOS at the same time if your current Control Program is not compatible with the new BIOS (see below)&lt;br /&gt;
# You must find versions of the Control Program and BIOS that are compatible.  Not all of them are, so follow the readmes on the IBM website carefully to determine which are.&lt;br /&gt;
# You must update the Control Program '''before''' you update the BIOS&lt;br /&gt;
&lt;br /&gt;
When the Control Program '''and''' the BIOS need updating, have both update disks or CDs ready. Update the Control Program first and the system should switch itself off when finished. Insert the BIOS update disk and proceed to update the BIOS. When it's all finished, enter setup, reset the settings to their defaults and reboot. Enter setup again and tweak the settings as necessary.&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=BIOS_Upgrade&amp;diff=33535</id>
		<title>BIOS Upgrade</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=BIOS_Upgrade&amp;diff=33535"/>
		<updated>2007-09-29T07:54:51Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* Before You Begin */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
This page is meant to describe ways to update the BIOS on a ThinkPad that only runs Linux for users that don't have ready access to Windows. If you have Windows on your ThinkPad you can just boot into it and follow instructions on the IBM website.&lt;br /&gt;
&lt;br /&gt;
{{NOTE| In one case ([[APM setup on a type 2379 ThinkPad T40]]) it was not possible to upgrade the BIOS from Windows XP; a downgrade to Windows 98 was required to successfully run the BIOS upgrade app. The symptoms in this case were that, once the files had been extracted to the hard disk, and the machine was to reboot into the upgrade app, it would beep and hang just before reboot, requiring a power cycle. Once the power was cycled, it would simply reboot back into XP without performing any BIOS upgrade actions. So even if you have Windows, you may still need to use the info on this page.}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
==Before You Begin==&lt;br /&gt;
Updating the BIOS in Linux (with few exceptions) '''is not officially supported''' by IBM/Lenovo.  However there are work arounds.&lt;br /&gt;
&lt;br /&gt;
{{WARN|By following any of the instructions here you are accepting the '''very real risk''' of turning your thinkpad into a big expensive paper weight, as a firmware update gone wrong can create unfixable problems.&lt;br /&gt;
&lt;br /&gt;
'''Proceed at your own risk!'''&lt;br /&gt;
&lt;br /&gt;
It is also important to understand that Thinkpads from IBM have two separate firmwares: the BIOS, and the Embedded Controller program.  A given BIOS version will require a certain version of the Embedded Controller program.&lt;br /&gt;
&lt;br /&gt;
The IBM documentation is sometimes unclear about the order in which these two firmwares should be updated.  On most, but not all Thinkpads, '''the correct update order is Embedded Controller program first, and then the BIOS'''.  Make sure to do the two updates immediately one after the other.  Newer models from Lenovo update both the Embedded Controller program and the BIOS at the same time, so you don't have to worry about it.}}&lt;br /&gt;
&lt;br /&gt;
==BIOS Upgrade Paths==&lt;br /&gt;
&lt;br /&gt;
For every firmware (either BIOS or Control Program) update on the IBM site there used to be two different firmware update programs provided. The Diskette Updater and the Non Diskette Updater. For newer Lenovo Models the Diskette Updater is replaced with a bootable CD-Image and the The Non Diskette Updater is renamed BIOS Update Utility, both update the BIOS and the Control Program at the same time. A list of links to firmware downloads can be found at [[BIOS Upgrade Downloads]] for nearly all Thinkpad Models.&lt;br /&gt;
&lt;br /&gt;
===The Diskette Updater===&lt;br /&gt;
&lt;br /&gt;
This installer appears to be a 16bit dos program which asks you to accept a license agreement.  It will run in Windows, DOS, OS/2, or [http://dosemu.sf.net Dosemu] perfectly, but requires a real floppy disk attached via a real floppy control.  The USB Floppy Drive to the new Thinkpads doesn't count.&lt;br /&gt;
&lt;br /&gt;
===The Bootable CD Image===&lt;br /&gt;
&lt;br /&gt;
This should be the easiest way for non-Windows users and also maybe a more secure way for Windows users, too. As the Image is provided as a plain ISO-file without any windows enclosure, you can simply burn it to a CD-R/RW with any modern operation system, as long as you have a CD/DVD-RW Drive and then are able to boot from it.&lt;br /&gt;
&lt;br /&gt;
===The Non Diskette Updater===&lt;br /&gt;
{{WARN|Though this process was successfully tested on one version of .exe files found on IBMs website this doesn't mean it will work for all of them.  Use at your own risk.}}&lt;br /&gt;
&lt;br /&gt;
This installer appears to be a 32bit windows exe which is designed for updating the BIOS directly from a running Windows OS.  It turns out that the .exe is really a wrapper license program arround windows .cab files (this information is in [[How_to_change_the_BIOS_bootsplash_screen|BIOS-Bootsplash]]).  If you install the Linux program [http://freshmeat.net/projects/cabextract/ '''cabextract'''] you can expand these files directly.  Run the following:&lt;br /&gt;
&lt;br /&gt;
:{{cmduser|cabextract FILENAME.exe}}&lt;br /&gt;
&lt;br /&gt;
You will get 8 files in the current directory.  One of them will be FILENAME.img.  You can test that this is really a floppy image by running:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|mkdir mntfloppy}}&lt;br /&gt;
:{{cmdroot|mount -o loop FILENAME.img mntfloppy}}&lt;br /&gt;
:{{cmdroot|ls -la mntfloppy}}&lt;br /&gt;
&lt;br /&gt;
If the results of {{cmdroot|ls -la mntfloppy}} look like a dos floppy, and no read errors were displayed, you have a pretty good chance that the floppy image is usable.&lt;br /&gt;
&lt;br /&gt;
After you are done, unmount the floppy image:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|umount mntfloppy}}&lt;br /&gt;
&lt;br /&gt;
If you were able to create the boot floppy per the Diskette update method, and you have a Floppy with your Thinkpad, the update should be simple.&lt;br /&gt;
&lt;br /&gt;
== Updating Thinkpad X Series ==&lt;br /&gt;
&lt;br /&gt;
X Series Thinkpads do not have an internal drive. If there is no Windows installed, the BIOS must be updated by booting from an USB drive or a drive that is integrated in the docking station. Since a while Lenovo provides BIOS updates in form of bootable CD images. Unfortunately, these images are intended to be used with the docking station's CD drive. If you do not own such a drive, things get complicated.&lt;br /&gt;
&lt;br /&gt;
The problem is that current BIOS updates are quite large, about 3 MB in size. Booting from CDs typically works like booting from a 1.44 MB or 2.88 MB floppy disk. The floppy image is stored on the CD and is referenced in the CD's boot record. Because the BIOS update file are that large, they do not fit on such a floppy image. Thus, they must be stored on the CD outside the virtual floppy image. To access these files a driver for the CD drive has to be loaded. Since Lenovo's CD images are intended to be used with a docking station's CD drive, it is not possible to use them for BIOS updates by booting from an USB CD drive.&lt;br /&gt;
&lt;br /&gt;
But there is hope. The CD images provided by Lenovo can be modified such that they contain drivers for USB CD drives. I tested the following with a Thinkpad {{X60s}}.&lt;br /&gt;
&lt;br /&gt;
The idea is to take Lenovo's ISO CD image and modify it such that a USB CD drive can be used instead the CD drive in the docking station. Unfortunately, simply replacing the drivers is not enough. While doing the BIOS update, the USB ports seem to get disabled or something. Therefore, before starting the update process the CD contents have to be copied to a RAM disk. I will describe the procedure step by step.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Download the ISO image style BIOS update from Lenovo's website. This file will be refered to as &amp;lt;tt&amp;gt;/tmp/bios-lenovo.iso&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Extract the floppy image from this ISO image. You can use the following shell script for this task (or an alternative one from [http://userpages.uni-koblenz.de/~krienke/ftp/noarch/geteltorito/]). Simply save this code into the file &amp;lt;tt&amp;gt;/tmp/extractbootimage.sh&amp;lt;/tt&amp;gt;, set the x-flag (&amp;lt;tt&amp;gt;chmod +x /tmp/extractbootimage.sh&amp;lt;/tt&amp;gt;) and call it using the command &amp;lt;tt&amp;gt;/tmp/extractbootimage.sh /tmp/bios-lenovo.iso /tmp/bios-lenovo.img&amp;lt;/tt&amp;gt;. The floppy image contained in the ISO image will then be saved to &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img&amp;lt;/tt&amp;gt;. Here is the code of the shell script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# This script extracts the floopy boot image from bootable ISO images&lt;br /&gt;
#&lt;br /&gt;
# Written by Joachim Selke (mail@joachim-selke.de), 2007-04-07&lt;br /&gt;
&lt;br /&gt;
ISOFILE=$1&lt;br /&gt;
IMAGEFILE=$2&lt;br /&gt;
&lt;br /&gt;
if [ ! -r $ISOFILE ]; then&lt;br /&gt;
        echo $ISOFILE: file does not exist or is not readable&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ -z $IMAGEFILE ]; then&lt;br /&gt;
        echo Error: no image file specified&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
ISOFILESIZE=`stat -c %s $ISOFILE`&lt;br /&gt;
&lt;br /&gt;
# collect El Torito data&lt;br /&gt;
# see http://www.phoenix.com/NR/rdonlyres/98D3219C-9CC9-4DF5-B496-A286D893E36A/0/specscdrom.pdf for reference&lt;br /&gt;
&lt;br /&gt;
BOOTCATALOGPOINTERBYTE=$((17 * 0x800 + 0x47))&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $(($BOOTCATALOGPOINTERBYTE + 4)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# absolute pointer to first sector of boot catalog:&lt;br /&gt;
BOOTCATALOG=`od -A n -t x4 -N 4 -j $BOOTCATALOGPOINTERBYTE $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
BOOTCATALOGBYTE=$((0x$BOOTCATALOG * 0x800))&lt;br /&gt;
&lt;br /&gt;
echo Boot catalog starts at byte $BOOTCATALOGBYTE&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $(($BOOTCATALOGBYTE + 32 + 2)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# media type of boot image&lt;br /&gt;
# only floppy disk images are supported by this script&lt;br /&gt;
BOOTMEDIATYPE=`od -A n -t x1 -N 1 -j $(($BOOTCATALOGBYTE + 32 + 1)) $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
if [ $BOOTMEDIATYPE -eq 1 ]; then&lt;br /&gt;
        echo Boot media type is 1.2M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((1200 / 2))&lt;br /&gt;
elif [ $BOOTMEDIATYPE -eq 2 ]; then&lt;br /&gt;
        echo Boot media type is 1.44M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((1440 / 2))&lt;br /&gt;
elif [ $BOOTMEDIATYPE -eq 3 ]; then&lt;br /&gt;
        echo Boot media type is 2.88M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((2880 / 2))&lt;br /&gt;
else&lt;br /&gt;
        echo Boot media type is $((0x$BOOTMEDIATYPE)). This type is not supported yet.&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# absolute pointer to start of boot image&lt;br /&gt;
BOOTIMAGE=`od -A n -t x4 -N 4 -j $(($BOOTCATALOGBYTE + 32 + 8)) $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
BOOTIMAGEBYTE=$((0x$BOOTIMAGE * 0x800))&lt;br /&gt;
&lt;br /&gt;
echo Boot image starts at byte $BOOTIMAGEBYTE&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $((0x$BOOTIMAGE * 0x800 + $IMAGEBLOCKS * 0x800)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
echo Extracting boot image ...&lt;br /&gt;
&lt;br /&gt;
dd if=$ISOFILE of=$IMAGEFILE bs=2K count=$IMAGEBLOCKS skip=$((0x$BOOTIMAGE))&lt;br /&gt;
&lt;br /&gt;
echo Finished&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Mount the floppy image '''as root''' using the loop device:&lt;br /&gt;
:{{cmdroot|mkdir /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
:{{cmdroot|mount -o loop /tmp/bios-lenovo.img /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
The image is now mounted as &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Download needed drivers. First download some [http://panasonic.co.jp/pcc/products/drive/other/driver/f2h_usb.exe USB drivers] from Panasonic Japan. Save the file to &amp;lt;tt&amp;gt;/tmp/f2h_usb.exe&amp;lt;/tt&amp;gt; This file is a self-extracting EXE file, that can be executed under Linux using [http://www.winehq.com/ Wine]:&lt;br /&gt;
:{{cmduser|wine /tmp/f2h_usb.exe}}&lt;br /&gt;
You will be asked where to save the extracted files. Choose &amp;lt;tt&amp;gt;/tmp&amp;lt;/tt&amp;gt;. A new directory &amp;lt;tt&amp;gt;/tmp/F2h&amp;lt;/tt&amp;gt; containing the needed drivers will be created.&lt;br /&gt;
&lt;br /&gt;
Additionally, you will need drivers for the RAM disk mentioned. Download them from the [http://sourceforge.net/projects/srdisk ReSizeable RAMDisk project]. Unzip them to &amp;lt;tt&amp;gt;/tmp/srdisk&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Let's modify the floppy image:&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/Usbaspi.sys /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/USBCD.SYS /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/RAMFD.SYS /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/srdisk/srdxms.sys /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/srdisk/srdisk.exe /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
Now add the following lines to &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt/config.sys&amp;lt;/tt&amp;gt; replacing the line &amp;lt;tt&amp;gt;DEVICE = A:\IBMTPCD.SYS /R /C&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DEVICE = A:\SRDXMS.SYS&lt;br /&gt;
DEVICE = A:\RAMFD.SYS&lt;br /&gt;
DEVICE = A:\USBASPI.SYS /V&lt;br /&gt;
DEVICE = A:\USBCD.SYS /D:TPCD001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Finally, edit the file &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt/autoexec.bat&amp;lt;/tt&amp;gt; replacing the last line (saying &amp;lt;tt&amp;gt;COMMAND.COM&amp;lt;/tt&amp;gt;) by the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A:\SRDISK 10000&lt;br /&gt;
COPY *.* D:&lt;br /&gt;
D:&lt;br /&gt;
COMMAND.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Maybe the RAM disk gets a drive letter different from D: on your system. In this case, you have to change the above lines accordingly.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Unmount the floppy image (as root):&lt;br /&gt;
:{{cmdroot|umount /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Copy the content of the original CD image to a new directory and create a new ISO file:&lt;br /&gt;
:{{cmdroot|mkdir /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmdroot|mount -o loop /tmp/bios-lenovo.iso /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmduser|mkdir /tmp/bios-new.iso-mnt}}&lt;br /&gt;
:{{cmduser|cp /tmp/bios-lenovo.iso-mnt/* /tmp/bios-new.iso-mnt}}&lt;br /&gt;
:{{cmduser|cp /tmp/bios-lenovo.img /tmp/bios-new.iso-mnt/boot.img}}&lt;br /&gt;
:{{cmdroot|umount /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmduser|mkisofs -relaxed-filenames -b boot.img -o /tmp/bios-new.iso /tmp/bios-new.iso-mnt/}}&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
The file &amp;lt;tt&amp;gt;/tmp/bios-new.iso&amp;lt;/tt&amp;gt; is the modified ISO file. Just burn it to CD and use this CD for updating your BIOS (boot from it using your USB drive). Please give some comments here if it worked for you.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alternative method using a USB stick===&lt;br /&gt;
&lt;br /&gt;
''Note: none of the above methods worked on my X60s.  This method worked for me, however.'' [[User:PhilipPaeps|PhilipPaeps]] 16:41, 24 August 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
This method was surprisingly painless once I convinced my ThinkPad X60s to boot DOS from a USB stick.  I used VMWare and some mystical tool to get DOS on the stick.  If you can find another way to get a bootable DOS stick, please update this section!&lt;br /&gt;
&lt;br /&gt;
* Tell VMWare to create a virtual floppy image for you and format it under Microsoft Windows and tell it to create a system disk.  You can do this by clicking into &amp;quot;My Computer&amp;quot;, then right-clicking on the &amp;quot;Floppy&amp;quot; icon and selecting &amp;quot;Format&amp;quot;.  In the box that pops up, you need to check the box that says &amp;quot;Create an MS-DOS startup disk&amp;quot; and then click &amp;quot;Start&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* When you've done that, get this tool: http://www.techpowerup.com/downloads/330/mirrors.php and install it.  The tool is apparantly something HP once wrote, but I have been unable to find a link to it anywhere on the HP website.&lt;br /&gt;
&lt;br /&gt;
* In a command prompt again: &amp;lt;code&amp;gt;C:\DriveKey\HPUSBF.EXE E: -Q -B:A:\&amp;lt;/code&amp;gt;, replacing the &amp;lt;code&amp;gt;E:&amp;lt;/code&amp;gt; with the &amp;quot;drive letter&amp;quot; associated with your USB stick (you can find this letter in &amp;quot;My Computer&amp;quot; under &amp;quot;Removable Storage&amp;quot;).  '''WARNING:''' this wipes anything on the USB stick.  You will end up with a USB stick which appears empty at this point, but there is DOS on it somewhere.&lt;br /&gt;
&lt;br /&gt;
* Now mount the BIOS update ISO image from Lenovo as a virtual CDROM using VMWare again and copy the files from it to the USB stick: &amp;lt;code&amp;gt;copy D:\*.* E:\&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
At this point, you may want to fiddle with the splash image, as described elsewhere on ThinkWiki.&lt;br /&gt;
&lt;br /&gt;
* Reboot and press F12, tell the BIOS to boot from your USB stick.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd flash&amp;lt;/code&amp;gt; ; &amp;lt;code&amp;gt;updtflsh.exe&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Think happy thoughts.  The ThinkPad will beep quite ominously (and loudly!) a couple of times.  Do not let this worry you too much.  After about three minutes, the program will ask you to press enter to restart and hopefully all will be well.&lt;br /&gt;
&lt;br /&gt;
===Comments===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
I have followed your excellent instructions. The CD booted, the update program ran but stopped working and responding while updating. Luckily the BIOS was not destroyed. Since destroying the BIOS is a very high risk, I am going to recover the original Windows on an old HD and will run the update exe update program from there.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
I followed these clear instructions, and like the comment above I ended up with a CD that booted but the update program stopped working and responding.  An ALT-CTRL-DELETE rebooted my x60s, and it works so the BIOS must not have been damaged.  I was trying to upgrade from version 2.08 to 2.11, I wonder if these instructions are somehow particular to certain versions?  &lt;br /&gt;
[[User:Latch|Latch]] 01:22, 14 June 2007 (UTC)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
After following the above instructions, the program also stopped working while updating the BIOS. But after changing the drive letter from D: to C: (see code below), it everything worked fine. However, I had some trouble figuring out, which letter to choose over D: at first, as the BIOS Upgrade program started right away.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A:\SRDISK 10000&lt;br /&gt;
COPY *.* C:&lt;br /&gt;
C:&lt;br /&gt;
COMMAND.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[User:Mtx|Mtx]], 1 August 2007, Thinkpad X61s&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Flashing the bios (2.12) works for me on a X60s (using drive c). Using the DVD-R on an USB-Hub did not work.&amp;lt;br&amp;gt; [[User:Ra|Ra]] 00:15, 21 August 2007 (UTC)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Updating via CD/DVD Drive==&lt;br /&gt;
&lt;br /&gt;
The whole thing gets more complicated if you neither have Windows nor a floppy drive installed. This is what this page is intended to describe.&lt;br /&gt;
&lt;br /&gt;
Another possibility which works even without a CD-drive or network is to boot the disk image via the grub initrd mechanism.&lt;br /&gt;
&lt;br /&gt;
Be aware that IBM officially does '''not''' support this! The official statement to my support request was:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I'm afraid we only support the options listed on our web page and no you&lt;br /&gt;
can't burn a CD/DVD, however you can try to use an external USB FDD&lt;br /&gt;
(floppy) drive. The experts recommend a IBM USB FDD, however they have also&lt;br /&gt;
tested it with a Sony USB FDD drive.&lt;br /&gt;
&lt;br /&gt;
In order to make sure the drive is recognised you can boot up the FDD with&lt;br /&gt;
a bootable dos diskette for w98&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But it seems to be possible as Mathias Dalheimer describes this [http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/1998-January/009743.html here].&lt;br /&gt;
&lt;br /&gt;
Another indication that it should work is that IBM uses PHLASH16.EXE (at least on T4x/p systems) to flash the BIOS into the chip. The same tool is used by [http://www.samsungpc.com/gb/support/p35/bios/bios-instructions.html other vendors] to flash the BIOS from bootable CD-ROMs.&lt;br /&gt;
{{WARN|Do '''not''' use the [http://syslinux.zytor.com/ SYSLINUX] image-loader [http://syslinux.zytor.com/memdisk.php MEMDISK] to boot the images! Some flash tools crash in that situation!}}&lt;br /&gt;
&lt;br /&gt;
Some interesting but very technical information about the used flash tool can be found [http://www.paul.sladen.org/thinkpad-r31/wifi-card-pci-ids.html here].&lt;br /&gt;
&lt;br /&gt;
===Creating a Floppy Image===&lt;br /&gt;
If you have created a boot floppy on another machine, you need to create an image file of that floppy. This can be easily done in linux by running a command line:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|1=dd bs=2x80x18b if=/dev/fd0 of=/tmp/floppy.img}}&lt;br /&gt;
&lt;br /&gt;
You can also create a floppy image by using Ken Kato's [http://chitchat.at.infoseek.co.jp/vmware/vfd.html VMware's back]. It is a free Windoze tool that creates a virtual floppy drive and allows you to produce an image file ready to be ISO'ed. Note: you might have to 'manually' (through application's interface) assign the virtual drive a volume letter in order to be seen by IBM's application (as, by default, it seems not to do it).&lt;br /&gt;
&lt;br /&gt;
You should verify this {{path|floppy.img}} as explained above.&lt;br /&gt;
&lt;br /&gt;
===Creating a Bootable CD from a Floppy Image===&lt;br /&gt;
Once you have your floppy image, either from imaging a real floppy, or from extracting them via the cabextract method above, you need to make a boot CD out of it.&lt;br /&gt;
&lt;br /&gt;
The eltorito bootable CD standard is a wonderful thing.  What this means is that a bootable CD can be made with a bootable floppy in such as way that the CD believes that it is a 2.88 MB floppy drive.  This allows you to replace a boot floppy by a boot CD in nearly all situations.&lt;br /&gt;
&lt;br /&gt;
It is very easy to create such a bootable CD ISO image in Linux using the mkisofs tool.  To do this run a command as follows:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|mkisofs -b bootfloppy.img -o bootcd.iso bootfloppy.img}}&lt;br /&gt;
&lt;br /&gt;
Note: This creates a CD with one file on it and marks that file as the boot image.  For more info on this read {{cmduser|man mkisofs}}.&lt;br /&gt;
&lt;br /&gt;
You can now burn the {{path|bootcd.iso}} in your favorite CD burning program.&lt;br /&gt;
&lt;br /&gt;
To get an overview which models have been tested with this version, here is a list:&lt;br /&gt;
&lt;br /&gt;
===Does work:===&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
| '''Model''' || '''Tested by'''&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600E}} (2645-4AU) ||&lt;br /&gt;
*George Tellalov &amp;lt;gtellalov_dontspamme@bigfoot.com&amp;gt;. BIOS 1.16 from spsdin36.exe worked perfectly with the method bootable cd from floppy image. I highly recommend this upgrade because it made my ibm-acpi module load (it wouldn't load before) and fixed some suspend to ram problems. Here's the [http://george.tellalov.info/bios_upgrade_600e_spsdin36.iso cd image] I used. Use at your own risk. You can send me a chocolate if it works for you ;)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600E}} (2645-5bU) ||&lt;br /&gt;
*Mike Vincent&amp;lt;matchstc-putobvioushere.com&amp;gt;. Bios 1.16 from spsdin36.exe and then to the boot cd worked great for me. Thought I had bricked it three separate times using a &amp;quot;real&amp;quot; floppy! Each from different diskettes .The updater would start, give me the &amp;quot;going to take30 seconds&amp;quot; speech...and then access the HD for 10 minutes. Each time it would reboot fine. Did the cd as described above...worked great first time. Perhaps 10 year old seldom used floppy disc drives have some challenges?&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600X}} (2645) ||&lt;br /&gt;
*Jonathan Byrne &amp;lt;jonathan@RemoveThisToMailMe.yamame.org&amp;gt;. BIOS 1.11 from spsuit55.exe worked perfectly using cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600X}} (2645) ||&lt;br /&gt;
*Andy Barnes &amp;lt;andy@RemoveThisToMailMe.itchypaws.co.uk&amp;gt;. As per Jonathan above, extracted BIOS 1.11 from spsuit55.exe using cabextract, created a CD boot image and burnt to CD.  Worked flawlessly - thanks to everyone who contributed to this article!&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A20p}} (2629-6VU) ||&lt;br /&gt;
*Chris Pickett http://www.sable.mcgill.ca/~cpicke/. BIOS 1.11 flashed fine with cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A21e}} (2628-JXU) ||&lt;br /&gt;
*Amit Gurdasani &amp;lt;gurdasani at yahoo dot com&amp;gt;. BIOS 1.13 flashed fine with cabextract/CD method. Alarmingly, after the BIOS update, the laptop beeped but did not shut down as was indicated onscreen -- that was frozen on the &amp;quot;do not shut down the laptop&amp;quot; screen. On power down and up again, the BIOS setup showed the newer BIOS image running, and Linux booted up fine. Linux ACPI didn't complain about the BIOS being too old either.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A31p}} (2653) ||&lt;br /&gt;
*Matthias Meinke largeeddy@gmx.at, BIOS 1.09 1NET15WW flashed fine with cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A31}} (2652) ||&lt;br /&gt;
*[[User:Wnoise|Aaron Denney]], BIOS 1.13 flashed fine with cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{R30}}  ||&lt;br /&gt;
*Jarrod, 30 August 2007, Thinkpad R30 Type 2656-E0M. BIOS updated to 1.40 (1CETF0WW) using floppy disk/mkisofs/cdrecord. Worked fine, no problems. &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{R31}} ||&lt;br /&gt;
*[http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/1998-January/009743.html Mathias Dalheimer]&lt;br /&gt;
*Sebastian Sauer (with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R40}} ||&lt;br /&gt;
*Matthew Lambie, http://lambie.org&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R50}} (1836-3SU) ||&lt;br /&gt;
*jlbartos &amp;lt;jlbartos at hotmail dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R50e}} (1834-PTG) ||&lt;br /&gt;
*item &amp;lt;item at freemail dot hu&amp;gt; : successfully finished with cabextract/CD method for &amp;quot;1wuj25us.exe&amp;quot; (BIOS version 1WET90WW (2.10), Release Date: 2006/12/22)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (1829) ||&lt;br /&gt;
*Robert Uhl &amp;lt;rob dot uhl at gmx dot de&amp;gt;, Jellby &amp;lt;jellby at yahoo dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (1830-RM7) ||&lt;br /&gt;
*Will Parker &amp;lt;stardotstar at sourcepoint dot com dot au&amp;gt; successfully flashed 3.20 using existing 3.04 ECP and retained custom boot splash.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (2887) ||&lt;br /&gt;
*Ingo van Lil &amp;lt;inguin at gmx dot de&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R52}} (1858) ||&lt;br /&gt;
*Stuart McCord &amp;lt;stuart dot mccord at gmail dot com&amp;gt;  flashed both BIOS and ECP using cabextract, BIOS flashed first as on IBM website&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T20}} ||&lt;br /&gt;
*Franz Hassels &amp;lt;fhassel at suse dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T22}} ||&lt;br /&gt;
*Daniel Maier &amp;lt;nusse teamidiot de&amp;gt;&lt;br /&gt;
*Mathias Behrle (with cabextract/CD method, Version 1.07 =&amp;gt; 1.12) --[[User:Mathiasb|Mathiasb]] 11:58, 14 December 2006 (CET)&lt;br /&gt;
*Bob Skaroff (cabextract/CD), 1.06 =&amp;gt; 1.12&lt;br /&gt;
*Leo Butler (cabextract/CD), 1.11 =&amp;gt; 1.12 &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T23}} ||&lt;br /&gt;
*Bart Snapp &amp;lt;snapp at uiuc dot edu&amp;gt; Note: I followed IBM's instructions to flash the BIOS *first* and the Embedded Controller *second*.&lt;br /&gt;
*Moy Easwaran: BIOS 1.18 / EC 1.06a via cabextract and CD-boot.  The BIOS-update exe generated errors in Windows 2000.&lt;br /&gt;
*Joe Renes: BIOS 1.18 / EC 1.06a on 2006-03-20 via cabextract and CD-boot. Piece of cake.&lt;br /&gt;
*Raphael Errani: BIOS 1.20 / EC 1.06a on 2006-11-06 via cabextract and CD-boot (using mkisofs). Worked without errors. 1st Bios, 2nd EC&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T30}} ||&lt;br /&gt;
*Martin GÃ¼hring &amp;lt;guehring at gmail.com&amp;gt; BIOS 2.10 via cabextract the Non-Diskette BIOS -&amp;gt; mkisofs '''in the directory the exe was extracted''' to generate the iso -&amp;gt; burn the iso -&amp;gt; boot the CD&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{T40}} ||&lt;br /&gt;
*Sean Dague, http://dague.net&lt;br /&gt;
*Justin Mason, http://jmason.org&lt;br /&gt;
*Ivanhoe (Bios 3.19)&lt;br /&gt;
*Alessandro Raulino (roger_2) EC 3.04 &amp;amp; BIOS 3.23 flashed with cabextract/CD method&lt;br /&gt;
*Nick Jenkins, using BIOS 3.23 with the [[#The_Non_Diskette_Updater|Non-diskette updater + cabextract method]], then [[#Creating_a_Bootable_CD_from_a_Floppy_Image|created a bootable CD from the cabextracted .IMG file]], then boot that ISO, and it worked great!&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T40p}} ||&lt;br /&gt;
*Lukas KrÃ¤henbÃ¼hl, ismo at pop dot agri dot ch&lt;br /&gt;
*Thomas Achtemichuk, tom at tomchuk dot com. BIOS 3.15 flashed fine with cabextract/CD method&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{T41}} ||&lt;br /&gt;
*Lev Givon (Bios 3.15 / EC 3.04) &amp;lt;lev at columbia dot edu&amp;gt;&lt;br /&gt;
*Ernesto HernÃ¡ndez-Novich (Bios 3.19 / CP 3.04) &amp;lt; emhn at usb dot ve &amp;gt;&lt;br /&gt;
*[http://maebmij.org James Ballantine] (Bios 3.21 / CP 3.04) using nondisk/cabextract/CDRW&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T41p}} ||&lt;br /&gt;
*Nils Newman, work great. (Version: Bios 3.14 / Embedded Controller 3.04)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T42}} ||&lt;br /&gt;
*Dan (BIOS 3.20 / EC 3.04, cabextract/CD method) &amp;lt;tronic171 at evilphb.org&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T42p}} ||&lt;br /&gt;
*Robert Schiele &amp;lt;rschiele@uni-mannheim.de&amp;gt;, Joern Heissler &amp;lt;joern@heissler.de&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T43}}  ||&lt;br /&gt;
*Conrad Rentsch &amp;lt;Conrad dot Rentsch at t-online dot de&amp;gt; (Version: Bios 1.29 / Embedded Controller 1.06)&lt;br /&gt;
*Tom Heady &amp;lt;tom-thinkwiki.org@punch.net&amp;gt;&lt;br /&gt;
*Florian Boucault &amp;lt;florian at boucault dot ath dot cx&amp;gt; (Model : 1871-W34 &amp;amp; Version: Bios 1.23 / Embedded Controller 1.03)&lt;br /&gt;
*Till Heikamp &amp;lt;t dot heikamp at geniusbytes dot com&amp;gt; (Model 2886, Bios 1.22 to 1.29, Embedded Controller 1.03 to 1.06)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T60}}  ||&lt;br /&gt;
*Roman Komkov &amp;lt;roman  at komkov dot org dot ru&amp;gt; (Model 1951, Bios 1.07 to 2.13) Successfully upgraded from CD Image&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X20}}  ||&lt;br /&gt;
*Neil Caunt &amp;lt;retardis at gmail dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X21}}  ||&lt;br /&gt;
*Patrick Leickner &amp;lt;ranma at web dot de&amp;gt;, (BIOS 2.21-&amp;gt;2.25 / EC 1.31-&amp;gt;1.36) via non-disk/cabextract/mkisofs/cdrecord&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X22}}  ||&lt;br /&gt;
*David Emery &amp;lt;dave at skiddlydee dot com&amp;gt;,  (EC 1.30, BIOS 1.32 using non-disk/cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X23}}  ||&lt;br /&gt;
*Nils Faerber &amp;lt;nils dot faerber at kernelconcepts dot de&amp;gt; (Embedded Controller 1.30, BIOS 1.32 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X30}}  ||&lt;br /&gt;
*Hella Breitkopf, [http://www.unixwitch.de/ www]  (Embedded Controller 1.04, BIOS 1.07 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X31}}  ||&lt;br /&gt;
*Grzegorz KuÅ›nierz &amp;lt;koniu at sheket dot org&amp;gt;  (Embedded Controller 1.08, BIOS 3.01 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X40}}  ||&lt;br /&gt;
*Robbie Stone &amp;lt;robbie@serendipity.cx&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{Z60m}}  ||&lt;br /&gt;
*[[User:Morle|Morle]] 13:09, 20 May 2006 (CEST),  (Embedded Controller 1.14 with cabextract/CD method)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Does not work:===&lt;br /&gt;
{|&lt;br /&gt;
| '''Model''' || '''Tested by'''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Please note that testing this is '''at your own risk'''!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Updating via Grub and a Floppy Image==&lt;br /&gt;
&lt;br /&gt;
{{WARN|Many have warned '''not''' to use the [http://syslinux.zytor.com/ SYSLINUX] image-loader [http://syslinux.zytor.com/memdisk.php MEMDISK] to boot the images! Some flash tools may crash in that situation!  Proceed at your own risk!}}&lt;br /&gt;
&lt;br /&gt;
Floppy images may be booted from Grub via a utility called [http://syslinux.zytor.com/memdisk.php MEMDISK], which may be compiled from the [http://www.kernel.org/pub/linux/utils/boot/syslinux/ '''SYSLINUX source'''].  Copy the compiled memdisk image and the floppy image to your boot directory and configure grub as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
title     Bios Flash&lt;br /&gt;
kernel    /boot/memdisk&lt;br /&gt;
initrd    /boot/FILENAME.img&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, proceed at your own risk.  This was tested on an R51 type 2888.&lt;br /&gt;
&lt;br /&gt;
This also worked for me on a T41p type 2373. -- [[User:MrStaticVoid|James Lee]] 20:55, 8 May 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
And it worked for me on a X31 type 2673-CBU. -- [[User:JanTopinski|Jan Topinski]], 18 September 2006 &lt;br /&gt;
&lt;br /&gt;
And it worked for me too on a X31 type 2672-CXU, very useful. -- [[User:TheAnarcat|TheAnarcat]] 16:21, 7 March 2007 (CET)&lt;br /&gt;
&lt;br /&gt;
Same here (worked) on a X31 type 2673-58G --[[User:FaUl|FaUl]] 15:53, 20 June 2007 (UTC)FaUl&lt;br /&gt;
&lt;br /&gt;
Works well on a X31 type 2672-PG9, but with a big moment between starting update and the updating window -- [[User:Starox|Starox]] 22 Jul 2007&lt;br /&gt;
&lt;br /&gt;
And it worked for me on two X40 type 2371 -- [[User:Antialize|Jakob Truelsen]], 19 Jan 2007 -- BIOS: 2.07 1uuj21us.exe -- ECP: 1.62 1uhj10us.exe&lt;br /&gt;
&lt;br /&gt;
Not working for me on T43 type 2668-F7G -- [[User:Maus3273|Maus3273]] 20:48, 30 January 2007 (CET) -- BIOS: 1.29 1YUJ18US.IMG -- I got into the bios program, but the machine never restarts after initiating the upgrade.&lt;br /&gt;
&lt;br /&gt;
X41 type 2525-F8G -- [[User:ladoga|Lauri Koponen]], 11:08 16 Apr 2007&amp;lt;br&amp;gt; &lt;br /&gt;
BIOS: 2.09 (74UJ15US.IMG), is no go. (hangs while initialising the actual flashing process) I tried with 2.07 (74UJ13US.IMG) and 2.06 (74UJ12US.IMG) aswell and they all failed in the very same fashion.&amp;lt;br&amp;gt;&lt;br /&gt;
ECP: 1.02 74HJ03US.IMG, works.&lt;br /&gt;
&lt;br /&gt;
It works fine on R30 type 2656-64g, BIOS v.1.40 -- [[User:english.voodoo|Yuri Spirin]], 10 May 2007.&lt;br /&gt;
&lt;br /&gt;
==Updating with Network Boot Image==&lt;br /&gt;
&lt;br /&gt;
BIOS, Embedded Controller (EC), CD/DVD and Harddisk firmware disks can be booted&lt;br /&gt;
over the network with [http://syslinux.zytor.com/pxe.php PXELINUX] as part of the [http://syslinux.zytor.com/ SYSLINUX] package.&lt;br /&gt;
&lt;br /&gt;
This requires that you have a DHCP and tftp server configured and setup properly on&lt;br /&gt;
your network, and is probably not for the faint of heart.&lt;br /&gt;
&lt;br /&gt;
Make sure the firmware bootdisk is in linux 'dd' format, as the self-extracting .exe disks&lt;br /&gt;
from the IBM website cannot be booted directly as such.&lt;br /&gt;
&lt;br /&gt;
This worked on the {{R31}}, {{X22}}, {{T21}}, {{T30}} and {{T41p}} with various firmware updates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On {{X22}}, works with EC 1.30 but NOT with BIOS 1.32&lt;br /&gt;
&lt;br /&gt;
==Updating via &amp;quot;IBM Predesktop area&amp;quot;, suitable for model X (not have CDROM and floppy)==&lt;br /&gt;
It's so difficult to update BIOS and ECP without cdrom, floppy disk.&lt;br /&gt;
Don't know the reason why I couldn't update BIOS and ECP(1QHJ08US and 1QUJ19US) for my IBM Thinkpad X31.Hmm, may be cause of the dividing partition on my hard disk, that is: 	&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
Primary: ext3, ext3, ntfs&lt;br /&gt;
Extended: Ntsf, fat32&lt;br /&gt;
Bootloader: GRUB&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No problem, you can use this way to do it:&lt;br /&gt;
* First, config in BIOS&lt;br /&gt;
In Security part:&lt;br /&gt;
# Remove all password of Subpervisor and Power on password&lt;br /&gt;
# Set Access IBM Predesktop Area to Normal&lt;br /&gt;
# Choose Enable &amp;quot;Flash BIOS updating by End User&amp;quot; in BIOS update Option.&lt;br /&gt;
&lt;br /&gt;
In Config part:&lt;br /&gt;
# Choose Enable for Network flash over Lan&lt;br /&gt;
&lt;br /&gt;
* Second, download the newest version of BIOS update and ECP update &lt;br /&gt;
Running: The program extract all files to the folder. There is a .img file (1QUJ19US.IMG, 1QUJ08US.IMG) in each folder.&lt;br /&gt;
Copy the imformation content in that img file and paste it to one FAT partition(using winimage or TotalCmd to extract) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
as seen All files in 1QUJ19US.IMG is extracted to D:\BIOS&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
695,764  $018E000.FL1&lt;br /&gt;
163      0691.HSH&lt;br /&gt;
2,049    0691.PAT&lt;br /&gt;
163      0694.HSH&lt;br /&gt;
2,049    0694.PAT&lt;br /&gt;
163      0695.HSH&lt;br /&gt;
2,049    0695.PAT&lt;br /&gt;
2,049    06D0.PAT&lt;br /&gt;
163      06D1.HSH&lt;br /&gt;
2,049    06D1.PAT&lt;br /&gt;
163      06D2.HSH&lt;br /&gt;
2,049    06D2.PAT&lt;br /&gt;
163      06D6.HSH&lt;br /&gt;
2,049    06D6.PAT&lt;br /&gt;
2,049    06D8.PAT&lt;br /&gt;
697      CHKBMP.EXE&lt;br /&gt;
8,128    COMMAND.COM&lt;br /&gt;
26       CONFIG.SYS&lt;br /&gt;
24,860   FLASH2.EXE&lt;br /&gt;
26       LCREFLSH.BAT&lt;br /&gt;
170      LOGO.BAT&lt;br /&gt;
330      LOGO.SCR&lt;br /&gt;
111,925  PHLASH16.EXE&lt;br /&gt;
91,648   PREPARE.EXE&lt;br /&gt;
45       PROD.DAT&lt;br /&gt;
22,252   QKFLASH.EXE&lt;br /&gt;
9,923    README.TXT&lt;br /&gt;
4,260    TPCHKS.EXE&lt;br /&gt;
39,666   UPDTFLSH.EXE&lt;br /&gt;
6,958    UPDTMN.EXE&lt;br /&gt;
12,501   USERINT.EXE&lt;br /&gt;
15,254   UTILINFO.EXE&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And all files in 1QUJ08US.IMG are: D:\ECP&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
315,404 $018E000.FL2&lt;br /&gt;
8,000   COMMAND.COM&lt;br /&gt;
36      CONFIG.SYS&lt;br /&gt;
16,910  ECFLASH2.EXE&lt;br /&gt;
45      PROD.DAT&lt;br /&gt;
17,812  QKFLASH.EXE&lt;br /&gt;
990     README.TXT&lt;br /&gt;
4,260   TPCHKS.EXE&lt;br /&gt;
89,738  UPDTEC.EXE&lt;br /&gt;
31,134  UPDTFLSH.EXE&lt;br /&gt;
12,501  USERINT.EXE&lt;br /&gt;
15,226  UTILINFO.EXE&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Okie, now plug AC Adapter, charge full battery to your laptop and continue third step:&lt;br /&gt;
&lt;br /&gt;
** '''Flash BIOS first,'''&lt;br /&gt;
1. Power On, press blue button on keyboard: '''Access IBM'''&lt;br /&gt;
&lt;br /&gt;
2. On &amp;quot;Utilities&amp;quot;, double click &amp;quot; Diagnostic disk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
3. Your laptop will start PC-DOS, wait when this message appear:&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
Please insert the first floppy diskette and&lt;br /&gt;
Press any key to continue&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Press Ctrl + Break, you will see :&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;Terminate batch job (Y/N) ?&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Okie, press Y, you will get DOS prompt like D:\&lt;br /&gt;
{{NOTE|D:\ is my RAMDISK, C:\ is my disk format as FAT.!}}&lt;br /&gt;
&lt;br /&gt;
6. Enter to c:\BIOS&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
c:&lt;br /&gt;
cd c:\BIOS&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. Run FLASH2.EXE /u $018E000.FL1&lt;br /&gt;
&lt;br /&gt;
8. Wait flash progress compelete and reboot.&lt;br /&gt;
** '''Flash ECP'''&lt;br /&gt;
Follow above instruction from step 1 to 5&lt;br /&gt;
&lt;br /&gt;
6. Enter to c:\ECP&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
c:&lt;br /&gt;
cd c:\ECP&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. run UPDTFLSH.EXE $018E000.FL2&lt;br /&gt;
&lt;br /&gt;
8. Follow UPDTFLSH's instructions&lt;br /&gt;
&lt;br /&gt;
9. Wait flash complete and auto turn off computer.&lt;br /&gt;
&lt;br /&gt;
I done it on my IBM Thinkpad X31.&lt;br /&gt;
&lt;br /&gt;
Enjoy,&lt;br /&gt;
&lt;br /&gt;
Tested by nm.&lt;br /&gt;
&lt;br /&gt;
==Check List==&lt;br /&gt;
&lt;br /&gt;
The following is important to remember:&lt;br /&gt;
# You must update '''both''' the Control Program and the BIOS at the same time if your current Control Program is not compatible with the new BIOS (see below)&lt;br /&gt;
# You must find versions of the Control Program and BIOS that are compatible.  Not all of them are, so follow the readmes on the IBM website carefully to determine which are.&lt;br /&gt;
# You must update the Control Program '''before''' you update the BIOS&lt;br /&gt;
&lt;br /&gt;
When the Control Program '''and''' the BIOS need updating, have both update disks or CDs ready. Update the Control Program first and the system should switch itself off when finished. Insert the BIOS update disk and proceed to update the BIOS. When it's all finished, enter setup, reset the settings to their defaults and reboot. Enter setup again and tweak the settings as necessary.&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=BIOS_Upgrade&amp;diff=33527</id>
		<title>BIOS Upgrade</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=BIOS_Upgrade&amp;diff=33527"/>
		<updated>2007-09-29T05:58:58Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* The Non Diskette Updater */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
This page is meant to describe ways to update the BIOS on a ThinkPad that only runs Linux for users that don't have ready access to Windows. If you have Windows on your ThinkPad you can just boot into it and follow instructions on the IBM website.&lt;br /&gt;
&lt;br /&gt;
{{NOTE| In one case ([[APM setup on a type 2379 ThinkPad T40]]) it was not possible to upgrade the BIOS from Windows XP; a downgrade to Windows 98 was required to successfully run the BIOS upgrade app. The symptoms in this case were that, once the files had been extracted to the hard disk, and the machine was to reboot into the upgrade app, it would beep and hang just before reboot, requiring a power cycle. Once the power was cycled, it would simply reboot back into XP without performing any BIOS upgrade actions. So even if you have Windows, you may still need to use the info on this page.}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
==Before You Begin==&lt;br /&gt;
Updating the BIOS in Linux (with few exceptions) '''is not officially supported''' by IBM/Lenovo.  However there are work arounds.&lt;br /&gt;
&lt;br /&gt;
{{WARN|By following any of the instructions here you are accepting the '''very real risk''' of turning your thinkpad into a big expensive paper weight, as a firmware update gone wrong can create unfixable problems.&lt;br /&gt;
&lt;br /&gt;
'''Proceed at your own risk!'''&lt;br /&gt;
&lt;br /&gt;
It is also '''important''' to understand that all modern Thinkpads have 2 seperate firmwares, the BIOS and the Control Program. A specific version of the Control Program will only work with specific versions of the BIOS.  The IBM documentation is sometimes confusing about the order of update.  Updating the Control Program first, then the BIOS seems to be the correct order on most, but not all Thinkpads. However, newer models from Lenovo update both at the same time, so you don't have to worry about. Make sure to do the separate updates immediately following each other, otherwise you risk turning your Thinkpad into a very nice paper weight.}}&lt;br /&gt;
&lt;br /&gt;
==BIOS Upgrade Paths==&lt;br /&gt;
&lt;br /&gt;
For every firmware (either BIOS or Control Program) update on the IBM site there used to be two different firmware update programs provided. The Diskette Updater and the Non Diskette Updater. For newer Lenovo Models the Diskette Updater is replaced with a bootable CD-Image and the The Non Diskette Updater is renamed BIOS Update Utility, both update the BIOS and the Control Program at the same time. A list of links to firmware downloads can be found at [[BIOS Upgrade Downloads]] for nearly all Thinkpad Models.&lt;br /&gt;
&lt;br /&gt;
===The Diskette Updater===&lt;br /&gt;
&lt;br /&gt;
This installer appears to be a 16bit dos program which asks you to accept a license agreement.  It will run in Windows, DOS, OS/2, or [http://dosemu.sf.net Dosemu] perfectly, but requires a real floppy disk attached via a real floppy control.  The USB Floppy Drive to the new Thinkpads doesn't count.&lt;br /&gt;
&lt;br /&gt;
===The Bootable CD Image===&lt;br /&gt;
&lt;br /&gt;
This should be the easiest way for non-Windows users and also maybe a more secure way for Windows users, too. As the Image is provided as a plain ISO-file without any windows enclosure, you can simply burn it to a CD-R/RW with any modern operation system, as long as you have a CD/DVD-RW Drive and then are able to boot from it.&lt;br /&gt;
&lt;br /&gt;
===The Non Diskette Updater===&lt;br /&gt;
{{WARN|Though this process was successfully tested on one version of .exe files found on IBMs website this doesn't mean it will work for all of them.  Use at your own risk.}}&lt;br /&gt;
&lt;br /&gt;
This installer appears to be a 32bit windows exe which is designed for updating the BIOS directly from a running Windows OS.  It turns out that the .exe is really a wrapper license program arround windows .cab files (this information is in [[How_to_change_the_BIOS_bootsplash_screen|BIOS-Bootsplash]]).  If you install the Linux program [http://freshmeat.net/projects/cabextract/ '''cabextract'''] you can expand these files directly.  Run the following:&lt;br /&gt;
&lt;br /&gt;
:{{cmduser|cabextract FILENAME.exe}}&lt;br /&gt;
&lt;br /&gt;
You will get 8 files in the current directory.  One of them will be FILENAME.img.  You can test that this is really a floppy image by running:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|mkdir mntfloppy}}&lt;br /&gt;
:{{cmdroot|mount -o loop FILENAME.img mntfloppy}}&lt;br /&gt;
:{{cmdroot|ls -la mntfloppy}}&lt;br /&gt;
&lt;br /&gt;
If the results of {{cmdroot|ls -la mntfloppy}} look like a dos floppy, and no read errors were displayed, you have a pretty good chance that the floppy image is usable.&lt;br /&gt;
&lt;br /&gt;
After you are done, unmount the floppy image:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|umount mntfloppy}}&lt;br /&gt;
&lt;br /&gt;
If you were able to create the boot floppy per the Diskette update method, and you have a Floppy with your Thinkpad, the update should be simple.&lt;br /&gt;
&lt;br /&gt;
== Updating Thinkpad X Series ==&lt;br /&gt;
&lt;br /&gt;
X Series Thinkpads do not have an internal drive. If there is no Windows installed, the BIOS must be updated by booting from an USB drive or a drive that is integrated in the docking station. Since a while Lenovo provides BIOS updates in form of bootable CD images. Unfortunately, these images are intended to be used with the docking station's CD drive. If you do not own such a drive, things get complicated.&lt;br /&gt;
&lt;br /&gt;
The problem is that current BIOS updates are quite large, about 3 MB in size. Booting from CDs typically works like booting from a 1.44 MB or 2.88 MB floppy disk. The floppy image is stored on the CD and is referenced in the CD's boot record. Because the BIOS update file are that large, they do not fit on such a floppy image. Thus, they must be stored on the CD outside the virtual floppy image. To access these files a driver for the CD drive has to be loaded. Since Lenovo's CD images are intended to be used with a docking station's CD drive, it is not possible to use them for BIOS updates by booting from an USB CD drive.&lt;br /&gt;
&lt;br /&gt;
But there is hope. The CD images provided by Lenovo can be modified such that they contain drivers for USB CD drives. I tested the following with a Thinkpad {{X60s}}.&lt;br /&gt;
&lt;br /&gt;
The idea is to take Lenovo's ISO CD image and modify it such that a USB CD drive can be used instead the CD drive in the docking station. Unfortunately, simply replacing the drivers is not enough. While doing the BIOS update, the USB ports seem to get disabled or something. Therefore, before starting the update process the CD contents have to be copied to a RAM disk. I will describe the procedure step by step.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Download the ISO image style BIOS update from Lenovo's website. This file will be refered to as &amp;lt;tt&amp;gt;/tmp/bios-lenovo.iso&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Extract the floppy image from this ISO image. You can use the following shell script for this task (or an alternative one from [http://userpages.uni-koblenz.de/~krienke/ftp/noarch/geteltorito/]). Simply save this code into the file &amp;lt;tt&amp;gt;/tmp/extractbootimage.sh&amp;lt;/tt&amp;gt;, set the x-flag (&amp;lt;tt&amp;gt;chmod +x /tmp/extractbootimage.sh&amp;lt;/tt&amp;gt;) and call it using the command &amp;lt;tt&amp;gt;/tmp/extractbootimage.sh /tmp/bios-lenovo.iso /tmp/bios-lenovo.img&amp;lt;/tt&amp;gt;. The floppy image contained in the ISO image will then be saved to &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img&amp;lt;/tt&amp;gt;. Here is the code of the shell script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
# This script extracts the floopy boot image from bootable ISO images&lt;br /&gt;
#&lt;br /&gt;
# Written by Joachim Selke (mail@joachim-selke.de), 2007-04-07&lt;br /&gt;
&lt;br /&gt;
ISOFILE=$1&lt;br /&gt;
IMAGEFILE=$2&lt;br /&gt;
&lt;br /&gt;
if [ ! -r $ISOFILE ]; then&lt;br /&gt;
        echo $ISOFILE: file does not exist or is not readable&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ -z $IMAGEFILE ]; then&lt;br /&gt;
        echo Error: no image file specified&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
ISOFILESIZE=`stat -c %s $ISOFILE`&lt;br /&gt;
&lt;br /&gt;
# collect El Torito data&lt;br /&gt;
# see http://www.phoenix.com/NR/rdonlyres/98D3219C-9CC9-4DF5-B496-A286D893E36A/0/specscdrom.pdf for reference&lt;br /&gt;
&lt;br /&gt;
BOOTCATALOGPOINTERBYTE=$((17 * 0x800 + 0x47))&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $(($BOOTCATALOGPOINTERBYTE + 4)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# absolute pointer to first sector of boot catalog:&lt;br /&gt;
BOOTCATALOG=`od -A n -t x4 -N 4 -j $BOOTCATALOGPOINTERBYTE $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
BOOTCATALOGBYTE=$((0x$BOOTCATALOG * 0x800))&lt;br /&gt;
&lt;br /&gt;
echo Boot catalog starts at byte $BOOTCATALOGBYTE&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $(($BOOTCATALOGBYTE + 32 + 2)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# media type of boot image&lt;br /&gt;
# only floppy disk images are supported by this script&lt;br /&gt;
BOOTMEDIATYPE=`od -A n -t x1 -N 1 -j $(($BOOTCATALOGBYTE + 32 + 1)) $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
if [ $BOOTMEDIATYPE -eq 1 ]; then&lt;br /&gt;
        echo Boot media type is 1.2M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((1200 / 2))&lt;br /&gt;
elif [ $BOOTMEDIATYPE -eq 2 ]; then&lt;br /&gt;
        echo Boot media type is 1.44M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((1440 / 2))&lt;br /&gt;
elif [ $BOOTMEDIATYPE -eq 3 ]; then&lt;br /&gt;
        echo Boot media type is 2.88M floppy disk&lt;br /&gt;
        IMAGEBLOCKS=$((2880 / 2))&lt;br /&gt;
else&lt;br /&gt;
        echo Boot media type is $((0x$BOOTMEDIATYPE)). This type is not supported yet.&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
# absolute pointer to start of boot image&lt;br /&gt;
BOOTIMAGE=`od -A n -t x4 -N 4 -j $(($BOOTCATALOGBYTE + 32 + 8)) $ISOFILE | tr -d [:blank:]`&lt;br /&gt;
&lt;br /&gt;
BOOTIMAGEBYTE=$((0x$BOOTIMAGE * 0x800))&lt;br /&gt;
&lt;br /&gt;
echo Boot image starts at byte $BOOTIMAGEBYTE&lt;br /&gt;
&lt;br /&gt;
if [ $ISOFILESIZE -lt $((0x$BOOTIMAGE * 0x800 + $IMAGEBLOCKS * 0x800)) ]; then&lt;br /&gt;
        echo ISO file is too short, possibly damaged&lt;br /&gt;
        exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
echo Extracting boot image ...&lt;br /&gt;
&lt;br /&gt;
dd if=$ISOFILE of=$IMAGEFILE bs=2K count=$IMAGEBLOCKS skip=$((0x$BOOTIMAGE))&lt;br /&gt;
&lt;br /&gt;
echo Finished&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Mount the floppy image '''as root''' using the loop device:&lt;br /&gt;
:{{cmdroot|mkdir /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
:{{cmdroot|mount -o loop /tmp/bios-lenovo.img /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
The image is now mounted as &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Download needed drivers. First download some [http://panasonic.co.jp/pcc/products/drive/other/driver/f2h_usb.exe USB drivers] from Panasonic Japan. Save the file to &amp;lt;tt&amp;gt;/tmp/f2h_usb.exe&amp;lt;/tt&amp;gt; This file is a self-extracting EXE file, that can be executed under Linux using [http://www.winehq.com/ Wine]:&lt;br /&gt;
:{{cmduser|wine /tmp/f2h_usb.exe}}&lt;br /&gt;
You will be asked where to save the extracted files. Choose &amp;lt;tt&amp;gt;/tmp&amp;lt;/tt&amp;gt;. A new directory &amp;lt;tt&amp;gt;/tmp/F2h&amp;lt;/tt&amp;gt; containing the needed drivers will be created.&lt;br /&gt;
&lt;br /&gt;
Additionally, you will need drivers for the RAM disk mentioned. Download them from the [http://sourceforge.net/projects/srdisk ReSizeable RAMDisk project]. Unzip them to &amp;lt;tt&amp;gt;/tmp/srdisk&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Let's modify the floppy image:&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/Usbaspi.sys /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/USBCD.SYS /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/F2h/RAMFD.SYS /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/srdisk/srdxms.sys /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
:{{cmduser|cp /tmp/srdisk/srdisk.exe /tmp/bios-lenovo.img-mnt/}}&lt;br /&gt;
Now add the following lines to &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt/config.sys&amp;lt;/tt&amp;gt; replacing the line &amp;lt;tt&amp;gt;DEVICE = A:\IBMTPCD.SYS /R /C&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DEVICE = A:\SRDXMS.SYS&lt;br /&gt;
DEVICE = A:\RAMFD.SYS&lt;br /&gt;
DEVICE = A:\USBASPI.SYS /V&lt;br /&gt;
DEVICE = A:\USBCD.SYS /D:TPCD001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Finally, edit the file &amp;lt;tt&amp;gt;/tmp/bios-lenovo.img-mnt/autoexec.bat&amp;lt;/tt&amp;gt; replacing the last line (saying &amp;lt;tt&amp;gt;COMMAND.COM&amp;lt;/tt&amp;gt;) by the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A:\SRDISK 10000&lt;br /&gt;
COPY *.* D:&lt;br /&gt;
D:&lt;br /&gt;
COMMAND.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Maybe the RAM disk gets a drive letter different from D: on your system. In this case, you have to change the above lines accordingly.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Unmount the floppy image (as root):&lt;br /&gt;
:{{cmdroot|umount /tmp/bios-lenovo.img-mnt}}&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Copy the content of the original CD image to a new directory and create a new ISO file:&lt;br /&gt;
:{{cmdroot|mkdir /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmdroot|mount -o loop /tmp/bios-lenovo.iso /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmduser|mkdir /tmp/bios-new.iso-mnt}}&lt;br /&gt;
:{{cmduser|cp /tmp/bios-lenovo.iso-mnt/* /tmp/bios-new.iso-mnt}}&lt;br /&gt;
:{{cmduser|cp /tmp/bios-lenovo.img /tmp/bios-new.iso-mnt/boot.img}}&lt;br /&gt;
:{{cmdroot|umount /tmp/bios-lenovo.iso-mnt}}&lt;br /&gt;
:{{cmduser|mkisofs -relaxed-filenames -b boot.img -o /tmp/bios-new.iso /tmp/bios-new.iso-mnt/}}&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
The file &amp;lt;tt&amp;gt;/tmp/bios-new.iso&amp;lt;/tt&amp;gt; is the modified ISO file. Just burn it to CD and use this CD for updating your BIOS (boot from it using your USB drive). Please give some comments here if it worked for you.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Alternative method using a USB stick===&lt;br /&gt;
&lt;br /&gt;
''Note: none of the above methods worked on my X60s.  This method worked for me, however.'' [[User:PhilipPaeps|PhilipPaeps]] 16:41, 24 August 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
This method was surprisingly painless once I convinced my ThinkPad X60s to boot DOS from a USB stick.  I used VMWare and some mystical tool to get DOS on the stick.  If you can find another way to get a bootable DOS stick, please update this section!&lt;br /&gt;
&lt;br /&gt;
* Tell VMWare to create a virtual floppy image for you and format it under Microsoft Windows and tell it to create a system disk.  You can do this by clicking into &amp;quot;My Computer&amp;quot;, then right-clicking on the &amp;quot;Floppy&amp;quot; icon and selecting &amp;quot;Format&amp;quot;.  In the box that pops up, you need to check the box that says &amp;quot;Create an MS-DOS startup disk&amp;quot; and then click &amp;quot;Start&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* When you've done that, get this tool: http://www.techpowerup.com/downloads/330/mirrors.php and install it.  The tool is apparantly something HP once wrote, but I have been unable to find a link to it anywhere on the HP website.&lt;br /&gt;
&lt;br /&gt;
* In a command prompt again: &amp;lt;code&amp;gt;C:\DriveKey\HPUSBF.EXE E: -Q -B:A:\&amp;lt;/code&amp;gt;, replacing the &amp;lt;code&amp;gt;E:&amp;lt;/code&amp;gt; with the &amp;quot;drive letter&amp;quot; associated with your USB stick (you can find this letter in &amp;quot;My Computer&amp;quot; under &amp;quot;Removable Storage&amp;quot;).  '''WARNING:''' this wipes anything on the USB stick.  You will end up with a USB stick which appears empty at this point, but there is DOS on it somewhere.&lt;br /&gt;
&lt;br /&gt;
* Now mount the BIOS update ISO image from Lenovo as a virtual CDROM using VMWare again and copy the files from it to the USB stick: &amp;lt;code&amp;gt;copy D:\*.* E:\&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
At this point, you may want to fiddle with the splash image, as described elsewhere on ThinkWiki.&lt;br /&gt;
&lt;br /&gt;
* Reboot and press F12, tell the BIOS to boot from your USB stick.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;cd flash&amp;lt;/code&amp;gt; ; &amp;lt;code&amp;gt;updtflsh.exe&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Think happy thoughts.  The ThinkPad will beep quite ominously (and loudly!) a couple of times.  Do not let this worry you too much.  After about three minutes, the program will ask you to press enter to restart and hopefully all will be well.&lt;br /&gt;
&lt;br /&gt;
===Comments===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
I have followed your excellent instructions. The CD booted, the update program ran but stopped working and responding while updating. Luckily the BIOS was not destroyed. Since destroying the BIOS is a very high risk, I am going to recover the original Windows on an old HD and will run the update exe update program from there.&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
I followed these clear instructions, and like the comment above I ended up with a CD that booted but the update program stopped working and responding.  An ALT-CTRL-DELETE rebooted my x60s, and it works so the BIOS must not have been damaged.  I was trying to upgrade from version 2.08 to 2.11, I wonder if these instructions are somehow particular to certain versions?  &lt;br /&gt;
[[User:Latch|Latch]] 01:22, 14 June 2007 (UTC)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
After following the above instructions, the program also stopped working while updating the BIOS. But after changing the drive letter from D: to C: (see code below), it everything worked fine. However, I had some trouble figuring out, which letter to choose over D: at first, as the BIOS Upgrade program started right away.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
A:\SRDISK 10000&lt;br /&gt;
COPY *.* C:&lt;br /&gt;
C:&lt;br /&gt;
COMMAND.COM&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[User:Mtx|Mtx]], 1 August 2007, Thinkpad X61s&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Flashing the bios (2.12) works for me on a X60s (using drive c). Using the DVD-R on an USB-Hub did not work.&amp;lt;br&amp;gt; [[User:Ra|Ra]] 00:15, 21 August 2007 (UTC)&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Updating via CD/DVD Drive==&lt;br /&gt;
&lt;br /&gt;
The whole thing gets more complicated if you neither have Windows nor a floppy drive installed. This is what this page is intended to describe.&lt;br /&gt;
&lt;br /&gt;
Another possibility which works even without a CD-drive or network is to boot the disk image via the grub initrd mechanism.&lt;br /&gt;
&lt;br /&gt;
Be aware that IBM officially does '''not''' support this! The official statement to my support request was:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
I'm afraid we only support the options listed on our web page and no you&lt;br /&gt;
can't burn a CD/DVD, however you can try to use an external USB FDD&lt;br /&gt;
(floppy) drive. The experts recommend a IBM USB FDD, however they have also&lt;br /&gt;
tested it with a Sony USB FDD drive.&lt;br /&gt;
&lt;br /&gt;
In order to make sure the drive is recognised you can boot up the FDD with&lt;br /&gt;
a bootable dos diskette for w98&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But it seems to be possible as Mathias Dalheimer describes this [http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/1998-January/009743.html here].&lt;br /&gt;
&lt;br /&gt;
Another indication that it should work is that IBM uses PHLASH16.EXE (at least on T4x/p systems) to flash the BIOS into the chip. The same tool is used by [http://www.samsungpc.com/gb/support/p35/bios/bios-instructions.html other vendors] to flash the BIOS from bootable CD-ROMs.&lt;br /&gt;
{{WARN|Do '''not''' use the [http://syslinux.zytor.com/ SYSLINUX] image-loader [http://syslinux.zytor.com/memdisk.php MEMDISK] to boot the images! Some flash tools crash in that situation!}}&lt;br /&gt;
&lt;br /&gt;
Some interesting but very technical information about the used flash tool can be found [http://www.paul.sladen.org/thinkpad-r31/wifi-card-pci-ids.html here].&lt;br /&gt;
&lt;br /&gt;
===Creating a Floppy Image===&lt;br /&gt;
If you have created a boot floppy on another machine, you need to create an image file of that floppy. This can be easily done in linux by running a command line:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|1=dd bs=2x80x18b if=/dev/fd0 of=/tmp/floppy.img}}&lt;br /&gt;
&lt;br /&gt;
You can also create a floppy image by using Ken Kato's [http://chitchat.at.infoseek.co.jp/vmware/vfd.html VMware's back]. It is a free Windoze tool that creates a virtual floppy drive and allows you to produce an image file ready to be ISO'ed. Note: you might have to 'manually' (through application's interface) assign the virtual drive a volume letter in order to be seen by IBM's application (as, by default, it seems not to do it).&lt;br /&gt;
&lt;br /&gt;
You should verify this {{path|floppy.img}} as explained above.&lt;br /&gt;
&lt;br /&gt;
===Creating a Bootable CD from a Floppy Image===&lt;br /&gt;
Once you have your floppy image, either from imaging a real floppy, or from extracting them via the cabextract method above, you need to make a boot CD out of it.&lt;br /&gt;
&lt;br /&gt;
The eltorito bootable CD standard is a wonderful thing.  What this means is that a bootable CD can be made with a bootable floppy in such as way that the CD believes that it is a 2.88 MB floppy drive.  This allows you to replace a boot floppy by a boot CD in nearly all situations.&lt;br /&gt;
&lt;br /&gt;
It is very easy to create such a bootable CD ISO image in Linux using the mkisofs tool.  To do this run a command as follows:&lt;br /&gt;
&lt;br /&gt;
:{{cmdroot|mkisofs -b bootfloppy.img -o bootcd.iso bootfloppy.img}}&lt;br /&gt;
&lt;br /&gt;
Note: This creates a CD with one file on it and marks that file as the boot image.  For more info on this read {{cmduser|man mkisofs}}.&lt;br /&gt;
&lt;br /&gt;
You can now burn the {{path|bootcd.iso}} in your favorite CD burning program.&lt;br /&gt;
&lt;br /&gt;
To get an overview which models have been tested with this version, here is a list:&lt;br /&gt;
&lt;br /&gt;
===Does work:===&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
| '''Model''' || '''Tested by'''&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600E}} (2645-4AU) ||&lt;br /&gt;
*George Tellalov &amp;lt;gtellalov_dontspamme@bigfoot.com&amp;gt;. BIOS 1.16 from spsdin36.exe worked perfectly with the method bootable cd from floppy image. I highly recommend this upgrade because it made my ibm-acpi module load (it wouldn't load before) and fixed some suspend to ram problems. Here's the [http://george.tellalov.info/bios_upgrade_600e_spsdin36.iso cd image] I used. Use at your own risk. You can send me a chocolate if it works for you ;)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600E}} (2645-5bU) ||&lt;br /&gt;
*Mike Vincent&amp;lt;matchstc-putobvioushere.com&amp;gt;. Bios 1.16 from spsdin36.exe and then to the boot cd worked great for me. Thought I had bricked it three separate times using a &amp;quot;real&amp;quot; floppy! Each from different diskettes .The updater would start, give me the &amp;quot;going to take30 seconds&amp;quot; speech...and then access the HD for 10 minutes. Each time it would reboot fine. Did the cd as described above...worked great first time. Perhaps 10 year old seldom used floppy disc drives have some challenges?&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600X}} (2645) ||&lt;br /&gt;
*Jonathan Byrne &amp;lt;jonathan@RemoveThisToMailMe.yamame.org&amp;gt;. BIOS 1.11 from spsuit55.exe worked perfectly using cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{600X}} (2645) ||&lt;br /&gt;
*Andy Barnes &amp;lt;andy@RemoveThisToMailMe.itchypaws.co.uk&amp;gt;. As per Jonathan above, extracted BIOS 1.11 from spsuit55.exe using cabextract, created a CD boot image and burnt to CD.  Worked flawlessly - thanks to everyone who contributed to this article!&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A20p}} (2629-6VU) ||&lt;br /&gt;
*Chris Pickett http://www.sable.mcgill.ca/~cpicke/. BIOS 1.11 flashed fine with cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A21e}} (2628-JXU) ||&lt;br /&gt;
*Amit Gurdasani &amp;lt;gurdasani at yahoo dot com&amp;gt;. BIOS 1.13 flashed fine with cabextract/CD method. Alarmingly, after the BIOS update, the laptop beeped but did not shut down as was indicated onscreen -- that was frozen on the &amp;quot;do not shut down the laptop&amp;quot; screen. On power down and up again, the BIOS setup showed the newer BIOS image running, and Linux booted up fine. Linux ACPI didn't complain about the BIOS being too old either.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A31p}} (2653) ||&lt;br /&gt;
*Matthias Meinke largeeddy@gmx.at, BIOS 1.09 1NET15WW flashed fine with cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{A31}} (2652) ||&lt;br /&gt;
*[[User:Wnoise|Aaron Denney]], BIOS 1.13 flashed fine with cabextract/CD method.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{R30}}  ||&lt;br /&gt;
*Jarrod, 30 August 2007, Thinkpad R30 Type 2656-E0M. BIOS updated to 1.40 (1CETF0WW) using floppy disk/mkisofs/cdrecord. Worked fine, no problems. &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{R31}} ||&lt;br /&gt;
*[http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/1998-January/009743.html Mathias Dalheimer]&lt;br /&gt;
*Sebastian Sauer (with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R40}} ||&lt;br /&gt;
*Matthew Lambie, http://lambie.org&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R50}} (1836-3SU) ||&lt;br /&gt;
*jlbartos &amp;lt;jlbartos at hotmail dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R50e}} (1834-PTG) ||&lt;br /&gt;
*item &amp;lt;item at freemail dot hu&amp;gt; : successfully finished with cabextract/CD method for &amp;quot;1wuj25us.exe&amp;quot; (BIOS version 1WET90WW (2.10), Release Date: 2006/12/22)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (1829) ||&lt;br /&gt;
*Robert Uhl &amp;lt;rob dot uhl at gmx dot de&amp;gt;, Jellby &amp;lt;jellby at yahoo dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (1830-RM7) ||&lt;br /&gt;
*Will Parker &amp;lt;stardotstar at sourcepoint dot com dot au&amp;gt; successfully flashed 3.20 using existing 3.04 ECP and retained custom boot splash.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R51}} (2887) ||&lt;br /&gt;
*Ingo van Lil &amp;lt;inguin at gmx dot de&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{R52}} (1858) ||&lt;br /&gt;
*Stuart McCord &amp;lt;stuart dot mccord at gmail dot com&amp;gt;  flashed both BIOS and ECP using cabextract, BIOS flashed first as on IBM website&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T20}} ||&lt;br /&gt;
*Franz Hassels &amp;lt;fhassel at suse dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T22}} ||&lt;br /&gt;
*Daniel Maier &amp;lt;nusse teamidiot de&amp;gt;&lt;br /&gt;
*Mathias Behrle (with cabextract/CD method, Version 1.07 =&amp;gt; 1.12) --[[User:Mathiasb|Mathiasb]] 11:58, 14 December 2006 (CET)&lt;br /&gt;
*Bob Skaroff (cabextract/CD), 1.06 =&amp;gt; 1.12&lt;br /&gt;
*Leo Butler (cabextract/CD), 1.11 =&amp;gt; 1.12 &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T23}} ||&lt;br /&gt;
*Bart Snapp &amp;lt;snapp at uiuc dot edu&amp;gt; Note: I followed IBM's instructions to flash the BIOS *first* and the Embedded Controller *second*.&lt;br /&gt;
*Moy Easwaran: BIOS 1.18 / EC 1.06a via cabextract and CD-boot.  The BIOS-update exe generated errors in Windows 2000.&lt;br /&gt;
*Joe Renes: BIOS 1.18 / EC 1.06a on 2006-03-20 via cabextract and CD-boot. Piece of cake.&lt;br /&gt;
*Raphael Errani: BIOS 1.20 / EC 1.06a on 2006-11-06 via cabextract and CD-boot (using mkisofs). Worked without errors. 1st Bios, 2nd EC&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T30}} ||&lt;br /&gt;
*Martin GÃ¼hring &amp;lt;guehring at gmail.com&amp;gt; BIOS 2.10 via cabextract the Non-Diskette BIOS -&amp;gt; mkisofs '''in the directory the exe was extracted''' to generate the iso -&amp;gt; burn the iso -&amp;gt; boot the CD&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{T40}} ||&lt;br /&gt;
*Sean Dague, http://dague.net&lt;br /&gt;
*Justin Mason, http://jmason.org&lt;br /&gt;
*Ivanhoe (Bios 3.19)&lt;br /&gt;
*Alessandro Raulino (roger_2) EC 3.04 &amp;amp; BIOS 3.23 flashed with cabextract/CD method&lt;br /&gt;
*Nick Jenkins, using BIOS 3.23 with the [[#The_Non_Diskette_Updater|Non-diskette updater + cabextract method]], then [[#Creating_a_Bootable_CD_from_a_Floppy_Image|created a bootable CD from the cabextracted .IMG file]], then boot that ISO, and it worked great!&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T40p}} ||&lt;br /&gt;
*Lukas KrÃ¤henbÃ¼hl, ismo at pop dot agri dot ch&lt;br /&gt;
*Thomas Achtemichuk, tom at tomchuk dot com. BIOS 3.15 flashed fine with cabextract/CD method&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; | {{T41}} ||&lt;br /&gt;
*Lev Givon (Bios 3.15 / EC 3.04) &amp;lt;lev at columbia dot edu&amp;gt;&lt;br /&gt;
*Ernesto HernÃ¡ndez-Novich (Bios 3.19 / CP 3.04) &amp;lt; emhn at usb dot ve &amp;gt;&lt;br /&gt;
*[http://maebmij.org James Ballantine] (Bios 3.21 / CP 3.04) using nondisk/cabextract/CDRW&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T41p}} ||&lt;br /&gt;
*Nils Newman, work great. (Version: Bios 3.14 / Embedded Controller 3.04)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T42}} ||&lt;br /&gt;
*Dan (BIOS 3.20 / EC 3.04, cabextract/CD method) &amp;lt;tronic171 at evilphb.org&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T42p}} ||&lt;br /&gt;
*Robert Schiele &amp;lt;rschiele@uni-mannheim.de&amp;gt;, Joern Heissler &amp;lt;joern@heissler.de&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T43}}  ||&lt;br /&gt;
*Conrad Rentsch &amp;lt;Conrad dot Rentsch at t-online dot de&amp;gt; (Version: Bios 1.29 / Embedded Controller 1.06)&lt;br /&gt;
*Tom Heady &amp;lt;tom-thinkwiki.org@punch.net&amp;gt;&lt;br /&gt;
*Florian Boucault &amp;lt;florian at boucault dot ath dot cx&amp;gt; (Model : 1871-W34 &amp;amp; Version: Bios 1.23 / Embedded Controller 1.03)&lt;br /&gt;
*Till Heikamp &amp;lt;t dot heikamp at geniusbytes dot com&amp;gt; (Model 2886, Bios 1.22 to 1.29, Embedded Controller 1.03 to 1.06)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{T60}}  ||&lt;br /&gt;
*Roman Komkov &amp;lt;roman  at komkov dot org dot ru&amp;gt; (Model 1951, Bios 1.07 to 2.13) Successfully upgraded from CD Image&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X20}}  ||&lt;br /&gt;
*Neil Caunt &amp;lt;retardis at gmail dot com&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X21}}  ||&lt;br /&gt;
*Patrick Leickner &amp;lt;ranma at web dot de&amp;gt;, (BIOS 2.21-&amp;gt;2.25 / EC 1.31-&amp;gt;1.36) via non-disk/cabextract/mkisofs/cdrecord&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X22}}  ||&lt;br /&gt;
*David Emery &amp;lt;dave at skiddlydee dot com&amp;gt;,  (EC 1.30, BIOS 1.32 using non-disk/cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X23}}  ||&lt;br /&gt;
*Nils Faerber &amp;lt;nils dot faerber at kernelconcepts dot de&amp;gt; (Embedded Controller 1.30, BIOS 1.32 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X30}}  ||&lt;br /&gt;
*Hella Breitkopf, [http://www.unixwitch.de/ www]  (Embedded Controller 1.04, BIOS 1.07 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X31}}  ||&lt;br /&gt;
*Grzegorz KuÅ›nierz &amp;lt;koniu at sheket dot org&amp;gt;  (Embedded Controller 1.08, BIOS 3.01 with cabextract/CD method)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{X40}}  ||&lt;br /&gt;
*Robbie Stone &amp;lt;robbie@serendipity.cx&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;vertical-align:top;&amp;quot; |  {{Z60m}}  ||&lt;br /&gt;
*[[User:Morle|Morle]] 13:09, 20 May 2006 (CEST),  (Embedded Controller 1.14 with cabextract/CD method)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Does not work:===&lt;br /&gt;
{|&lt;br /&gt;
| '''Model''' || '''Tested by'''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Please note that testing this is '''at your own risk'''!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Updating via Grub and a Floppy Image==&lt;br /&gt;
&lt;br /&gt;
{{WARN|Many have warned '''not''' to use the [http://syslinux.zytor.com/ SYSLINUX] image-loader [http://syslinux.zytor.com/memdisk.php MEMDISK] to boot the images! Some flash tools may crash in that situation!  Proceed at your own risk!}}&lt;br /&gt;
&lt;br /&gt;
Floppy images may be booted from Grub via a utility called [http://syslinux.zytor.com/memdisk.php MEMDISK], which may be compiled from the [http://www.kernel.org/pub/linux/utils/boot/syslinux/ '''SYSLINUX source'''].  Copy the compiled memdisk image and the floppy image to your boot directory and configure grub as follows:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
title     Bios Flash&lt;br /&gt;
kernel    /boot/memdisk&lt;br /&gt;
initrd    /boot/FILENAME.img&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, proceed at your own risk.  This was tested on an R51 type 2888.&lt;br /&gt;
&lt;br /&gt;
This also worked for me on a T41p type 2373. -- [[User:MrStaticVoid|James Lee]] 20:55, 8 May 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
And it worked for me on a X31 type 2673-CBU. -- [[User:JanTopinski|Jan Topinski]], 18 September 2006 &lt;br /&gt;
&lt;br /&gt;
And it worked for me too on a X31 type 2672-CXU, very useful. -- [[User:TheAnarcat|TheAnarcat]] 16:21, 7 March 2007 (CET)&lt;br /&gt;
&lt;br /&gt;
Same here (worked) on a X31 type 2673-58G --[[User:FaUl|FaUl]] 15:53, 20 June 2007 (UTC)FaUl&lt;br /&gt;
&lt;br /&gt;
Works well on a X31 type 2672-PG9, but with a big moment between starting update and the updating window -- [[User:Starox|Starox]] 22 Jul 2007&lt;br /&gt;
&lt;br /&gt;
And it worked for me on two X40 type 2371 -- [[User:Antialize|Jakob Truelsen]], 19 Jan 2007 -- BIOS: 2.07 1uuj21us.exe -- ECP: 1.62 1uhj10us.exe&lt;br /&gt;
&lt;br /&gt;
Not working for me on T43 type 2668-F7G -- [[User:Maus3273|Maus3273]] 20:48, 30 January 2007 (CET) -- BIOS: 1.29 1YUJ18US.IMG -- I got into the bios program, but the machine never restarts after initiating the upgrade.&lt;br /&gt;
&lt;br /&gt;
X41 type 2525-F8G -- [[User:ladoga|Lauri Koponen]], 11:08 16 Apr 2007&amp;lt;br&amp;gt; &lt;br /&gt;
BIOS: 2.09 (74UJ15US.IMG), is no go. (hangs while initialising the actual flashing process) I tried with 2.07 (74UJ13US.IMG) and 2.06 (74UJ12US.IMG) aswell and they all failed in the very same fashion.&amp;lt;br&amp;gt;&lt;br /&gt;
ECP: 1.02 74HJ03US.IMG, works.&lt;br /&gt;
&lt;br /&gt;
It works fine on R30 type 2656-64g, BIOS v.1.40 -- [[User:english.voodoo|Yuri Spirin]], 10 May 2007.&lt;br /&gt;
&lt;br /&gt;
==Updating with Network Boot Image==&lt;br /&gt;
&lt;br /&gt;
BIOS, Embedded Controller (EC), CD/DVD and Harddisk firmware disks can be booted&lt;br /&gt;
over the network with [http://syslinux.zytor.com/pxe.php PXELINUX] as part of the [http://syslinux.zytor.com/ SYSLINUX] package.&lt;br /&gt;
&lt;br /&gt;
This requires that you have a DHCP and tftp server configured and setup properly on&lt;br /&gt;
your network, and is probably not for the faint of heart.&lt;br /&gt;
&lt;br /&gt;
Make sure the firmware bootdisk is in linux 'dd' format, as the self-extracting .exe disks&lt;br /&gt;
from the IBM website cannot be booted directly as such.&lt;br /&gt;
&lt;br /&gt;
This worked on the {{R31}}, {{X22}}, {{T21}}, {{T30}} and {{T41p}} with various firmware updates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On {{X22}}, works with EC 1.30 but NOT with BIOS 1.32&lt;br /&gt;
&lt;br /&gt;
==Updating via &amp;quot;IBM Predesktop area&amp;quot;, suitable for model X (not have CDROM and floppy)==&lt;br /&gt;
It's so difficult to update BIOS and ECP without cdrom, floppy disk.&lt;br /&gt;
Don't know the reason why I couldn't update BIOS and ECP(1QHJ08US and 1QUJ19US) for my IBM Thinkpad X31.Hmm, may be cause of the dividing partition on my hard disk, that is: 	&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
Primary: ext3, ext3, ntfs&lt;br /&gt;
Extended: Ntsf, fat32&lt;br /&gt;
Bootloader: GRUB&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No problem, you can use this way to do it:&lt;br /&gt;
* First, config in BIOS&lt;br /&gt;
In Security part:&lt;br /&gt;
# Remove all password of Subpervisor and Power on password&lt;br /&gt;
# Set Access IBM Predesktop Area to Normal&lt;br /&gt;
# Choose Enable &amp;quot;Flash BIOS updating by End User&amp;quot; in BIOS update Option.&lt;br /&gt;
&lt;br /&gt;
In Config part:&lt;br /&gt;
# Choose Enable for Network flash over Lan&lt;br /&gt;
&lt;br /&gt;
* Second, download the newest version of BIOS update and ECP update &lt;br /&gt;
Running: The program extract all files to the folder. There is a .img file (1QUJ19US.IMG, 1QUJ08US.IMG) in each folder.&lt;br /&gt;
Copy the imformation content in that img file and paste it to one FAT partition(using winimage or TotalCmd to extract) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
as seen All files in 1QUJ19US.IMG is extracted to D:\BIOS&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
695,764  $018E000.FL1&lt;br /&gt;
163      0691.HSH&lt;br /&gt;
2,049    0691.PAT&lt;br /&gt;
163      0694.HSH&lt;br /&gt;
2,049    0694.PAT&lt;br /&gt;
163      0695.HSH&lt;br /&gt;
2,049    0695.PAT&lt;br /&gt;
2,049    06D0.PAT&lt;br /&gt;
163      06D1.HSH&lt;br /&gt;
2,049    06D1.PAT&lt;br /&gt;
163      06D2.HSH&lt;br /&gt;
2,049    06D2.PAT&lt;br /&gt;
163      06D6.HSH&lt;br /&gt;
2,049    06D6.PAT&lt;br /&gt;
2,049    06D8.PAT&lt;br /&gt;
697      CHKBMP.EXE&lt;br /&gt;
8,128    COMMAND.COM&lt;br /&gt;
26       CONFIG.SYS&lt;br /&gt;
24,860   FLASH2.EXE&lt;br /&gt;
26       LCREFLSH.BAT&lt;br /&gt;
170      LOGO.BAT&lt;br /&gt;
330      LOGO.SCR&lt;br /&gt;
111,925  PHLASH16.EXE&lt;br /&gt;
91,648   PREPARE.EXE&lt;br /&gt;
45       PROD.DAT&lt;br /&gt;
22,252   QKFLASH.EXE&lt;br /&gt;
9,923    README.TXT&lt;br /&gt;
4,260    TPCHKS.EXE&lt;br /&gt;
39,666   UPDTFLSH.EXE&lt;br /&gt;
6,958    UPDTMN.EXE&lt;br /&gt;
12,501   USERINT.EXE&lt;br /&gt;
15,254   UTILINFO.EXE&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And all files in 1QUJ08US.IMG are: D:\ECP&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
315,404 $018E000.FL2&lt;br /&gt;
8,000   COMMAND.COM&lt;br /&gt;
36      CONFIG.SYS&lt;br /&gt;
16,910  ECFLASH2.EXE&lt;br /&gt;
45      PROD.DAT&lt;br /&gt;
17,812  QKFLASH.EXE&lt;br /&gt;
990     README.TXT&lt;br /&gt;
4,260   TPCHKS.EXE&lt;br /&gt;
89,738  UPDTEC.EXE&lt;br /&gt;
31,134  UPDTFLSH.EXE&lt;br /&gt;
12,501  USERINT.EXE&lt;br /&gt;
15,226  UTILINFO.EXE&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Okie, now plug AC Adapter, charge full battery to your laptop and continue third step:&lt;br /&gt;
&lt;br /&gt;
** '''Flash BIOS first,'''&lt;br /&gt;
1. Power On, press blue button on keyboard: '''Access IBM'''&lt;br /&gt;
&lt;br /&gt;
2. On &amp;quot;Utilities&amp;quot;, double click &amp;quot; Diagnostic disk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
3. Your laptop will start PC-DOS, wait when this message appear:&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
Please insert the first floppy diskette and&lt;br /&gt;
Press any key to continue&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Press Ctrl + Break, you will see :&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;Terminate batch job (Y/N) ?&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. Okie, press Y, you will get DOS prompt like D:\&lt;br /&gt;
{{NOTE|D:\ is my RAMDISK, C:\ is my disk format as FAT.!}}&lt;br /&gt;
&lt;br /&gt;
6. Enter to c:\BIOS&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
c:&lt;br /&gt;
cd c:\BIOS&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. Run FLASH2.EXE /u $018E000.FL1&lt;br /&gt;
&lt;br /&gt;
8. Wait flash progress compelete and reboot.&lt;br /&gt;
** '''Flash ECP'''&lt;br /&gt;
Follow above instruction from step 1 to 5&lt;br /&gt;
&lt;br /&gt;
6. Enter to c:\ECP&lt;br /&gt;
&amp;lt;blockquote style=&amp;quot;background: white; border: 1px solid black; padding: 1em;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
c:&lt;br /&gt;
cd c:\ECP&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. run UPDTFLSH.EXE $018E000.FL2&lt;br /&gt;
&lt;br /&gt;
8. Follow UPDTFLSH's instructions&lt;br /&gt;
&lt;br /&gt;
9. Wait flash complete and auto turn off computer.&lt;br /&gt;
&lt;br /&gt;
I done it on my IBM Thinkpad X31.&lt;br /&gt;
&lt;br /&gt;
Enjoy,&lt;br /&gt;
&lt;br /&gt;
Tested by nm.&lt;br /&gt;
&lt;br /&gt;
==Check List==&lt;br /&gt;
&lt;br /&gt;
The following is important to remember:&lt;br /&gt;
# You must update '''both''' the Control Program and the BIOS at the same time if your current Control Program is not compatible with the new BIOS (see below)&lt;br /&gt;
# You must find versions of the Control Program and BIOS that are compatible.  Not all of them are, so follow the readmes on the IBM website carefully to determine which are.&lt;br /&gt;
# You must update the Control Program '''before''' you update the BIOS&lt;br /&gt;
&lt;br /&gt;
When the Control Program '''and''' the BIOS need updating, have both update disks or CDs ready. Update the Control Program first and the system should switch itself off when finished. Insert the BIOS update disk and proceed to update the BIOS. When it's all finished, enter setup, reset the settings to their defaults and reboot. Enter setup again and tweak the settings as necessary.&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Red_Hat_Enterprise_Linux_4_on_a_ThinkPad_T60p&amp;diff=29592</id>
		<title>Installing Red Hat Enterprise Linux 4 on a ThinkPad T60p</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Red_Hat_Enterprise_Linux_4_on_a_ThinkPad_T60p&amp;diff=29592"/>
		<updated>2007-05-04T01:57:12Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* Installing from CD-ROM */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article covers the installation of CentOS 4.4 on a ThinkPad {{T60p}}.  {{Red Hat}} Enterprise Linux 4 Update 4 should be exactly the same.&lt;br /&gt;
&lt;br /&gt;
This article is not complete--I am editing it as I make progress on my installation.  I just wanted to share the tricks I have discovered so far, and start a page where you can share your experience.&lt;br /&gt;
&lt;br /&gt;
==Preparation==&lt;br /&gt;
Before you do anything else, boot Windows and create a set of Product Recovery disks.  Even if you hate Windows, the next user of your computer may need it.   When you need to restore Windows, you just pop in the the Product Recovery disks, and tell them to restore the computer to its original factory-installed state.&lt;br /&gt;
&lt;br /&gt;
I used a set of CD-ROMs for this installation.  The T60 can boot from DVD-ROM, so you can also use the DVD if you like.  It also appears to be capable of booting from USB, but I could not get it to work for the purpose of installing Linux.&lt;br /&gt;
 &lt;br /&gt;
==Installing from CD-ROM or DVD==&lt;br /&gt;
Insert the first disk, and let it try to boot.  If it hangs on &amp;quot;ACPI: Found ECDT&amp;quot;, try again, but at &amp;quot;Install or Upgrade...&amp;quot; type:&lt;br /&gt;
    linux acpi=off&lt;br /&gt;
If you still have problems (particularly if you later find that USB does not work), you might try adding &amp;quot;noapic&amp;quot;:&lt;br /&gt;
    linux acpi=off noapic&lt;br /&gt;
Automatic disk partitioning did not work for me, probably because I retained my Windows and Rescue and Recovery partitions.  I just mimicked the partitioning scheme shown in&lt;br /&gt;
[http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/x8664-multi-install-guide/s1-diskpartitioning.html Section 4.16] of&lt;br /&gt;
[http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/x8664-multi-install-guide/ Installing Red Hat Enterprise Linux].&lt;br /&gt;
&lt;br /&gt;
==What Works==&lt;br /&gt;
* SMP (dual processor kernel)&lt;br /&gt;
* e1000 Gigabit Wired Ethernet&lt;br /&gt;
* DVD-ROM&lt;br /&gt;
&lt;br /&gt;
==Requires More Work==&lt;br /&gt;
* Intel 3945 wireless network adaptor&lt;br /&gt;
&lt;br /&gt;
==Not Tested==&lt;br /&gt;
* Bluetooth&lt;br /&gt;
* IR interface&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.06_Kubuntu_6.06_Gentoo_2006.0_on_a_ThinkPad_T60p&amp;diff=29591</id>
		<title>Installing Ubuntu 6.06 Kubuntu 6.06 Gentoo 2006.0 on a ThinkPad T60p</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Ubuntu_6.06_Kubuntu_6.06_Gentoo_2006.0_on_a_ThinkPad_T60p&amp;diff=29591"/>
		<updated>2007-05-04T01:50:33Z</updated>

		<summary type="html">&lt;p&gt;Voominc: Installing Ubuntu and Kubuntu 6.06 (Dapper Drake), and Gentoo 2006.0 on a ThinkPad T60p&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:T60p]]&lt;br /&gt;
&lt;br /&gt;
==Installing Ubuntu Dapper==&lt;br /&gt;
&lt;br /&gt;
To get it going:&lt;br /&gt;
&lt;br /&gt;
* Get Dapper i386 (I used the Daily ISO DVD).&lt;br /&gt;
&lt;br /&gt;
* Install the default distribution.&lt;br /&gt;
&lt;br /&gt;
It will work, but you need an SMP kernel, and accelerated and higher resolution graphics, so:&lt;br /&gt;
&lt;br /&gt;
* Install the i686-smp kernel (search for 'linux-kernel' in synaptic).&lt;br /&gt;
&lt;br /&gt;
* Search for fglrx in synaptic, and install the fglrx modules, X driver and ATI control panel.&lt;br /&gt;
&lt;br /&gt;
* Edit /etc/X11/xorg.conf, so each of the &amp;quot;Modeline&amp;quot; entries contains a 1600x1200 resolution as well (or whatever the top resolution of your LCD panel is), and change the driver section as follows:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
     Identifier &amp;quot;ATI Technologies, Inc. ATI Default Card&amp;quot;&lt;br /&gt;
     Driver &amp;quot;fglrx&amp;quot;               &amp;lt;----- ADD THIS LINE&lt;br /&gt;
     #Driver &amp;quot;vesa&amp;quot;               &amp;lt;---- COMMENT OUT THIS LINE&lt;br /&gt;
     BusID &amp;quot;PCI:1:0:0&amp;quot;&lt;br /&gt;
     ChipID 0x71c5                &amp;lt;----- '''MAYBE''' ADD THIS LINE&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[On my UXGA t60p the ChipID line was actually fatal to getting fglrx to start up (/var/log/Xorg.0.log showed the driver falling back to VESA and fgl_glxgears would crash).  Without that ChipID line my chip was identified as:&lt;br /&gt;
&lt;br /&gt;
 Chipset: &amp;quot;MOBILITY FireGL V5200 (M56 71C4)&amp;quot; (Chipset = 0x71c4)&lt;br /&gt;
&lt;br /&gt;
which appears to correspond exactly to my machine's spec,  and fgl_glxgears worked fine.]&lt;br /&gt;
&lt;br /&gt;
Reboot, and you should be done. Check &amp;quot;cat /proc/cpuinfo&amp;quot; shows two CPUs, and run fgl_glxgears and check you get around 580 frames a second.&lt;br /&gt;
&lt;br /&gt;
I've reported [https://launchpad.net/distros/ubuntu/+bug/46527 bug 46527] on the lack of screen driver detection, so hopefully this will get even easier.&lt;br /&gt;
&lt;br /&gt;
Note you do NOT need to install ATI drivers from the ATI site. The Ubuntu drivers are sufficient.&lt;br /&gt;
&lt;br /&gt;
Thanks to Rich Tango-Lowy (see below) for the hint re chip detection.&lt;br /&gt;
&lt;br /&gt;
==Kubuntu Dapper Live CD==&lt;br /&gt;
&lt;br /&gt;
If you're trying to install from the Kubuntu Desktop CD, you'll never make it to the login screen because the ATI display driver isn't recognized.&lt;br /&gt;
&lt;br /&gt;
* Ctrl-Alt-F1&lt;br /&gt;
* sudo nano /etc/X11/xorg.conf&lt;br /&gt;
* change the display driver line that looks like:&lt;br /&gt;
&lt;br /&gt;
          Driver    &amp;quot;ati&amp;quot;&lt;br /&gt;
&lt;br /&gt;
to &lt;br /&gt;
&lt;br /&gt;
          Driver    &amp;quot;vesa&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[I think I remember that it was &amp;quot;ati&amp;quot;, but I could be wrong.  In any &lt;br /&gt;
case this is very clearly the only Driver line in the ATI device specification section]&lt;br /&gt;
&lt;br /&gt;
* Save and exit&lt;br /&gt;
* sudo /etc/init.d kdm restart&lt;br /&gt;
&lt;br /&gt;
Now you get a login screen.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing Gentoo 2006.0 ==&lt;br /&gt;
&lt;br /&gt;
===Boot from Live CD===&lt;br /&gt;
Upon booting off the live cd you will come to the kernel selection prompt.&lt;br /&gt;
Enter:&lt;br /&gt;
    gentoo doscsi&lt;br /&gt;
I had some trouble getting the wired NIC to be linked to the driver, often getting an error that the EEPROM failed a check.  If this happens, you can try re-inserting the module,&lt;br /&gt;
    &amp;gt;rmmod e1000; modprobe e1000&lt;br /&gt;
or rebooting and trying again.  The wireless card isn't supported by the live cd so you're going to have to stick to wired for now.&lt;br /&gt;
&lt;br /&gt;
If you have a T60 with a '''Core 2 Duo''' processor (instead of Core Duo), you have the option of installing a 64-bit linux.  Use an amd64 (called this for historical reasons) install/live cd, and enter this at the boot prompt:&lt;br /&gt;
   gentoo-nofb noapic&lt;br /&gt;
The noapic option is needed on the 2006.1 cd to prevent a crash during boot.  Once you have compiled your own kernel you no longer need it.&lt;br /&gt;
&lt;br /&gt;
===/etc/make.conf Settings===&lt;br /&gt;
The make.conf settings are the first thing you want to setup correctly before you proceed with the rest of the install process. All future updates will depend upon these settings as well. &lt;br /&gt;
If you use a 32-bit profile (x86) use these settings&lt;br /&gt;
 CFLAGS=&amp;quot;-march=prescott -O2 -pipe -msse3 -fomit-frame-pointer&amp;quot;&lt;br /&gt;
 VIDEO_CARDS=&amp;quot;fglrx vesa fbdev&amp;quot;&lt;br /&gt;
 INPUT_DEVICES=&amp;quot;keyboard mouse synaptics&amp;quot;&lt;br /&gt;
 FEATURES=&amp;quot;sandbox ccache distlocks autoaddcvs parallel-fetch&amp;quot;&lt;br /&gt;
 MAKEOPTS=&amp;quot;-j3&amp;quot;&lt;br /&gt;
If you use a 64-bit profile (amd64 - Core 2 Duo processors only) use this instead&lt;br /&gt;
 CFLAGS=&amp;quot;-O2 -pipe -march=nocona&amp;quot;&lt;br /&gt;
 MAKEOPTS=&amp;quot;-j3&amp;quot;&lt;br /&gt;
 INPUT_DEVICES=&amp;quot;keyboard mouse synaptics&amp;quot;&lt;br /&gt;
 VIDEO_CARDS=&amp;quot;radeon vesa fbdev&amp;quot;&lt;br /&gt;
For a more complete discussion of the CFLAGS to use for a Core Duo processor, see [http://forums.gentoo.org/viewtopic-t-448761-highlight-core+duo+prescott.html?sid=97485d7e26a1f77e2bb06fa437a448ff this forum thread]. Some users recommend that the USE variable has the ibm value in it (eg. USE=&amp;quot;ibm&amp;quot;) but the Gentoo website says this is only for Power PC64 systems; I don't think we should use it. If anyone can shed more light on this, please update this section.&lt;br /&gt;
&lt;br /&gt;
===Kernel Settings===&lt;br /&gt;
I was able to get the laptop running from i686 gentoo sources and recommend this to anyone installing Gentoo on their T60p. Alot of graphics support is left out of the kernel since the best graphics performance is with ATI's propietary drivers which you can emerge at the end of the kernel compile.&lt;br /&gt;
====Processor type and features====&lt;br /&gt;
* Turn on Symmetric multi-processing support.&lt;br /&gt;
* Set processor family to Pentium M for the Core Duo or EM64T for the Core 2 Duo with amd64 profile.&lt;br /&gt;
* Turn off toshiba and dell laptop support.&lt;br /&gt;
* Set timer frequency to 1000 Hz since this is a desktop system.&lt;br /&gt;
* Found on a [http://forum.thinkpads.com/viewtopic.php?t=19031 forum posting] that &amp;quot;Hotpluggable CPU&amp;quot; should be set to get acpi sleep to work.  Go figure...&lt;br /&gt;
&lt;br /&gt;
====Power management options====&lt;br /&gt;
* Turn on all ACPI settings (especially IBM Thinkpad Extras) except ASUS/Medion and Toshiba Laptop Extras.     &lt;br /&gt;
  Note: see this entry on ACPI Video for BIOS 2.x and kernels &amp;lt; 2.6.20-rc?&lt;br /&gt;
  http://thinkwiki.org/wiki/Problem_with_LCD_brightness_buttons&lt;br /&gt;
* Turn on CPU Frequency scaling.&lt;br /&gt;
** Turn on powersave, userspace, ondemand and conservative governor.&lt;br /&gt;
** Turn off ACPI Processor P-States driver.&lt;br /&gt;
** Turn off all AMD and Cyrix options.&lt;br /&gt;
** Turn on Intel Enhanced SpeedStep and Intel Speedstep on ICH-M chipsets (ioport interface).&lt;br /&gt;
** Turn off Intel SpeedStep on 440BX/ZX/MX chipsets (SMI interface).&lt;br /&gt;
** Turn off Intel Pentium 4 clock modulation, nVidia nForce2 FSB changing and Transmeta LongRun.&lt;br /&gt;
&lt;br /&gt;
====Bus options====&lt;br /&gt;
* Turn on PCI Express support.&lt;br /&gt;
* Turn on Message Signaled Interrupts.&lt;br /&gt;
* Turn on PCCard support and CardBus yenta-compatible bridge support.&lt;br /&gt;
&lt;br /&gt;
====Networking support====&lt;br /&gt;
* Turn off Generic IEEE 802.11 Networking Stack.&lt;br /&gt;
* Turn on IrDA (infrared) subsystem support and sub-options.&lt;br /&gt;
** Ensure you get nsc-ircc&lt;br /&gt;
* Turn on Bluetooth subsystem support and sub-options.&lt;br /&gt;
* Turn off Amateur Radio support (unless you work with actual radios.)&lt;br /&gt;
&lt;br /&gt;
====Device Drivers====&lt;br /&gt;
* Turn off Memory Technology Devices.&lt;br /&gt;
* Turn on ATA/ATAPI/MFM/RLL and Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support.&lt;br /&gt;
* Turn on PNP EIDE and PCI IDE chipset support (PNP EIDE may not be necessary but I haven't tested it)&lt;br /&gt;
** Turn on Include IDE/ATA-2 DISK support&lt;br /&gt;
** Turn on Use multi-mode by default&lt;br /&gt;
** Turn on Include IDE/ATAPI CDROM support&lt;br /&gt;
** Turn on PCI IDE chipset support (not all of the sub-options have been tested but this makes the DVD drive work well)&lt;br /&gt;
*** Turn on Generic PCI IDE Chipset Support&lt;br /&gt;
*** Turn on Generic PCI bus-master DMA support&lt;br /&gt;
*** Turn on Intel PIIXn chipsets support&lt;br /&gt;
* Turn off parallel port support.&lt;br /&gt;
* Turn on SCSI device support.  In &amp;quot;low-level device drivers&amp;quot;, chose the Serial ATA (SATA) support.  Build it as a part of the kernel, and not as a kernel module.&lt;br /&gt;
* Turn off Fusion MPT device support.&lt;br /&gt;
* Turn on IEEE 1394 (FireWire) support.&lt;br /&gt;
* Turn on Network device support.&lt;br /&gt;
** Turn off all options in all categories under Network device support except the stated ones below.&lt;br /&gt;
** Turn on Intel(R) PRO/1000 Gigabit Ethernet support under Ethernet (1000 Mbit).&lt;br /&gt;
** Turn on Wireless LAN drivers (non-hamradio) &amp;amp; Wireless Extensions and none of the sub-options underneath.&lt;br /&gt;
** Most people do not need Fibre channel, ATM, WAN or PPP/SLIP support (if you do then turn it on. PPP is needed for GPRS/UMTS connectivity)&lt;br /&gt;
* Character device options...&lt;br /&gt;
** Serial drivers... [for IrDA]&lt;br /&gt;
*** Set Max 8250/16550 serial ports to (4)&lt;br /&gt;
*** Set Number 8250/16550 serial ports to register at runtime to (1)&lt;br /&gt;
** Turn off Parallel printer support.&lt;br /&gt;
** Turn on Intel/AMD/VIA HW Random Number Generator support.&lt;br /&gt;
** Turn on /dev/nvram support.&lt;br /&gt;
** Turn off /dev/agpgart (AGP Support).&lt;br /&gt;
** Turn off Direct Rendering Manager.&lt;br /&gt;
** Support for the [[Embedded_Security_Subsystem|Fritz Chip]] is located in &amp;quot;TPM Devices&amp;quot;.&lt;br /&gt;
* Turn off all Graphics support options except the stated ones below,&lt;br /&gt;
** Turn on VESA VGA graphics support and set VESA driver type to vesafb.&lt;br /&gt;
** Turn on Enable firmware EDID and Enable Video Mode Handling Helpers.&lt;br /&gt;
** Turn on Support for the framebuffer splash.&lt;br /&gt;
* '''IMPORTANT:''' Turn off all Wireless device support under USB support -&amp;gt; USB Network Adapters or you will tear your hair out trying to get wireless.&lt;br /&gt;
* Turn on Sound card support.&lt;br /&gt;
** Turn on Advanced Linux Sound Architecture.&lt;br /&gt;
** Turn off all ISA, PCI, USB, generic and PCMCIA device options the stated on below.&lt;br /&gt;
** Turn on Intel HD Audio under PCI devices.&lt;br /&gt;
* Turn off all MMC/SD Card support options.&lt;br /&gt;
* Turn off LED devices.&lt;br /&gt;
* Cryptographic options... (needed for the wireless card ipw9345)&lt;br /&gt;
** Turn on AES chiphers&lt;br /&gt;
** Turn on Michael MIC keyed digest algorithm&lt;br /&gt;
&lt;br /&gt;
That should do it. (I know, that's it.)&lt;br /&gt;
That should make sure that you have all the drivers necessary to boot the system and be able to use all your hardware (almost).&lt;br /&gt;
&lt;br /&gt;
===Portage Ebuilds===&lt;br /&gt;
&lt;br /&gt;
Always make sure you run this command before going any further so you can get the latest portage build and version...&lt;br /&gt;
 emerge --sync &amp;amp;&amp;amp; emerge portage&lt;br /&gt;
&lt;br /&gt;
Since September 24 2006 I was able to make the latest ati-drivers work on the T60p without adding any lines to the unmask file (/etc/portage/package.unmask) under the gentoo-sources kernel. You should be able to run...&lt;br /&gt;
 emerge ati-drivers&lt;br /&gt;
...without any problems. If you do have problems compiling, sometimes you may need to try emerging an unstable package. For more information on working with the ATI drivers, check out Gentoo's wiki [http://gentoo-wiki.com/HOWTO_ATI_Drivers| here.]&lt;br /&gt;
&lt;br /&gt;
Don't forget to emerge all the Thinkpad software as well...&lt;br /&gt;
 emerge tpb tp_smapi tpctl&lt;br /&gt;
&lt;br /&gt;
Then you can start to setup the wireless in this order at the command line...&lt;br /&gt;
 /bin/sh /usr/portage/net-wireless/ieee80211/files/remove-old /usr/src/linux&lt;br /&gt;
 emerge ieee80211 ipw3945 ipw3945d wireless-tools&lt;br /&gt;
&lt;br /&gt;
For some reason the wireless driver consists of two parts: the module itself, ipw3949.ko, and some sort of support daemon, ipw3945d. The ebuild updates the modules.conf file to automatically stop and start this deamon when the module is loaded or unloaded, respectively. Check if the following lines are present in /etc/modules.conf (or actually, in /etc/modules.d/ipw3945d - /etc/modules.conf is built from the separate files in /etc/modules.d when you run /sbin/modules-update)&lt;br /&gt;
&lt;br /&gt;
 install ipw3945 /sbin/modprobe --ignore-install ipw3945; sleep 0.5; /sbin/ipw3945d --quiet&lt;br /&gt;
 remove ipw3945 /sbin/ipw3945d --kill; /sbin/modprobe -r --ignore-remove ipw3945&lt;br /&gt;
&lt;br /&gt;
In other words, to load the module, and start the daemon, do&lt;br /&gt;
&lt;br /&gt;
  modprobe ipw3945&lt;br /&gt;
&lt;br /&gt;
To remove the module, and kill the daemon, enter&lt;br /&gt;
&lt;br /&gt;
  modprobe -r ipw3945&lt;br /&gt;
&lt;br /&gt;
'''Note''': rmmod does '''not''' work - it doesn't use /etc/modprobe.conf, and therefore doesn't kill the daemon: while the daemon is running, you cannot unload the module. (You'll get an errormessage saying the module is in use).&lt;br /&gt;
&lt;br /&gt;
If for some reason you need to kill the module manually, use &lt;br /&gt;
&lt;br /&gt;
  /sbin/ipw3945d --kill&lt;br /&gt;
&lt;br /&gt;
Ofcourse the normal 'kill' command also works, but you'll have to remove the pid file /var/run/ipw3945d.pid by hand.&lt;br /&gt;
&lt;br /&gt;
===xorg.conf Settings===&lt;br /&gt;
&lt;br /&gt;
A piece of code is worth a thousand words; here is my xorg.conf that works at 3000-5000 FPS so far. I am still trying to find better parameters, but this is the best I got it to run so far. I intentionally left out the InputDevice section since I disabled my Synaptics pad (I like the center joystick better.) Just modify your xorg.conf sections with what is shown below.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
        Load  &amp;quot;dbe&amp;quot;     # Double buffer extension&lt;br /&gt;
        SubSection &amp;quot;extmod&amp;quot;&lt;br /&gt;
        Option      &amp;quot;omit xfree86-dga&amp;quot;   # don't initialise the DGA extension&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        Load  &amp;quot;freetype&amp;quot;&lt;br /&gt;
        Load  &amp;quot;dri&amp;quot;&lt;br /&gt;
        Load  &amp;quot;glx&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;VideoCard&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;vesa&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;fglrx&amp;quot;&lt;br /&gt;
        VendorName  &amp;quot;ati&amp;quot;&lt;br /&gt;
        #ModelName   &amp;quot;FireGL V5200 (RV530 71DA)&amp;quot;&lt;br /&gt;
        BusID       &amp;quot;PCI:1:0:0&amp;quot;&lt;br /&gt;
        Option      &amp;quot;VideoOverlay&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;UseFastTLS&amp;quot; &amp;quot;2&amp;quot;&lt;br /&gt;
        Option      &amp;quot;EnablePrivateBackZ&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;dri&amp;quot;&lt;br /&gt;
        Group &amp;quot;video&amp;quot;&lt;br /&gt;
        Mode 0666&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option &amp;quot;XVideo&amp;quot; &amp;quot;Enable&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Device     &amp;quot;VideoCard&amp;quot;&lt;br /&gt;
        Monitor    &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        DefaultDepth     24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport  0 0&lt;br /&gt;
                Depth     24&lt;br /&gt;
                Modes    &amp;quot;1280x1024&amp;quot; &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot;&lt;br /&gt;
        EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Make sure you assign your username to the video group in the /etc/group file or you will net get DRI (Direct Rendering) support. When debugging your running X windows system, always check /var/log/Xorg.0.log for any errors or hints at what may be configured incorrectly. This is how I was able to get so far with the graphics.&lt;br /&gt;
&lt;br /&gt;
==Known Issues==&lt;br /&gt;
[[Problem with e1000: Open issue with latency|Latency issue with e1000 nic]]&lt;br /&gt;
&lt;br /&gt;
==External Sources==&lt;br /&gt;
*[http://arscognita.com/~richtl/T60p/index.html Rich Tango-Lowy's Mandriva 2007 Cooker on T60p page]&lt;br /&gt;
*[http://buzzy.tesuji.org/thinkpad_t60p.html Jon Lin's Gentoo Thinkpad T60p]&lt;br /&gt;
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installation_instructions_for_the_ThinkPad_T60p&amp;diff=29590</id>
		<title>Installation instructions for the ThinkPad T60p</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installation_instructions_for_the_ThinkPad_T60p&amp;diff=29590"/>
		<updated>2007-05-04T01:49:05Z</updated>

		<summary type="html">&lt;p&gt;Voominc: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:T60p]]&lt;br /&gt;
Specific installation notes for the ThinkPad {{T60p}}.&lt;br /&gt;
&lt;br /&gt;
==Distribution-specific instructions==&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu / Kubuntu ===&lt;br /&gt;
&lt;br /&gt;
*[[Installing_Ubuntu_6.06_Kubuntu_6.06_Gentoo_2006.0_on_a_ThinkPad_T60p|Ubuntu and Kubuntu 6.06 Dapper Drake]]&lt;br /&gt;
&lt;br /&gt;
=== Red Hat Enterprise Linux / CentOS ===&lt;br /&gt;
&lt;br /&gt;
*{{Install |Red Hat Enterprise Linux| 4| T60p}}&lt;br /&gt;
&lt;br /&gt;
===Red Hat Fedora Core===&lt;br /&gt;
No articles so far.&lt;br /&gt;
&lt;br /&gt;
=== Gentoo ===&lt;br /&gt;
&lt;br /&gt;
*[[Installing_Ubuntu_6.06_Kubuntu_6.06_Gentoo_2006.0_on_a_ThinkPad_T60p|Gentoo 2006.0]]&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Red_Hat_Enterprise_Linux_4_on_a_ThinkPad_T60p&amp;diff=29589</id>
		<title>Installing Red Hat Enterprise Linux 4 on a ThinkPad T60p</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Red_Hat_Enterprise_Linux_4_on_a_ThinkPad_T60p&amp;diff=29589"/>
		<updated>2007-05-04T01:12:09Z</updated>

		<summary type="html">&lt;p&gt;Voominc: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article covers the installation of CentOS 4.4 on a ThinkPad {{T60p}}.  {{Red Hat}} Enterprise Linux 4 Update 4 should be exactly the same.&lt;br /&gt;
&lt;br /&gt;
This article is not complete--I am editing it as I make progress on my installation.  I just wanted to share the tricks I have discovered so far, and start a page where you can share your experience.&lt;br /&gt;
&lt;br /&gt;
==Preparation==&lt;br /&gt;
Before you do anything else, boot Windows and create a set of Product Recovery disks.  Even if you hate Windows, the next user of your computer may need it.   When you need to restore Windows, you just pop in the the Product Recovery disks, and tell them to restore the computer to its original factory-installed state.&lt;br /&gt;
&lt;br /&gt;
I used a set of CD-ROMs for this installation.  The T60 can boot from DVD-ROM, so you can also use the DVD if you like.  It also appears to be capable of booting from USB, but I could not get it to work for the purpose of installing Linux.&lt;br /&gt;
 &lt;br /&gt;
==Installing from CD-ROM==&lt;br /&gt;
Insert CD-ROM #1, and let it try to boot.  If it hangs on &amp;quot;ACPI: Found ECDT&amp;quot;, try again, but at &amp;quot;Install or Upgrade...&amp;quot; type:&lt;br /&gt;
    linux acpi=off&lt;br /&gt;
If you still have problems (particularly if you later find that USB does not work), you might try adding &amp;quot;noapic&amp;quot;:&lt;br /&gt;
    linux acpi=off noapic&lt;br /&gt;
Automatic disk partitioning did not work for me, probably because I retained my Windows and Rescue and Recovery partitions.  I just mimicked the partitioning scheme shown in&lt;br /&gt;
[http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/x8664-multi-install-guide/s1-diskpartitioning.html Section 4.16] of&lt;br /&gt;
[http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/x8664-multi-install-guide Installing Red Hat Enterprise Linux].&lt;br /&gt;
&lt;br /&gt;
==What Works==&lt;br /&gt;
* SMP (dual processor kernel)&lt;br /&gt;
* e1000 Gigabit Wired Ethernet&lt;br /&gt;
* DVD-ROM&lt;br /&gt;
&lt;br /&gt;
==Requires More Work==&lt;br /&gt;
* Intel 3945 wireless network adaptor&lt;br /&gt;
&lt;br /&gt;
==Not Tested==&lt;br /&gt;
* Bluetooth&lt;br /&gt;
* IR interface&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Red_Hat_Enterprise_Linux_4_on_a_ThinkPad_T60p&amp;diff=29588</id>
		<title>Installing Red Hat Enterprise Linux 4 on a ThinkPad T60p</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Red_Hat_Enterprise_Linux_4_on_a_ThinkPad_T60p&amp;diff=29588"/>
		<updated>2007-05-04T01:03:48Z</updated>

		<summary type="html">&lt;p&gt;Voominc: Installing Red Hat Enterprise Linux 4 on a ThinkPad T60p&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article covers the installation of CentOS 4.4 on a ThinkPad {{T60p}}.  {{Red_Hat}} Enterprise Linux 4 Update 4 should be exactly the same.&lt;br /&gt;
&lt;br /&gt;
This article is not complete--I am editing it as I make progress on my installation.  I just wanted to share the tricks I have discovered so far, and start a page where you can share your experience.&lt;br /&gt;
&lt;br /&gt;
==Preparation==&lt;br /&gt;
Before you do anything else, boot Windows and create a set of Product Recovery disks.  Even if you hate Windows, the next user of your computer may need it.   When you need to restore Windows, you just pop in the the Product Recovery disks, and tell them to restore the computer to its original factory-installed state.&lt;br /&gt;
&lt;br /&gt;
I used a set of CD-ROMs for this installation.  The T60 can boot from DVD-ROM, so you can also use the DVD if you like.  It also appears to be capable of booting from USB, but I could not get it to work for the purpose of installing Linux.&lt;br /&gt;
 &lt;br /&gt;
==Installing from CD-ROM==&lt;br /&gt;
Insert CD-ROM #1, and let it try to boot.  If it hangs on &amp;quot;ACPI: Found ECDT&amp;quot;, try again, but at &amp;quot;Install or Upgrade...&amp;quot; type:&lt;br /&gt;
    linux acpi=off&lt;br /&gt;
If you still have problems (particularly if you later find that USB does not work), you might try adding &amp;quot;noapic&amp;quot;:&lt;br /&gt;
    linux acpi=off noapic&lt;br /&gt;
Automatic disk partitioning did not work for me, probably because I retained my Windows and Rescue and Recovery partitions.  I just mimicked the partitioning scheme shown in&lt;br /&gt;
[http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/x8664-multi-install-guide/s1-diskpartitioning.html Section 4.16] of&lt;br /&gt;
[http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/x8664-multi-install-guide Installing Red Hat Enterprise Linux].&lt;br /&gt;
&lt;br /&gt;
==What Works==&lt;br /&gt;
* SMP (dual processor kernel)&lt;br /&gt;
* e1000 Gigabit Wired Ethernet&lt;br /&gt;
* DVD-ROM&lt;br /&gt;
&lt;br /&gt;
==Requires More Work==&lt;br /&gt;
* Intel 3945 wireless network adaptor&lt;br /&gt;
&lt;br /&gt;
==Not Tested==&lt;br /&gt;
* Bluetooth&lt;br /&gt;
* IR interface&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Red_Hat_Enterprise_Linux_4_on_a_ThinkPad_T60p&amp;diff=29587</id>
		<title>Installing Red Hat Enterprise Linux 4 on a ThinkPad T60p</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Red_Hat_Enterprise_Linux_4_on_a_ThinkPad_T60p&amp;diff=29587"/>
		<updated>2007-05-04T00:40:09Z</updated>

		<summary type="html">&lt;p&gt;Voominc: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article covers the installation of CentOS 4.4 on a ThinkPad {{T60p}}.  CentOS is binary compatable with {{Red_Hat}} Enterprise Linux 4 Update 4.&lt;br /&gt;
&lt;br /&gt;
This article is not complete--I am editing it as I make progress on my installation.  I just wanted to share the tricks I have discovered, and start a page where we can share our experience.&lt;br /&gt;
&lt;br /&gt;
==Preparation==&lt;br /&gt;
Before you do anything else, boot Windows and create a set of Rescue and Recovery disks.  Even if you hate Windows, the next user of your computer may need it.   When that day comes, you just pop in the the Rescue and Recovery disks, and they restore Windows to its original factory-installed state.&lt;br /&gt;
&lt;br /&gt;
I used a set of CD-ROMs for this installation.  The T60 can boot from DVD-ROM, so you can also use the DVD if you like.  It also appears to be capable of booting from USB, but I could not get it to work for the purpose of installing Linux.&lt;br /&gt;
 &lt;br /&gt;
==Installing from CD-ROM==&lt;br /&gt;
Insert CD-ROM #1, and let it try to boot.  If it hangs on &amp;quot;ACPI: Found ECDT&amp;quot;, try again, but at &amp;quot;Install or Upgrade...&amp;quot; type:&lt;br /&gt;
    linux acpi=off&lt;br /&gt;
If you still have problems (particularly if you later find that USB does not work), you might try adding &amp;quot;noapic&amp;quot;:&lt;br /&gt;
    linux acpi=off noapic&lt;br /&gt;
Automatic disk partitioning did not work for me, probably because I retained my Windows and Rescue and Recovery partitions.  I just mimicked the partitioning scheme shown in&lt;br /&gt;
[http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/x8664-multi-install-guide/s1-diskpartitioning.html Section 4.16] of&lt;br /&gt;
[http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/x8664-multi-install-guide Installing Red Hat Enterprise Linux].&lt;br /&gt;
&lt;br /&gt;
==What Works==&lt;br /&gt;
* SMP (dual processor kernel)&lt;br /&gt;
* e1000 Gigabit Wired Ethernet&lt;br /&gt;
* DVD-ROM&lt;br /&gt;
&lt;br /&gt;
==Requires More Work==&lt;br /&gt;
* Intel 3945 wireless network adaptor&lt;br /&gt;
&lt;br /&gt;
==Not Tested==&lt;br /&gt;
* Bluetooth&lt;br /&gt;
* IR interface&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Red_Hat_Enterprise_Linux_4_on_a_ThinkPad_T60p&amp;diff=29586</id>
		<title>Installing Red Hat Enterprise Linux 4 on a ThinkPad T60p</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Red_Hat_Enterprise_Linux_4_on_a_ThinkPad_T60p&amp;diff=29586"/>
		<updated>2007-05-03T23:34:37Z</updated>

		<summary type="html">&lt;p&gt;Voominc: Editing Installing Red Hat Enterprise Linux 4 on a ThinkPad T60p&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article is not complete--I am editing it as I make progress on my installation.&lt;br /&gt;
&lt;br /&gt;
==Preparation==&lt;br /&gt;
Before you do anything else, boot Windows and create a set of Rescue and Recovery disks.  Even if you hate Windows, the next user of your computer may need it.   When that day comes, you just pop in the the Rescue and Recovery disks, and they restore Windows to its original factory-installed state.&lt;br /&gt;
&lt;br /&gt;
I used a set of CD-ROMs for this installation.  The T60 can boot from DVD-ROM, so you can also use the DVD if you like.  It also appears to be capable of booting from USB, but I could not get it to work for the purpose of installing Linux.&lt;br /&gt;
 &lt;br /&gt;
==Installing from CD-ROM==&lt;br /&gt;
Insert CD-ROM #1, and let it try to boot.  If it hangs on &amp;quot;ACPI: Found ECDT&amp;quot;, try again, but at &amp;quot;Install or Upgrade...&amp;quot; type:&lt;br /&gt;
    linux acpi=off&lt;br /&gt;
If you still have problems (particularly if you later find that USB does not work), you might try adding &amp;quot;noapic&amp;quot;:&lt;br /&gt;
    linux acpi=off noapic&lt;br /&gt;
Automatic disk partitioning did not work for me, probably because I retained my Windows and Rescue and Recovery partitions.  I just mimicked the partitioning scheme shown in&lt;br /&gt;
[http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/x8664-multi-install-guide/s1-diskpartitioning.html Section 4.16] of&lt;br /&gt;
[http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/x8664-multi-install-guide Installing Red Hat Enterprise Linux].&lt;br /&gt;
&lt;br /&gt;
==What Works==&lt;br /&gt;
- SMP (dual processor kernel)&lt;br /&gt;
- e1000 Gigabit Wired Ethernet&lt;br /&gt;
- DVD-ROM&lt;br /&gt;
&lt;br /&gt;
==Requires More Work==&lt;br /&gt;
- Intel 3945 wireless network adaptor&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Wireless_Network_Adapters&amp;diff=29562</id>
		<title>Wireless Network Adapters</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Wireless_Network_Adapters&amp;diff=29562"/>
		<updated>2007-04-29T20:06:54Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* Atheros */&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;white-space:nowrap;&amp;quot; | __TOC__&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
This document covers IBM integrated (MiniPCI), Cardbus and PC Card (PCMCIA) Wi-Fi devices.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Finding out which adapter you have ==&lt;br /&gt;
For MiniPCI or Cardbus adapters run the command:&lt;br /&gt;
:{{cmdroot|lspci -n &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep &amp;quot;Class 0200&amp;quot;}}&lt;br /&gt;
If that produces no output, run this command instead:&lt;br /&gt;
:{{cmdroot|lspci -n &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; grep &amp;quot;0200&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
(Alternatively, grep for &amp;quot;0280&amp;quot; which identifies &amp;quot;Network&amp;quot; controllers, as opposed to &amp;quot;0200&amp;quot; which identifies &amp;quot;Ethernet&amp;quot; controllers.)&lt;br /&gt;
&lt;br /&gt;
And compare the PCI IDS with the ones below.&lt;br /&gt;
&lt;br /&gt;
{{NOTE| This will also return the PCI IDS of any Ethernet adapters, as Ethernet adapters and Wireless adapters share the same PCI Class ID.}}&lt;br /&gt;
&lt;br /&gt;
== MiniPCI adapters ==&lt;br /&gt;
=== Atheros ===&lt;br /&gt;
*[[IBM Dual-Band 11a/b Wi-Fi Wireless Mini PCI Adapter]] &amp;lt;tt&amp;gt;(PCI-ID: 168c:0012)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[IBM 11b/g Wireless LAN Mini PCI Adapter]] &amp;lt;tt&amp;gt;(PCI-ID: 168c:0013)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[IBM 11a/b/g Wireless LAN Mini PCI Adapter]] &amp;lt;tt&amp;gt;(PCI-ID: 168c:1014)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[IBM 11a/b/g Wireless LAN Mini PCI Adapter II]] &amp;lt;tt&amp;gt;(PCI-ID: 168c:1014)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[ThinkPad 11a/b/g Wireless LAN Mini Express Adapter]] &amp;lt;tt&amp;gt;(PCI-ID: 168c:1014)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[ThinkPad 11a/b/g/n Wireless LAN Mini Express Adapter (AR5BXB72)]] &amp;lt;tt&amp;gt;(PCI-ID: 168c:0024)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[SparkLAN WMIA-166AG Wireless LAN Mini PCI Adapter (AR5006XS)]] &amp;lt;tt&amp;gt;(PCI-ID: 168c:001b)&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Cisco ===&lt;br /&gt;
*[[Cisco Aironet Wireless 802.11b]] &amp;lt;tt&amp;gt;(PCI-ID: 14b9:a504)&amp;lt;/tt&amp;gt;&lt;br /&gt;
=== Intel ===&lt;br /&gt;
*[[Intel PRO/Wireless LAN 2100 3B Mini PCI Adapter]] &amp;lt;tt&amp;gt;(PCI-ID: 8086:1043)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Intel PRO/Wireless 2200BG Mini-PCI Adapter]] &amp;lt;tt&amp;gt;(PCI-ID: 8086:4220)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Intel PRO/Wireless 2915ABG Mini-PCI Adapter]] &amp;lt;tt&amp;gt;(PCI-ID: 8086:4224)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter]]&lt;br /&gt;
&lt;br /&gt;
=== Prism ===&lt;br /&gt;
*[[IBM High Rate Wireless LAN Mini-PCI Adapter with Modem]] &amp;lt;tt&amp;gt;(PCI-ID: 1260:3873)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[IBM High Rate Wireless LAN Mini-PCI Adapter with Modem II]] &amp;lt;tt&amp;gt;(PCI-ID: 1260:3873)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[[IBM High Rate Wireless LAN Mini-PCI Adapter III]]&lt;br /&gt;
&lt;br /&gt;
=== Error 1802 - &amp;quot;Unauthorized&amp;quot; MiniPCI network card ===&lt;br /&gt;
Attempts to install an unsupported card will result in the following message:&lt;br /&gt;
&lt;br /&gt;
   1802: Unauthorized network card is plugged in - Power off and remove the miniPCI network card.&lt;br /&gt;
&lt;br /&gt;
For a resolution, see the [[Problem with unauthorized MiniPCI network card]] page.&lt;br /&gt;
&lt;br /&gt;
== Cardbus adapters ==&lt;br /&gt;
Cardbus is a 32bits bus that runs at 33MHz, and is in many ways simular to the PCI bus. In fact under Linux Cardbus adapters are handled by the PCI subsystem.&amp;lt;br&amp;gt;&lt;br /&gt;
You can differentiate a PC Card adapter from a Cardbus adapter as the later has a gold coloured grounding strip&lt;br /&gt;
=== IBM 11 a/b/g Wireless Cardbus Adapter ===&lt;br /&gt;
Chipset: Atheros&amp;lt;br&amp;gt;&lt;br /&gt;
Driver: [[madwifi]]&amp;lt;br&amp;gt;&lt;br /&gt;
Supported wireless modes: 802.11a, 802.11b, 802.11g&lt;br /&gt;
&lt;br /&gt;
Specifications: [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-51855 MIGR-51855]&amp;lt;br&amp;gt;&lt;br /&gt;
Users Guide: [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-51959 MIGE-51855]&amp;lt;br&amp;gt;&lt;br /&gt;
Service Parts: [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-51874 MIGR-51874]&lt;br /&gt;
Looking for a reverse PCI to cardbus (ie - want to fit a PCI card into a cardbus slot)&lt;br /&gt;
&lt;br /&gt;
=== IBM 802.11a Wireless LAN Cardbus Adapter ===&lt;br /&gt;
Chipset: Atheros&amp;lt;br&amp;gt;&lt;br /&gt;
Driver: [[madwifi]]&amp;lt;br&amp;gt;&lt;br /&gt;
Supported wireless modes: 802.11a&lt;br /&gt;
&lt;br /&gt;
Specifications: [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-42209 MIGR-42209]&amp;lt;br&amp;gt;&lt;br /&gt;
Users Guide: [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-42233 MIGR-42233]&amp;lt;br&amp;gt;&lt;br /&gt;
Service Parts: [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-42231 MIGR-42231]&lt;br /&gt;
&lt;br /&gt;
== PC Card (PCMCIA) adapters ==&lt;br /&gt;
PC Card or PCMCIA (Personal Computer Memory Card International Association) as it used to be called, is an 8 or 16bits bus limited to 8MHz, in many ways simular to the old ISA bus and not suitable for highspeed devices.&lt;br /&gt;
=== Cisco Aironet 350 802.11b wireless PC card with 128bit ===&lt;br /&gt;
Chipset: Cisco&amp;lt;br&amp;gt;&lt;br /&gt;
Driver: airo_cs&amp;lt;br&amp;gt;&lt;br /&gt;
Supported wireless modes: 802.11b&lt;br /&gt;
=== IBM High Rate Wireless LAN PC Card ===&lt;br /&gt;
Chipset: Hermes I&amp;lt;br&amp;gt;&lt;br /&gt;
Drivers: [[orinoco|orinoco_cs]]&amp;lt;br&amp;gt;&lt;br /&gt;
Supported wireless modes: 802.11b&lt;br /&gt;
&lt;br /&gt;
[[Category:Components]]&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Rescue_and_Recovery&amp;diff=29097</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=29097"/>
		<updated>2007-04-06T05:43:16Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* Using the Windows Bootloader to Boot Linux */&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 with carefully.&lt;br /&gt;
&lt;br /&gt;
Rescue and Recovery is a Windows specific feature. If you intend to recover into Windows when you have an issue, it is important to follow the warnings here carefully. If you intend to run another operating system exclusively and never return to Windows, removing this partition is safe. If you remove it, you can still reinstall windows at a later time, provided you have created a Recovery set of discs (1CD + 1DVD or 5CDs required). Booting from the Recovery CD will restore the system to the factory state including the recovery partition.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&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;
*When booting from the Rescue and Recovery partition, it needs to have its type set (either by Thinkvantage or by GRUB) to 0x0b (FAT32) for the default bootloader to 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. More information is needed about this program.&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: Please note that there are people who report that this didn't work, for example it didn't work on a {{Z61m}} 9450-3HG.&lt;br /&gt;
&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 partition's 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 the Windows Bootloader to Boot Linux===&lt;br /&gt;
The NTLDR Windows bootloader can be configured to boot Linux in addition to Windows.  The master boot record (MBR) is unchanged, so the ThinkVantage Rescue and Recovery system boot functionality is preserved.  This clever procedure was [http://gawrysiak.org/corvus/?p=4 originally applied] to Ubuntu Dapper Drake, and is generalized here.&lt;br /&gt;
&lt;br /&gt;
1. Boot Windows and make product recovery disks.  You will see this step repeated throught this wiki for good reason.  The recovery disks can refresh your hard disk to its original factory state, getting you out of the trouble you might make in the next step.&lt;br /&gt;
&lt;br /&gt;
2. Shrink the Windows NTFS partition to the size you like.  You will need a bootable CD that is capable of resizing NTFS partitions.  I have done this before with Knoppix, but this time I used Partition Magic (US$70).&lt;br /&gt;
&lt;br /&gt;
Leave the Rescue and Recovery partition (~5GB) at the end of the disk.  Other authors claim that it ''must not'' be moved.  I did move it, and it works fine.  Still, in retrospect I agree that the end of the disk is the best place for your Rescue and Recovery partition.&lt;br /&gt;
&lt;br /&gt;
3. Reboot.  Push the {{ibmkey|ThinkVantage|#495988}} button during system boot, and verify that Rescue and Recovery still runs.  Reboot into Windows to verify that the partition resize was successful.&lt;br /&gt;
&lt;br /&gt;
4. Begin your Linux installation.  Linux will see the Windows NTFS partition as /dev/sda1, and the Rescue and Recovery FAT32 partition as /dev/sda2.  When the Linux installer asks you about GRUB, do not install GRUB in the MBR.  Instead, install GRUB in the /boot partition (most likely /dev/sda3).&lt;br /&gt;
&lt;br /&gt;
5. After the Linux installation is finished, reboot with a bootable Linux live CD.  The &amp;quot;rescue mode&amp;quot; of your Linux installation CD #1 should work fine for this.  Usually you start the rescue mode with the command,&lt;br /&gt;
&lt;br /&gt;
    linux rescue&lt;br /&gt;
&lt;br /&gt;
Start the network if you plan to use FTP in step 7.&lt;br /&gt;
&lt;br /&gt;
6. After you get a shell prompt, become root if necessary, and then write the first sector of the /boot partition (probably /dev/sda3) to a file using the dd command:&lt;br /&gt;
&lt;br /&gt;
     sudo -i                   # If necessary&lt;br /&gt;
     cd /mnt/sysimage/boot     # Or wherever your live CD mounts the /boot partition&lt;br /&gt;
     dd if=/dev/sda3 of=grub.img bs=512 count=1&lt;br /&gt;
&lt;br /&gt;
The resulting grub.img file should be 512 bytes long.&lt;br /&gt;
&lt;br /&gt;
7. Transfer the grub.img file somewhere where you can read it from Windows.  You can use removable media like a USB flash drive, or even FTP.&lt;br /&gt;
&lt;br /&gt;
8. Reboot into Windows. Copy the grub.img file to c:\grub.img.&lt;br /&gt;
&lt;br /&gt;
9. Make a backup copy of the c:\boot.ini NTLDR control file.  c:\boot.ini is read-only and hidden, so you will have to tell Windows to show hidden files, and turn off the read-only property on c:\boot.ini.&lt;br /&gt;
&lt;br /&gt;
10. Edit c:\boot.ini.  Append the line,&lt;br /&gt;
&lt;br /&gt;
    c:\grub.img=&amp;quot;Linux GRUB Bootloader&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So that Linux will boot by default, you may also want to change the default OS to c:\grub.img, and reduce the timeout to 5 seconds or so.  For reference, here is my c:\boot.ini file for Windows XP:&lt;br /&gt;
&lt;br /&gt;
    [boot loader]&lt;br /&gt;
    timeout=5&lt;br /&gt;
    default=c:\grub.img&lt;br /&gt;
    [operating systems]&lt;br /&gt;
    c:\grub.img=&amp;quot;Linux GRUB Bootloader&amp;quot;&lt;br /&gt;
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=&amp;quot;Windows XP Professional&amp;quot; /noexecute=optin /fastdetec&lt;br /&gt;
&lt;br /&gt;
11. Reboot.  Now the Windows boot menu should offer you a choice of &amp;quot;Linux GRUB Bootloader&amp;quot; or Windows XP.  Choose &amp;quot;Linux GRUB Bootloader&amp;quot;, and you will be taken to the GRUB boot menu, where you can select Linux, or even go back to the Windows boot menu.&lt;br /&gt;
&lt;br /&gt;
12. When you need Rescue and Recovery, push the {{ibmkey|ThinkVantage|#495988}} button upon system boot.  Since you have touched neither the MBR nor the Rescue and Recovery partition, Rescue and Recovery will work exactly the same as it did before you installed Linux.&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?sitestyle=lenovo&amp;amp;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 {{T60}}, {{T60p}}&lt;br /&gt;
* ThinkPad {{R52}}&lt;br /&gt;
* ThinkPad {{Z60m}}&lt;br /&gt;
* Thinkpad {{Z61m}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_6_on_a_ThinkPad_T60&amp;diff=28554</id>
		<title>Installing Fedora Core 6 on a ThinkPad T60</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Installing_Fedora_Core_6_on_a_ThinkPad_T60&amp;diff=28554"/>
		<updated>2007-03-03T20:10:04Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* Works Out of the Box */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation ==&lt;br /&gt;
&lt;br /&gt;
Installation of Fedora Core 6 (Zod) on a Thinkpad T60 (2623).  The installation completes successfully but installs the i586 kernel instead of the required i686 kernel.  The wrong kernel is due to a [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211941 known bug] in the Anaconda installer. Work-arounds and instructions for checking your kernel are [http://fedoraproject.org/wiki/Bugs/FC6Common on this page].&lt;br /&gt;
&lt;br /&gt;
'''Note''' :  The installer on disc still does not correctly install the i686 kernel. Use the available updates.img patch or a network install. Check your kernel version before you proceed. --[[User:Whizkid|Whizkid]] 13:15, 19 December 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
'''Note''' : According to Red Hat, if you boot the install disk using 'linux i686'  when installing, then the i686 kernel will be installed.  This does not work when upgrading.&lt;br /&gt;
&lt;br /&gt;
=== Keeping ThinkVantage Functionality ===&lt;br /&gt;
See the [[Rescue and Recovery]] page for details about the recovery partition and retaining access to it.&lt;br /&gt;
&lt;br /&gt;
== Works Out of the Box ==&lt;br /&gt;
&lt;br /&gt;
; Dual Cores (SMP processing)&lt;br /&gt;
: As of Kernel 2.6.18, used in Fedora Core 6, there is no loger a single cpu and smp kernel image.  SMP is now configured on-the-fly.  FC6's kernel will automatically discover the T60's dual core cpu and bring up CPU0 and CPU1.&lt;br /&gt;
&lt;br /&gt;
; Wired Networking &lt;br /&gt;
: Kernel recognizes eth0 and correctly loads the e1000 driver.&lt;br /&gt;
&lt;br /&gt;
; Video at 1400x1050&lt;br /&gt;
: Fedora does not ship the proprietary ATi driver, as a reult the VESA driver is used.  Installation of the ATi fgrlx driver is described later in this article.&lt;br /&gt;
&lt;br /&gt;
; Touchpad / Mouse&lt;br /&gt;
: The TrackPoint middle button does not work as a scroll wheel by default.&lt;br /&gt;
: PFPS: Note that although the touchpad and trackpoint work, Fedora Core 6 does a bad job of setting up xorg.conf.  It is better to fix it up (see below).&lt;br /&gt;
&lt;br /&gt;
; Sound &lt;br /&gt;
: The first-boot sound test fails to play the test sound.  However, sound support is correctly configured and the snd-hda-intel driver is loaded at startup.&lt;br /&gt;
: Important: The modem must be enabled in the BIOS.  Make sure it is, or you may search a long time for the reason that you have no sound. I presume this is a driver bug.&lt;br /&gt;
&lt;br /&gt;
; Suspend to RAM &lt;br /&gt;
: Works out of the box under Gnome.  Gnome power management intregrates with HAL (Linux's hardware abstraction layer) and DBUS, which correctly put this computer into a suspsend to RAM state and wake it up correctly.&lt;br /&gt;
&lt;br /&gt;
== Requires Tweaking == &lt;br /&gt;
&lt;br /&gt;
* Wireless Networking (Requires ipw3945 driver)&lt;br /&gt;
* ATi OpenGL Direct Rendering&lt;br /&gt;
* Hibernate&lt;br /&gt;
* IrDA&lt;br /&gt;
&lt;br /&gt;
== Post Install ==&lt;br /&gt;
&lt;br /&gt;
=== Replacing the Kernel ===&lt;br /&gt;
&lt;br /&gt;
'''Note''' : The steps below will not be required if the i686 version is already installed, which you can achieve using the notes above( Upon boot up type &amp;quot;linux i686&amp;quot; at the prompt).&lt;br /&gt;
&lt;br /&gt;
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. It is best to do this first, before updating any packages.&lt;br /&gt;
&lt;br /&gt;
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].  The safest method is to just to find the i686 kernel on your Fedora Core disk, and install it with the command:&lt;br /&gt;
&lt;br /&gt;
  # rpm -Uvh --replacefiles --replacepkgs kernel-$(uname -r).i686.rpm&lt;br /&gt;
&lt;br /&gt;
However, if you the kernal version of the i686 kernel if different that the i586 kernel you have installed and you do not use LVM, you might risk the following method using [[yum]] to do the kernel swap.&lt;br /&gt;
&lt;br /&gt;
'''Note''' : When I tried the yum method, I had to download 1GB worth of dependancies to reinstall.  Afterwards the swap my system did not boot.  Backing up grub did not help, because the problem was the initrd, and I did not have a good way or restoring the old version.  However, using the Fedora Core 6 disk to &amp;quot;upgrade&amp;quot; from Fedora Core 6 to Fedora Core 6 did restore grub.&lt;br /&gt;
&lt;br /&gt;
To swap kernels:&lt;br /&gt;
# Open up a terminal window are become root.&lt;br /&gt;
# Execute: yum remove kernel&lt;br /&gt;
# 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.&lt;br /&gt;
# Install the kernel.i686 package and any other packages removed in the previous step.&lt;br /&gt;
# Fix your [[Grub]] configuration&lt;br /&gt;
# Reboot&lt;br /&gt;
&lt;br /&gt;
On a minimal install, the only dependencies removed were gnome-session, compiz, gnome-volume-manager, and pcmciautils.  Getting things back on track required:&lt;br /&gt;
&lt;br /&gt;
 # yum install kernel.i686 gnome-session compiz gnome-volume-manager pcmciautils&lt;br /&gt;
&lt;br /&gt;
After [Yum] completes, you will have to fix the boot loader or you will be unable to boot after a restart.&lt;br /&gt;
&lt;br /&gt;
If you have '''not''' used Fedora's default installation using LVM partitions, you can use the following configuration for grub. 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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
title FC6 2.6.18-1.2798&lt;br /&gt;
        kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/ rhgb quiet&lt;br /&gt;
        initrd /initrd-2.6.18-1.2798.fc6.img&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have an LVM partition, use the method detailed at Redhat's site.&lt;br /&gt;
&lt;br /&gt;
=== Getting Up to Date ===&lt;br /&gt;
&lt;br /&gt;
Before completing installation, it's best to get up to date by running yum update as root or by using the new graphical updater, Pup, that ships with Fedora Core 6.  After all updates are installed, reboot before continuing the post-install tasks.&lt;br /&gt;
&lt;br /&gt;
=== Setting Up Additional Repositories ===&lt;br /&gt;
&lt;br /&gt;
In order to get the ATI driver and the Intel Wireless working, you will need to add two repositories to your computer; [http://rpm.livna.org/ Livna RPMs] and [http://atrpms.net/ AT-RPMs].&lt;br /&gt;
&lt;br /&gt;
; Enabling Livna's Repository &lt;br /&gt;
: As root,  rpm -ivh http://rpm.livna.org/livna-release-6.rpm .&lt;br /&gt;
&lt;br /&gt;
; Enabling AT-RPMs Repository&lt;br /&gt;
: As root, use your favorite editor to create /etc/yum.repos.d/atrpms.repo and type in:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[atrpms]&lt;br /&gt;
name=Fedora Core $releasever - $basearch - ATrpms&lt;br /&gt;
baseurl=http://dl.atrpms.net/fc$releasever-$basearch/atrpms/stable&lt;br /&gt;
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms&lt;br /&gt;
gpgcheck=1&lt;br /&gt;
enabled=0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Important:&amp;lt;/b&amp;gt; Disabling the AT-RPMs repository by default (using enabled=0) in the above configuration is important.  Some repositories have been known not to play well together.  See [http://forums.fedoraforum.org/showthread.php?t=94861 this post] on the [http://forums.fedoraforum.org/ Fedora Forms] for more information.  However, AT-RPMs does provide a packaged version of the Intel wireless drivers and firmware that we'll use to set up wireless networking later.  As long as AT-RPMs is disabled by default, Yum won't install software from their repository unless we explicitly tell it to do so.&lt;br /&gt;
&lt;br /&gt;
== ATi Video Driver (fglrx) ==&lt;br /&gt;
&lt;br /&gt;
First check that your T60 has FireGL, this can be determined either by using scanpci or looking at your xorg.conf file.  If you see in your /etc/X11/xorg.conf file:&lt;br /&gt;
  #Driver      &amp;quot;i810&amp;quot;&lt;br /&gt;
you have an ThinkPad T60 X or CTO series, and you can not install the ATI driver.  If you see:&lt;br /&gt;
  #Driver      &amp;quot;vesa&amp;quot;&lt;br /&gt;
you probably have an ATI driver, and the following instructions should work.&lt;br /&gt;
&lt;br /&gt;
Installing the fglrx driver is easy if you've enabled the Livna.org RPM repository as discribed earlier in this article.  Unfortunately, the proprietary ATi driver currently does not support desktop effects or composite rendering used by default in Fedora Core 6.&lt;br /&gt;
&lt;br /&gt;
To install the drivers, as root:&lt;br /&gt;
 [root@scottt60 ~]# yum install kmod-fglrx.i686 xorg-x11-drv-fglrx&lt;br /&gt;
&lt;br /&gt;
While the driver installs, X fails to use direct Open GL rendering.  There are two things that need to be done to get the driver working.  First, we must disable effects by adding these lines to the bottom of /etc/X11/xorg.conf:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
        Option  &amp;quot;AIGLX&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option &amp;quot;Composite&amp;quot; &amp;quot;Disable&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, we need to add ATi's driver directory to dynamic linker (ld) search path and update the linker configuration:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[root@scottt60 ~]# echo &amp;quot;/usr/lib/ati-fglrx/&amp;quot; &amp;gt; /etc/ld.so.conf.d/ati-fglrx.conf&lt;br /&gt;
[root@scottt60 ~]# ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After ldconfig completes, restart X.  You can check if you've completed your installation correctly by running fglrxinfo.  Your output should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[scott@scottt60 ~]$ fglrxinfo &lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Mobility Radeon X1400 Generic&lt;br /&gt;
OpenGL version string: 2.0.6174 (8.31.5)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Congratulations, your video configuration is complete.&lt;br /&gt;
&lt;br /&gt;
== Better UltraNav (touchpad) support [PFPS] ==&lt;br /&gt;
&lt;br /&gt;
'''Note''' : The following steps do not seem consistent with the previous section which is suppose to replace vesa with fglrx...  However, the settings in the &amp;quot;InputDevice&amp;quot; section do seem to work.  So perhaps it is better to just swap device settings and not replace tho whole xorg.conf file.&lt;br /&gt;
&lt;br /&gt;
To get the touchpad to work right, it is much better to change /etc/X11/xorg.conf.  There is quite a bit of information on how to do this scattered over the web, but very little information on why various changes have to be made.  (I expect that the changes I made here are not specific to the T60, but would work on most Thinkpads with an UltraNav.)&lt;br /&gt;
&lt;br /&gt;
I ended up crafting my own xorg.conf, which does the job, and produces no (extra) errors or warnings.  (Note that the generated xorg.conf is very sparse, and generates warnings due to missing monitors and font directories.  These appear to be benign.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Xorg configuration created by pyxf86config&lt;br /&gt;
# modified by pfps for Synaptics touchpad&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
        Identifier     &amp;quot;Default Layout&amp;quot;&lt;br /&gt;
        Screen      0  &amp;quot;Screen0&amp;quot; 0 0&lt;br /&gt;
        InputDevice    &amp;quot;Keyboard0&amp;quot; &amp;quot;CoreKeyboard&amp;quot;&lt;br /&gt;
        InputDevice    &amp;quot;Mouse0&amp;quot;    &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
	InputDevice    &amp;quot;TouchPad&amp;quot;  &amp;quot;AlwaysCore&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Keyboard0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;kbd&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XkbModel&amp;quot; &amp;quot;pc105&amp;quot;&lt;br /&gt;
        Option      &amp;quot;XkbLayout&amp;quot; &amp;quot;us&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
# synaptics touchpad device&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
   Identifier   &amp;quot;TouchPad&amp;quot;&lt;br /&gt;
   Driver       &amp;quot;synaptics&amp;quot;&lt;br /&gt;
   Option       &amp;quot;Device&amp;quot;        &amp;quot;/dev/input/mouse0&amp;quot;	# may not be needed&lt;br /&gt;
   Option       &amp;quot;Protocol&amp;quot;      &amp;quot;auto-dev&amp;quot;	# automatically find device?&lt;br /&gt;
   Option       &amp;quot;LeftEdge&amp;quot;      &amp;quot;1700&amp;quot;&lt;br /&gt;
   Option       &amp;quot;RightEdge&amp;quot;     &amp;quot;5300&amp;quot;&lt;br /&gt;
   Option       &amp;quot;TopEdge&amp;quot;       &amp;quot;1700&amp;quot;&lt;br /&gt;
   Option       &amp;quot;BottomEdge&amp;quot;    &amp;quot;4200&amp;quot;&lt;br /&gt;
   Option       &amp;quot;FingerLow&amp;quot;     &amp;quot;25&amp;quot;&lt;br /&gt;
   Option       &amp;quot;FingerHigh&amp;quot;    &amp;quot;30&amp;quot;&lt;br /&gt;
   Option       &amp;quot;MaxTapTime&amp;quot;    &amp;quot;0&amp;quot;		# turn off tapping&lt;br /&gt;
   Option       &amp;quot;MaxTapMove&amp;quot;    &amp;quot;220&amp;quot;&lt;br /&gt;
   Option       &amp;quot;VertScrollDelta&amp;quot; &amp;quot;100&amp;quot;&lt;br /&gt;
   Option       &amp;quot;MinSpeed&amp;quot;      &amp;quot;0.09&amp;quot;&lt;br /&gt;
   Option       &amp;quot;MaxSpeed&amp;quot;      &amp;quot;0.18&amp;quot;&lt;br /&gt;
   Option       &amp;quot;AccelFactor&amp;quot;   &amp;quot;0.0015&amp;quot;&lt;br /&gt;
   Option       &amp;quot;SHMConfig&amp;quot;     &amp;quot;on&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
# default mouse - handles other pointing devices, including trackpoint&lt;br /&gt;
Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Mouse0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;Auto&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Emulate3Buttons&amp;quot; &amp;quot;no&amp;quot;&lt;br /&gt;
	Option	    &amp;quot;Buttons&amp;quot; &amp;quot;3&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Videocard0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;vesa&amp;quot;&lt;br /&gt;
EndSection&lt;br /&gt;
&lt;br /&gt;
Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier &amp;quot;Screen0&amp;quot;&lt;br /&gt;
        Device     &amp;quot;Videocard0&amp;quot;&lt;br /&gt;
        DefaultDepth     24&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     24&lt;br /&gt;
        EndSubSection&lt;br /&gt;
EndSection&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Hibernation ==&lt;br /&gt;
&lt;br /&gt;
Instructions for getting hibernate to work are available at &lt;br /&gt;
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205144&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Wireless Networking ==&lt;br /&gt;
&lt;br /&gt;
To use the T60's built in wireless networking driver, you will need to install ipw3945 driver.  The AT-RPMs repository, mentioned earlier in this article, provides the necessary packages. ATRpms does not always keep the older versions, and there will be some delay after a new kernel is released until the required kernel module is available. Patience is appreciated.&lt;br /&gt;
&lt;br /&gt;
If you are running a x86_64 architecture, it is sometimes best to use the ipw3945 instruction guide from sourceforge, ignoring any build errors during make, and start ipw3945d with the below script.&lt;br /&gt;
&lt;br /&gt;
ATRpms has recently made this process very simple. As root:&lt;br /&gt;
&lt;br /&gt;
 # yum --enablerepo=atrpms install ipw3945&lt;br /&gt;
If you get an error stating &amp;quot;GPG key parsing failed: can't set attribute&amp;quot; then you need to import the key. Do so by&lt;br /&gt;
&lt;br /&gt;
 rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms&lt;br /&gt;
&lt;br /&gt;
Check that /etc/init.d/ipw3945d was created. You can use this as a template.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#! /bin/bash&lt;br /&gt;
#&lt;br /&gt;
# ipw3490d      Load / unload Intel ipw3490 daemon&lt;br /&gt;
#&lt;br /&gt;
# chkconfig: 2345 09 90&lt;br /&gt;
# description:  Load / unload Intel ipw3490 daemon&lt;br /&gt;
#&lt;br /&gt;
### BEGIN INIT INFO&lt;br /&gt;
# Provides: ipw3490d&lt;br /&gt;
### END INIT INFO&lt;br /&gt;
&lt;br /&gt;
# Source function library.&lt;br /&gt;
. /etc/init.d/functions&lt;br /&gt;
&lt;br /&gt;
if [ ! -f /etc/sysconfig/network ]; then&lt;br /&gt;
    exit 0&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
case &amp;quot;$1&amp;quot; in&lt;br /&gt;
  start)&lt;br /&gt;
        echo -n &amp;quot;Starting ipw3945d: &amp;quot;&lt;br /&gt;
        /sbin/ipw3945d &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
        echo&lt;br /&gt;
        ;;&lt;br /&gt;
  stop)&lt;br /&gt;
        echo -n &amp;quot;Stopping ipw3945d: &amp;quot;&lt;br /&gt;
        killproc ipw3945d&lt;br /&gt;
        echo&lt;br /&gt;
        ;;&lt;br /&gt;
  status)&lt;br /&gt;
        status ipw3945d&lt;br /&gt;
        ;;&lt;br /&gt;
  restart)&lt;br /&gt;
        cd &amp;quot;$CWD&amp;quot;&lt;br /&gt;
        $0 stop&lt;br /&gt;
        $0 start&lt;br /&gt;
        ;;&lt;br /&gt;
  *)&lt;br /&gt;
        echo $&amp;quot;Usage: $0 {start|stop|restart|status}&amp;quot;&lt;br /&gt;
        exit 1&lt;br /&gt;
esac&lt;br /&gt;
&lt;br /&gt;
exit 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, make it executable and add the script with chkconfig to be started on boot:&lt;br /&gt;
 &lt;br /&gt;
 # chmod 750 /etc/init.d/ipw3945d&lt;br /&gt;
 # chkconfig --add ipw3945d&lt;br /&gt;
&lt;br /&gt;
Make sure things are setup correctly by running chkconfig --list ipw3945d.  Your output should look something like:&lt;br /&gt;
&lt;br /&gt;
 # chkconfig --list ipw3945d&lt;br /&gt;
 ipw3945d        0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;br /&gt;
&lt;br /&gt;
If everything looks okay, reboot.  Once restarted you should be able to run &amp;lt;code&amp;gt;ifconfig eth1&amp;lt;/code&amp;gt; and see information about your wireless card. If you prefer a GUI, you can run the network configuration tool (System, Administration, Network). Click New on the Devices tab, then Wireless Connection. &amp;quot;Intel Corporation PRO/Wireless 3945ABG Network Connection(eth1)&amp;quot; or something similar should appear in the list of wireless devices.&lt;br /&gt;
&lt;br /&gt;
== Infrared (IrDA) ==&lt;br /&gt;
By default, Fedora will make the IR device appear as ttyS2, but the BIOS has the port default to COM2, or ttyS1. Paste this text into /etc/sysconfig/irda:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
IRDA=yes&lt;br /&gt;
DEVICE=/dev/ttyS1&lt;br /&gt;
#DONGLE=actisys+&lt;br /&gt;
DISCOVERY=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start (or restart) the irda service. Then ensure it starts for your favorite runlevel using either chkconfig or the Service Configuration tool. You can then use irdadump (as root) to confirm your configuration is correct by monitoring port activity when another IR device is near.&lt;br /&gt;
&lt;br /&gt;
=External Sources=&lt;br /&gt;
*This guide is listed at the [http://tuxmobil.org/ibm.html TuxMobil Linux laptop and notebook installation survey (IBM/Lenovo)].&lt;br /&gt;
&lt;br /&gt;
[[Category:Fedora]]&lt;br /&gt;
[[Category:T60]]&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Pre-Installation_steps&amp;diff=28553</id>
		<title>Pre-Installation steps</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Pre-Installation_steps&amp;diff=28553"/>
		<updated>2007-03-03T19:53:29Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* Resizing your Windows Partition */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Rescue and Recovery Media==&lt;br /&gt;
Most modern ThinkPads ship with Windows preinstalled on the hard disk only--no recovery disks are included.  Instead, Lenovo ThinkVantage software allows you to create a Rescue and Recovery CD-ROM and a Product Recovery DVD-ROM.  These will allow you to restore the hard disk to its exact factory installed state.  They can also perform other useful system recovery functions.&lt;br /&gt;
&lt;br /&gt;
Even if you have no intention of using Windows, your first action should be to create these disks.  Later, you or someone else may want to use Windows again.  The recovery disks make it very simple to reinstall Windows, perfectly configured for your ThinkPad.  Here's how:&lt;br /&gt;
&lt;br /&gt;
1. Turn on the system and boot Windows.&lt;br /&gt;
&lt;br /&gt;
2. Start the recovery media creation program with ''Start | All Programs | ThinkVantage | Create Recovery Media''.&lt;br /&gt;
&lt;br /&gt;
3. Choose to create ''Recovery Disks''.  The other alternative, ''Rescue Media'', creates only the first of the ''Recovery Disks''.&lt;br /&gt;
&lt;br /&gt;
4. Insert a blank CD-ROM as instructed.  This will become a bootable Rescue and Recovery disk.&lt;br /&gt;
&lt;br /&gt;
5. Insert one DVD-ROM (or a series of seven CD-ROMs) as instructed.  This will become the Product Recovery disk that contains the bulk of the data on the hard disk.&lt;br /&gt;
&lt;br /&gt;
6. Save the disks in a safe place.&lt;br /&gt;
&lt;br /&gt;
When you want to erase everything on the hard disk and restore the system to its factory preinstalled state, boot from the Rescue and Recovery disk, and run ''Restore Your System''.&lt;br /&gt;
&lt;br /&gt;
If you forget to make recovery disks, Lenovo [[Ordering_Recovery_CDs|offers]] shipment of a pack of rescue disks if you call the support hotline.  Also, recovery CDs for older ThinkPads are [http://stores.ebay.com/Recovery-CDs-Disks sold on eBay] (you must supply your own Windows disk).  However, the only way to get recovery disks that match your system exactly is to make them now. &lt;br /&gt;
&lt;br /&gt;
The copy of Windows that came with your ThinkPad cannot be legally transferred to any other system.  Leave the Windows license sticker intact.  The resale value of your ThinkPad will be lower without it.&lt;br /&gt;
&lt;br /&gt;
==Resizing your Windows Partition==&lt;br /&gt;
Modern Thinkpads ship with a FAT32 recovery partition of about 5GB, and a Windows NTFS partition that consumes the rest of the hard disk.  If you want to keep Windows on your system, you will need to shrink the Windows disk partition to make room for Linux.  The easy way is to use commercial software like Partition Magic (US$70) or [http://www.partition-manager.com Partition Manager] (US$50).&lt;br /&gt;
&lt;br /&gt;
If you do not want to pay for Partition Magic or Partition Manager, you can use [http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html ntfsresize]. I recommend booting {{Kanotix}} or {{Knoppix}}, getting it online and using the latest version to be found at the ntfsresize link because the CD linuxes tend to come with slightly out-dated versions. Be sure not to forget to resize your Windows partition (e.g. with cfdisk) AFTER having resized ntfs and TAKE CARE not to make the partition smaller than you made the ntfs. If you like it safe and smooth you can also take a look at the program &amp;quot;qtparted&amp;quot; which reportedly takes care of ntfsresize and partition table changing in one go and allows you to adjust partition sizes in a GUI. But I have not tested this software personally.&lt;br /&gt;
&lt;br /&gt;
If you want to retain Rescue and Recovery functionality, do not delete the 5GB recovery partition.  You can either move it or leave it in place at the end of the hard disk.  A procedure for moving it appears in the next section.&lt;br /&gt;
&lt;br /&gt;
'''Please be carefull before taking the following steps. I suggest that you should create rescue and product recovery CDs (6 CDS will be required) before going for the following so that if anything goes wrong you can go back to the factory setting using those CDs.'''&lt;br /&gt;
&lt;br /&gt;
==Moving the Recovery partition using a Linux rescue system==&lt;br /&gt;
On newer models (i.e. the T43) the preinstalled HDD has two partitions; the first one containing the OS and second one having the rescue files used to boot the machine when {{ibmkey|Access IBM|#495988}} button is pressed before Windows XP takes control of the laptop. One can use his Linux distros boot CD (usually the first CD) to boot into rescue mode and shift the rescue partition from the end of the HDD to somewhere in between leaving required space for Windows. This can be done in following steps:&lt;br /&gt;
&lt;br /&gt;
===Creating a temporary rescue partition===&lt;br /&gt;
* Run {{cmdroot|fdisk /dev/sda}}.&lt;br /&gt;
* Delete the 1st partition ({{path|/dev/sda1}}).&lt;br /&gt;
* Create a partion {{path|/dev/sda3}} immediately before the rescue partition ({{path|/dev/sda2}}) with exactly the same number of cylinders as the rescue partition.&lt;br /&gt;
* Save the partition table and quit fdisk. Reboot.&lt;br /&gt;
{{HINT|To be on the safe side, reboot the machine everytime the partition table is modified and saved using fdisk from linux rescue mode.}}&lt;br /&gt;
* rawcopy the contents of {{path|/dev/sda2}} to {{path|/dev/sda3}} with&lt;br /&gt;
:{{cmdroot|1=dd if=/dev/sda2 of=/dev/sda3}}&lt;br /&gt;
&lt;br /&gt;
===Creating the rescue partition in its final position===&lt;br /&gt;
* Run {{cmdroot|fdisk /dev/sda}}.&lt;br /&gt;
* Delete the rescue partiton {{path|/dev/sda2}} (we just backed it up to {{path|/dev/sda3}}).&lt;br /&gt;
* Create a partion {{path|/dev/sda2}} immediately after the space you want to leave for Windows. Note that this new partition again should have exactly the same number of cylinders as the rescue partition (now {{path|/dev/sda3}}).&lt;br /&gt;
* Save the partition table and quit fdisk. Reboot.&lt;br /&gt;
* rawcopy the contents of {{path|/dev/sda3}} to the newly created {{path|/dev/sda2}}:&lt;br /&gt;
:{{cmdroot|1=dd if=/dev/sda3 of=/dev/sda2}}&lt;br /&gt;
* Run {{cmdroot|fdisk /dev/sda}}.&lt;br /&gt;
* Delete the temporary rescue partiton {{path|/dev/sda3}} (we just copied it to {{path|/dev/sda2}})&lt;br /&gt;
* Save the partition table and quit fdisk.&lt;br /&gt;
* Reboot the machine and press {{ibmkey|Access IBM|#495988}} Button to restore the Windows XP from the rescue partition. Windows XP will occupy only the space available before the new rescue partition.&lt;br /&gt;
&lt;br /&gt;
Once Windows XP is recovered follow the standard mechanism for installing Linux in the available free space at the end of the HDD. If you have created Rescue and Product Recovery CDs, then the Rescue Partition also can be deleted at this stage to make more room for your Linux installation.&lt;br /&gt;
&lt;br /&gt;
= Alternative Method: Dual Booting and retaining ThinkVantage Utility =&lt;br /&gt;
&lt;br /&gt;
Note: T60 2913 with 60 GB drive&lt;br /&gt;
&lt;br /&gt;
The key here is to find a bootable CD version of Linux that has the PartEd package on it (preferrably with qtparted also).  I used SystemRescueCd (http://www.sysresccd.org/Main_Page).  I've read people say to defrag Windows, but according to the PartEd website, the PartEd resize command (http://www.gnu.org/software/parted/manual/parted.html#resize) will take care of all that.  Now boot with the SystemRescueCd and when you get the prompt, press F2.  This will list available images.  I used fb1024, because I wanted to use qtparted (graphical, fb1024 is framebuffer at 1024x768 vs fb800 is framebuffer at 800x600, etc), not parted (commandline).  &lt;br /&gt;
&lt;br /&gt;
What I saw was a 3 partition device sda.  Only touch the NTFS partition (sda1 on mine, should be on yours if it is factory settings).  You do not want to move the VFAT at the end of the device nor touch that little section (sda-1) at the beginning.  I resized sda1 (NTFS) down to 20 GB, what you should see is the the New Size + the Free Space After = Old Size of sda1.  Click the commit under the file menu to write the changes.  That's it.  &lt;br /&gt;
&lt;br /&gt;
I then rebooted with Fedora Core 5 disk 1 and used Anaconda and its utilities to partition the free space to be a 20 GB mount point &amp;quot;/&amp;quot;, a 512 MB swap, and a 10 GB vfat, these could have been done using qtparted, or pretty much any distro's install.  The swap and vfat were shown inside a logical partition.  I set up GRUB in the MBR and clicked the GRUB advanced setup checkbox.  This allowed me to add entries, in addition to Linux, for GRUB.  I added the NTFS (Windows) partition and the VFAT (ThinkVantage partition, not the 10 GB I created, cuz that would be silly).&lt;br /&gt;
&lt;br /&gt;
The results are:  on boot, the post screen tells you to press the ThinkVantage button and....it does nothing, but once GRUB starts, press the key GRUB tells you to which shows the boot list, and there you have Linux, Windows, and ThinkVantage.  I tried it and I can boot into all 3.  When you first boot into Windows, you may get a chkdisk (I did), but it should be fine.&lt;br /&gt;
&lt;br /&gt;
A word of warning.  Be careful, I've heard some people say GRUB in the MBR while dual booting WinXP can result in false positives from virus software, but I didn't have that issue.  Also, be very careful about the resize of the NTFS partition with qtparted.  Any change in the placement of the start of the pre-existing partitions, and all bets are off.  I'm just saying this because I don't know what might happen if Windows isn't where it wants to be.  Also I think the placement of the ThinkVantage utility on the disk is very important from my reading.  However, since pressing the ThinkVantage at POST doesn't do anything, I may have screwed that up, but with GRUB pointing at that VFAT, I can still get to the ThinkVantage utilities, so I'm happy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Windows]]&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Pre-Installation_steps&amp;diff=28552</id>
		<title>Pre-Installation steps</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Pre-Installation_steps&amp;diff=28552"/>
		<updated>2007-03-03T19:41:51Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* Resizing your Windows Partition */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Rescue and Recovery Media==&lt;br /&gt;
Most modern ThinkPads ship with Windows preinstalled on the hard disk only--no recovery disks are included.  Instead, Lenovo ThinkVantage software allows you to create a Rescue and Recovery CD-ROM and a Product Recovery DVD-ROM.  These will allow you to restore the hard disk to its exact factory installed state.  They can also perform other useful system recovery functions.&lt;br /&gt;
&lt;br /&gt;
Even if you have no intention of using Windows, your first action should be to create these disks.  Later, you or someone else may want to use Windows again.  The recovery disks make it very simple to reinstall Windows, perfectly configured for your ThinkPad.  Here's how:&lt;br /&gt;
&lt;br /&gt;
1. Turn on the system and boot Windows.&lt;br /&gt;
&lt;br /&gt;
2. Start the recovery media creation program with ''Start | All Programs | ThinkVantage | Create Recovery Media''.&lt;br /&gt;
&lt;br /&gt;
3. Choose to create ''Recovery Disks''.  The other alternative, ''Rescue Media'', creates only the first of the ''Recovery Disks''.&lt;br /&gt;
&lt;br /&gt;
4. Insert a blank CD-ROM as instructed.  This will become a bootable Rescue and Recovery disk.&lt;br /&gt;
&lt;br /&gt;
5. Insert one DVD-ROM (or a series of seven CD-ROMs) as instructed.  This will become the Product Recovery disk that contains the bulk of the data on the hard disk.&lt;br /&gt;
&lt;br /&gt;
6. Save the disks in a safe place.&lt;br /&gt;
&lt;br /&gt;
When you want to erase everything on the hard disk and restore the system to its factory preinstalled state, boot from the Rescue and Recovery disk, and run ''Restore Your System''.&lt;br /&gt;
&lt;br /&gt;
If you forget to make recovery disks, Lenovo [[Ordering_Recovery_CDs|offers]] shipment of a pack of rescue disks if you call the support hotline.  Also, recovery CDs for older ThinkPads are [http://stores.ebay.com/Recovery-CDs-Disks sold on eBay] (you must supply your own Windows disk).  However, the only way to get recovery disks that match your system exactly is to make them now. &lt;br /&gt;
&lt;br /&gt;
The copy of Windows that came with your ThinkPad cannot be legally transferred to any other system.  Leave the Windows license sticker intact.  The resale value of your ThinkPad will be lower without it.&lt;br /&gt;
&lt;br /&gt;
==Resizing your Windows Partition==&lt;br /&gt;
Modern Thinkpads ship with a FAT32 rescue partition of about 5GB, and a Windows NTFS partition that consumes the rest of the hard disk.  If you want to keep Windows on your system, you will need to shrink the Windows disk partition to make room for Linux.  The easy way is to use commercial software like Partition Magic (US$70) or [http://www.partition-manager.com Partition Manager] (US$50).&lt;br /&gt;
&lt;br /&gt;
If you do not want to pay for Partition Magic or Partition Manager, you can use [http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html ntfsresize]. I recommend booting {{Kanotix}} or {{Knoppix}}, getting it online and using the latest version to be found at the ntfsresize link because the CD linuxes tend to come with slightly out-dated versions. Be sure not to forget to resize your Windows partition (e.g. with cfdisk) AFTER having resized ntfs and TAKE CARE not to make the partition smaller than you made the ntfs. If you like it safe and smooth you can also take a look at the program &amp;quot;qtparted&amp;quot; which reportedly takes care of ntfsresize and partition table changing in one go and allows you to adjust partition sizes in a GUI. But I have not tested this software personally.&lt;br /&gt;
&lt;br /&gt;
If you want to retain Rescue and Recovery functionality, do not delete the 5GB rescue partition.  You can either move it or leave it in place at the end of the hard disk.  A procedure for moving it appears in the next section.&lt;br /&gt;
&lt;br /&gt;
'''Please be carefull before taking the following steps. I suggest that you should create rescue and product recovery CDs (6 CDS will be required) before going for the following so that if anything goes wrong you can go back to the factory setting using those CDs.'''&lt;br /&gt;
&lt;br /&gt;
==Moving the Recovery partition using a Linux rescue system==&lt;br /&gt;
On newer models (i.e. the T43) the preinstalled HDD has two partitions; the first one containing the OS and second one having the rescue files used to boot the machine when {{ibmkey|Access IBM|#495988}} button is pressed before Windows XP takes control of the laptop. One can use his Linux distros boot CD (usually the first CD) to boot into rescue mode and shift the rescue partition from the end of the HDD to somewhere in between leaving required space for Windows. This can be done in following steps:&lt;br /&gt;
&lt;br /&gt;
===Creating a temporary rescue partition===&lt;br /&gt;
* Run {{cmdroot|fdisk /dev/sda}}.&lt;br /&gt;
* Delete the 1st partition ({{path|/dev/sda1}}).&lt;br /&gt;
* Create a partion {{path|/dev/sda3}} immediately before the rescue partition ({{path|/dev/sda2}}) with exactly the same number of cylinders as the rescue partition.&lt;br /&gt;
* Save the partition table and quit fdisk. Reboot.&lt;br /&gt;
{{HINT|To be on the safe side, reboot the machine everytime the partition table is modified and saved using fdisk from linux rescue mode.}}&lt;br /&gt;
* rawcopy the contents of {{path|/dev/sda2}} to {{path|/dev/sda3}} with&lt;br /&gt;
:{{cmdroot|1=dd if=/dev/sda2 of=/dev/sda3}}&lt;br /&gt;
&lt;br /&gt;
===Creating the rescue partition in its final position===&lt;br /&gt;
* Run {{cmdroot|fdisk /dev/sda}}.&lt;br /&gt;
* Delete the rescue partiton {{path|/dev/sda2}} (we just backed it up to {{path|/dev/sda3}}).&lt;br /&gt;
* Create a partion {{path|/dev/sda2}} immediately after the space you want to leave for Windows. Note that this new partition again should have exactly the same number of cylinders as the rescue partition (now {{path|/dev/sda3}}).&lt;br /&gt;
* Save the partition table and quit fdisk. Reboot.&lt;br /&gt;
* rawcopy the contents of {{path|/dev/sda3}} to the newly created {{path|/dev/sda2}}:&lt;br /&gt;
:{{cmdroot|1=dd if=/dev/sda3 of=/dev/sda2}}&lt;br /&gt;
* Run {{cmdroot|fdisk /dev/sda}}.&lt;br /&gt;
* Delete the temporary rescue partiton {{path|/dev/sda3}} (we just copied it to {{path|/dev/sda2}})&lt;br /&gt;
* Save the partition table and quit fdisk.&lt;br /&gt;
* Reboot the machine and press {{ibmkey|Access IBM|#495988}} Button to restore the Windows XP from the rescue partition. Windows XP will occupy only the space available before the new rescue partition.&lt;br /&gt;
&lt;br /&gt;
Once Windows XP is recovered follow the standard mechanism for installing Linux in the available free space at the end of the HDD. If you have created Rescue and Product Recovery CDs, then the Rescue Partition also can be deleted at this stage to make more room for your Linux installation.&lt;br /&gt;
&lt;br /&gt;
= Alternative Method: Dual Booting and retaining ThinkVantage Utility =&lt;br /&gt;
&lt;br /&gt;
Note: T60 2913 with 60 GB drive&lt;br /&gt;
&lt;br /&gt;
The key here is to find a bootable CD version of Linux that has the PartEd package on it (preferrably with qtparted also).  I used SystemRescueCd (http://www.sysresccd.org/Main_Page).  I've read people say to defrag Windows, but according to the PartEd website, the PartEd resize command (http://www.gnu.org/software/parted/manual/parted.html#resize) will take care of all that.  Now boot with the SystemRescueCd and when you get the prompt, press F2.  This will list available images.  I used fb1024, because I wanted to use qtparted (graphical, fb1024 is framebuffer at 1024x768 vs fb800 is framebuffer at 800x600, etc), not parted (commandline).  &lt;br /&gt;
&lt;br /&gt;
What I saw was a 3 partition device sda.  Only touch the NTFS partition (sda1 on mine, should be on yours if it is factory settings).  You do not want to move the VFAT at the end of the device nor touch that little section (sda-1) at the beginning.  I resized sda1 (NTFS) down to 20 GB, what you should see is the the New Size + the Free Space After = Old Size of sda1.  Click the commit under the file menu to write the changes.  That's it.  &lt;br /&gt;
&lt;br /&gt;
I then rebooted with Fedora Core 5 disk 1 and used Anaconda and its utilities to partition the free space to be a 20 GB mount point &amp;quot;/&amp;quot;, a 512 MB swap, and a 10 GB vfat, these could have been done using qtparted, or pretty much any distro's install.  The swap and vfat were shown inside a logical partition.  I set up GRUB in the MBR and clicked the GRUB advanced setup checkbox.  This allowed me to add entries, in addition to Linux, for GRUB.  I added the NTFS (Windows) partition and the VFAT (ThinkVantage partition, not the 10 GB I created, cuz that would be silly).&lt;br /&gt;
&lt;br /&gt;
The results are:  on boot, the post screen tells you to press the ThinkVantage button and....it does nothing, but once GRUB starts, press the key GRUB tells you to which shows the boot list, and there you have Linux, Windows, and ThinkVantage.  I tried it and I can boot into all 3.  When you first boot into Windows, you may get a chkdisk (I did), but it should be fine.&lt;br /&gt;
&lt;br /&gt;
A word of warning.  Be careful, I've heard some people say GRUB in the MBR while dual booting WinXP can result in false positives from virus software, but I didn't have that issue.  Also, be very careful about the resize of the NTFS partition with qtparted.  Any change in the placement of the start of the pre-existing partitions, and all bets are off.  I'm just saying this because I don't know what might happen if Windows isn't where it wants to be.  Also I think the placement of the ThinkVantage utility on the disk is very important from my reading.  However, since pressing the ThinkVantage at POST doesn't do anything, I may have screwed that up, but with GRUB pointing at that VFAT, I can still get to the ThinkVantage utilities, so I'm happy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Windows]]&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Pre-Installation_steps&amp;diff=28551</id>
		<title>Pre-Installation steps</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Pre-Installation_steps&amp;diff=28551"/>
		<updated>2007-03-03T19:17:20Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* Creating Rescue and Recovery Media */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Rescue and Recovery Media==&lt;br /&gt;
Most modern ThinkPads ship with Windows preinstalled on the hard disk only--no recovery disks are included.  Instead, Lenovo ThinkVantage software allows you to create a Rescue and Recovery CD-ROM and a Product Recovery DVD-ROM.  These will allow you to restore the hard disk to its exact factory installed state.  They can also perform other useful system recovery functions.&lt;br /&gt;
&lt;br /&gt;
Even if you have no intention of using Windows, your first action should be to create these disks.  Later, you or someone else may want to use Windows again.  The recovery disks make it very simple to reinstall Windows, perfectly configured for your ThinkPad.  Here's how:&lt;br /&gt;
&lt;br /&gt;
1. Turn on the system and boot Windows.&lt;br /&gt;
&lt;br /&gt;
2. Start the recovery media creation program with ''Start | All Programs | ThinkVantage | Create Recovery Media''.&lt;br /&gt;
&lt;br /&gt;
3. Choose to create ''Recovery Disks''.  The other alternative, ''Rescue Media'', creates only the first of the ''Recovery Disks''.&lt;br /&gt;
&lt;br /&gt;
4. Insert a blank CD-ROM as instructed.  This will become a bootable Rescue and Recovery disk.&lt;br /&gt;
&lt;br /&gt;
5. Insert one DVD-ROM (or a series of seven CD-ROMs) as instructed.  This will become the Product Recovery disk that contains the bulk of the data on the hard disk.&lt;br /&gt;
&lt;br /&gt;
6. Save the disks in a safe place.&lt;br /&gt;
&lt;br /&gt;
When you want to erase everything on the hard disk and restore the system to its factory preinstalled state, boot from the Rescue and Recovery disk, and run ''Restore Your System''.&lt;br /&gt;
&lt;br /&gt;
If you forget to make recovery disks, Lenovo [[Ordering_Recovery_CDs|offers]] shipment of a pack of rescue disks if you call the support hotline.  Also, recovery CDs for older ThinkPads are [http://stores.ebay.com/Recovery-CDs-Disks sold on eBay] (you must supply your own Windows disk).  However, the only way to get recovery disks that match your system exactly is to make them now. &lt;br /&gt;
&lt;br /&gt;
The copy of Windows that came with your ThinkPad cannot be legally transferred to any other system.  Leave the Windows license sticker intact.  The resale value of your ThinkPad will be lower without it.&lt;br /&gt;
&lt;br /&gt;
==Resizing your Windows Partition==&lt;br /&gt;
If you want to keep your WinXP partition and you do not want to shell out lots of money for PartitionMagic, you can use [http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html ntfsresize]. I recommend booting {{Kanotix}} or {{Knoppix}}, getting it online and using the latest version to be found at the ntfsresize link because the CD linuxes tend to come with slightly out-dated versions. Be sure not to forget to resize your Windows partition (e.g. with cfdisk) AFTER having resized ntfs and TAKE CARE not to make the partition smaller than you made the ntfs. If you like it safe and smooth you can also take a look at the program &amp;quot;qtparted&amp;quot; which reportedly takes care of ntfsresize and partition table changing in one go and allows you to adjust partition sizes in a GUI. But I have not tested this software personally.&lt;br /&gt;
&lt;br /&gt;
'''Please be carefull before taking the following steps. I suggest that you should create rescue and product recovery CDs (6 CDS will be required) before going for the following so that if anything goes wrong you can go back to the factory setting using those CDs.'''&lt;br /&gt;
&lt;br /&gt;
==Moving the Recovery partition using a Linux rescue system==&lt;br /&gt;
On newer models (i.e. the T43) the preinstalled HDD has two partitions; the first one containing the OS and second one having the rescue files used to boot the machine when {{ibmkey|Access IBM|#495988}} button is pressed before Windows XP takes control of the laptop. One can use his Linux distros boot CD (usually the first CD) to boot into rescue mode and shift the rescue partition from the end of the HDD to somewhere in between leaving required space for Windows. This can be done in following steps:&lt;br /&gt;
&lt;br /&gt;
===Creating a temporary rescue partition===&lt;br /&gt;
* Run {{cmdroot|fdisk /dev/sda}}.&lt;br /&gt;
* Delete the 1st partition ({{path|/dev/sda1}}).&lt;br /&gt;
* Create a partion {{path|/dev/sda3}} immediately before the rescue partition ({{path|/dev/sda2}}) with exactly the same number of cylinders as the rescue partition.&lt;br /&gt;
* Save the partition table and quit fdisk. Reboot.&lt;br /&gt;
{{HINT|To be on the safe side, reboot the machine everytime the partition table is modified and saved using fdisk from linux rescue mode.}}&lt;br /&gt;
* rawcopy the contents of {{path|/dev/sda2}} to {{path|/dev/sda3}} with&lt;br /&gt;
:{{cmdroot|1=dd if=/dev/sda2 of=/dev/sda3}}&lt;br /&gt;
&lt;br /&gt;
===Creating the rescue partition in its final position===&lt;br /&gt;
* Run {{cmdroot|fdisk /dev/sda}}.&lt;br /&gt;
* Delete the rescue partiton {{path|/dev/sda2}} (we just backed it up to {{path|/dev/sda3}}).&lt;br /&gt;
* Create a partion {{path|/dev/sda2}} immediately after the space you want to leave for Windows. Note that this new partition again should have exactly the same number of cylinders as the rescue partition (now {{path|/dev/sda3}}).&lt;br /&gt;
* Save the partition table and quit fdisk. Reboot.&lt;br /&gt;
* rawcopy the contents of {{path|/dev/sda3}} to the newly created {{path|/dev/sda2}}:&lt;br /&gt;
:{{cmdroot|1=dd if=/dev/sda3 of=/dev/sda2}}&lt;br /&gt;
* Run {{cmdroot|fdisk /dev/sda}}.&lt;br /&gt;
* Delete the temporary rescue partiton {{path|/dev/sda3}} (we just copied it to {{path|/dev/sda2}})&lt;br /&gt;
* Save the partition table and quit fdisk.&lt;br /&gt;
* Reboot the machine and press {{ibmkey|Access IBM|#495988}} Button to restore the Windows XP from the rescue partition. Windows XP will occupy only the space available before the new rescue partition.&lt;br /&gt;
&lt;br /&gt;
Once Windows XP is recovered follow the standard mechanism for installing Linux in the available free space at the end of the HDD. If you have created Rescue and Product Recovery CDs, then the Rescue Partition also can be deleted at this stage to make more room for your Linux installation.&lt;br /&gt;
&lt;br /&gt;
= Alternative Method: Dual Booting and retaining ThinkVantage Utility =&lt;br /&gt;
&lt;br /&gt;
Note: T60 2913 with 60 GB drive&lt;br /&gt;
&lt;br /&gt;
The key here is to find a bootable CD version of Linux that has the PartEd package on it (preferrably with qtparted also).  I used SystemRescueCd (http://www.sysresccd.org/Main_Page).  I've read people say to defrag Windows, but according to the PartEd website, the PartEd resize command (http://www.gnu.org/software/parted/manual/parted.html#resize) will take care of all that.  Now boot with the SystemRescueCd and when you get the prompt, press F2.  This will list available images.  I used fb1024, because I wanted to use qtparted (graphical, fb1024 is framebuffer at 1024x768 vs fb800 is framebuffer at 800x600, etc), not parted (commandline).  &lt;br /&gt;
&lt;br /&gt;
What I saw was a 3 partition device sda.  Only touch the NTFS partition (sda1 on mine, should be on yours if it is factory settings).  You do not want to move the VFAT at the end of the device nor touch that little section (sda-1) at the beginning.  I resized sda1 (NTFS) down to 20 GB, what you should see is the the New Size + the Free Space After = Old Size of sda1.  Click the commit under the file menu to write the changes.  That's it.  &lt;br /&gt;
&lt;br /&gt;
I then rebooted with Fedora Core 5 disk 1 and used Anaconda and its utilities to partition the free space to be a 20 GB mount point &amp;quot;/&amp;quot;, a 512 MB swap, and a 10 GB vfat, these could have been done using qtparted, or pretty much any distro's install.  The swap and vfat were shown inside a logical partition.  I set up GRUB in the MBR and clicked the GRUB advanced setup checkbox.  This allowed me to add entries, in addition to Linux, for GRUB.  I added the NTFS (Windows) partition and the VFAT (ThinkVantage partition, not the 10 GB I created, cuz that would be silly).&lt;br /&gt;
&lt;br /&gt;
The results are:  on boot, the post screen tells you to press the ThinkVantage button and....it does nothing, but once GRUB starts, press the key GRUB tells you to which shows the boot list, and there you have Linux, Windows, and ThinkVantage.  I tried it and I can boot into all 3.  When you first boot into Windows, you may get a chkdisk (I did), but it should be fine.&lt;br /&gt;
&lt;br /&gt;
A word of warning.  Be careful, I've heard some people say GRUB in the MBR while dual booting WinXP can result in false positives from virus software, but I didn't have that issue.  Also, be very careful about the resize of the NTFS partition with qtparted.  Any change in the placement of the start of the pre-existing partitions, and all bets are off.  I'm just saying this because I don't know what might happen if Windows isn't where it wants to be.  Also I think the placement of the ThinkVantage utility on the disk is very important from my reading.  However, since pressing the ThinkVantage at POST doesn't do anything, I may have screwed that up, but with GRUB pointing at that VFAT, I can still get to the ThinkVantage utilities, so I'm happy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Windows]]&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Rescue_and_Recovery&amp;diff=28446</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=28446"/>
		<updated>2007-02-25T19:36:03Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* Using the Windows Bootloader to Boot Linux */&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 with carefully.&lt;br /&gt;
&lt;br /&gt;
Rescue and Recovery is a Windows specific feature. If you intend to recover into Windows when you have an issue, it is important to follow the warnings here carefully. If you intend to run another operating system exclusively and never return to Windows, removing this partition is safe. If you remove it, you can still reinstall windows at a later time, provided you have created a Recovery set of discs (1CD + 1DVD or 5CDs required). Booting from the Recovery CD will restore the system to the factory state including the recovery partition.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&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;
*When booting from the Rescue and Recovery partition, it needs to have its type set (either by Thinkvantage or by GRUB) to 0x0b (FAT32) for the default bootloader to 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. More information is needed about this program.&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: Please note that there are people who report that this didn't work, for example it didn't work on a {{Z61m}} 9450-3HG.&lt;br /&gt;
&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 partition's 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 the Windows Bootloader to Boot Linux===&lt;br /&gt;
The NTLDR Windows bootloader can be configured to boot Linux in addition to Windows.  The master boot record (MBR) is unchanged, so the ThinkVantage Rescue and Recovery system boot functionality is preserved.  This clever procedure was [http://gawrysiak.org/corvus/?p=4 originally applied] to Ubuntu Dapper Drake, and is generalized here.&lt;br /&gt;
&lt;br /&gt;
1. Boot Windows and make product recovery disks.  You will see this step repeated throught this wiki for good reason.  The recovery disks can refresh your hard disk to its original factory state, getting you out of the trouble you might make in the next step.&lt;br /&gt;
&lt;br /&gt;
2. Shrink the Windows NTFS partition to the size you like.  You will need a bootable CD that is capable of resizing NTFS partitions.  I have done this before with Knoppix, but this time I used Partition Magic (US$70).&lt;br /&gt;
&lt;br /&gt;
Leave the Rescue and Recovery partition (~5GB) at the end of the disk.  Other authors claim that it ''must not'' be moved.  I did move it, and it works fine.  Still, in retrospect I agree that the end of the disk is the best place for your Rescue and Recovery partition.&lt;br /&gt;
&lt;br /&gt;
3. Reboot.  Push the {{ibmkey|ThinkVantage|#495988}} button during system boot, and verify that Rescue and Recovery still runs.  Reboot into Windows to verify that the partition resize was successful.&lt;br /&gt;
&lt;br /&gt;
4. Begin your Linux installation.  Linux will see the Windows NTFS partition as /dev/sda1, and the Rescue and Recovery FAT32 partition as /dev/sda2.  When the Linux installer asks you about GRUB, do not install GRUB in the MBR.  Instead, install GRUB in the /boot partition (most likely /dev/sda3).&lt;br /&gt;
&lt;br /&gt;
5. After the Linux installation is finished, reboot with a bootable Linux CD.  The &amp;quot;rescue mode&amp;quot; of your Linux installation CD #1 should work fine for this.  Start the network if you plan to use FTP in step 7.&lt;br /&gt;
&lt;br /&gt;
6. After you get a shell prompt, become root if necessary, and then write the first sector of the /boot partition (probably /dev/sda3) to a file using the dd command:&lt;br /&gt;
&lt;br /&gt;
     sudo -i&lt;br /&gt;
     dd if=/dev/sda3 of=grub.img bs=512 count=1&lt;br /&gt;
&lt;br /&gt;
The resulting grub.img file should be 512 bytes long.&lt;br /&gt;
&lt;br /&gt;
7. Transfer the grub.img file somewhere where you can read it from Windows.  You can use removable media like a USB flash drive, or even FTP.&lt;br /&gt;
&lt;br /&gt;
8. Reboot into Windows. Copy the grub.img file to c:\grub.img.&lt;br /&gt;
&lt;br /&gt;
9. Make a backup copy of the c:\boot.ini NTLDR control file.  c:\boot.ini is read-only and hidden, so you will have to tell Windows to show hidden files, and turn off the read-only property on c:\boot.ini.&lt;br /&gt;
&lt;br /&gt;
10. Edit c:\boot.ini.  Append the line,&lt;br /&gt;
&lt;br /&gt;
    c:\grub.img=&amp;quot;Linux GRUB Bootloader&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You may also want to change the default OS to c:\grub.img, and reduce the timeout to 5 seconds or so.&lt;br /&gt;
&lt;br /&gt;
11. Reboot.  Now the Windows boot menu should offer you a choice of &amp;quot;Linux GRUB Bootloader&amp;quot; or Windows XP.  Choose &amp;quot;Linux GRUB Bootloader&amp;quot;, and you will be taken to the GRUB boot menu, where you can select Linux, or even go back to the Windows boot menu.&lt;br /&gt;
&lt;br /&gt;
12. When you need Rescue and Recovery, push the {{ibmkey|ThinkVantage|#495988}} button upon system boot.  Since you have touched neither the MBR nor the Rescue and Recovery partition, Rescue and Recovery will work exactly the same as it did before you installed Linux.&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?sitestyle=lenovo&amp;amp;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 {{T60}}, {{T60p}}&lt;br /&gt;
* ThinkPad {{R52}}&lt;br /&gt;
* ThinkPad {{Z60m}}&lt;br /&gt;
* Thinkpad {{Z61m}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Rescue_and_Recovery&amp;diff=28445</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=28445"/>
		<updated>2007-02-25T19:32:52Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* Using the Windows Bootloader to Boot Linux */&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 with carefully.&lt;br /&gt;
&lt;br /&gt;
Rescue and Recovery is a Windows specific feature. If you intend to recover into Windows when you have an issue, it is important to follow the warnings here carefully. If you intend to run another operating system exclusively and never return to Windows, removing this partition is safe. If you remove it, you can still reinstall windows at a later time, provided you have created a Recovery set of discs (1CD + 1DVD or 5CDs required). Booting from the Recovery CD will restore the system to the factory state including the recovery partition.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&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;
*When booting from the Rescue and Recovery partition, it needs to have its type set (either by Thinkvantage or by GRUB) to 0x0b (FAT32) for the default bootloader to 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. More information is needed about this program.&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: Please note that there are people who report that this didn't work, for example it didn't work on a {{Z61m}} 9450-3HG.&lt;br /&gt;
&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 partition's 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 the Windows Bootloader to Boot Linux===&lt;br /&gt;
The NTLDR Windows bootloader can be configured to boot Linux in addition to Windows.  The master boot record (MBR) is unchanged, so the ThinkVantage Rescue and Recovery system boot functionality is preserved.  This clever procedure was [http://gawrysiak.org/corvus/?p=4 originally applied] to Ubuntu Dapper Drake, and is generalized here.&lt;br /&gt;
&lt;br /&gt;
1. Boot Windows and make product recovery disks.  You will see this step repeated throught this wiki for good reason.  The recovery disks can refresh your hard disk to its original factory state, getting you out of the trouble you might make in the next step.&lt;br /&gt;
&lt;br /&gt;
2. Shrink the Windows NTFS partition to the size you like.  You will need a bootable CD that is capable of resizing NTFS partitions.  I have done this before with Knoppix, but this time I used Partition Magic (US$70).&lt;br /&gt;
&lt;br /&gt;
Leave the Rescue and Recovery partition (~5GB) at the end of the disk.  Other authors claim that it ''must not'' be moved.  I did move it, and it works fine.  Still, in retrospect I agree that the end of the disk is the best place for your Rescue and Recovery partition.&lt;br /&gt;
&lt;br /&gt;
3. Reboot.  Push the ThinkVantage button during system boot, and verify that Rescue and Recovery still runs.  Reboot.  Boot into Windows to verify that the partition resize was successful.&lt;br /&gt;
&lt;br /&gt;
4. Begin your Linux installation.  Linux will see the Windows NTFS partition as /dev/sda1, and the Rescue and Recovery FAT32 partition as /dev/sda2.  When the Linux installer asks you about GRUB, do not install GRUB in the MBR.  Instead, install GRUB in the /boot partition (most likely /dev/sda3).&lt;br /&gt;
&lt;br /&gt;
5. After the Linux installation is finished, reboot with a bootable Linux CD.  The &amp;quot;rescue mode&amp;quot; of your Linux installation CD #1 should work fine for this.  Start the network if you plan to use FTP in step 7.&lt;br /&gt;
&lt;br /&gt;
6. After you get a shell prompt, become root if necessary, and then write the first sector of the /boot partition (probably /dev/sda3) to a file using the dd command:&lt;br /&gt;
&lt;br /&gt;
     sudo -i&lt;br /&gt;
     dd if=/dev/sda3 of=grub.img bs=512 count=1&lt;br /&gt;
&lt;br /&gt;
The resulting grub.img file should be 512 bytes long.&lt;br /&gt;
&lt;br /&gt;
7. Transfer the grub.img file somewhere where you can read it from Windows.  You can use removable media like a USB flash drive, or even FTP.&lt;br /&gt;
&lt;br /&gt;
8. Reboot into Windows. Copy the grub.img file to c:\grub.img.&lt;br /&gt;
&lt;br /&gt;
9. Make a backup copy of the c:\boot.ini NTLDR control file.  c:\boot.ini is read-only and hidden, so you will have to tell Windows to show hidden files, and turn off the read-only property on c:\boot.ini.&lt;br /&gt;
&lt;br /&gt;
10. Edit c:\boot.ini.  Append the line,&lt;br /&gt;
&lt;br /&gt;
    c:\grub.img=&amp;quot;Linux GRUB Bootloader&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You may also want to change the default OS to c:\grub.img, and reduce the timeout to 5 seconds or so.&lt;br /&gt;
&lt;br /&gt;
11. Reboot.  Now the Windows boot menu should offer you a choice of &amp;quot;Linux GRUB Bootloader&amp;quot; or Windows XP.  Choose &amp;quot;Linux GRUB Bootloader&amp;quot;, and you will be taken to the GRUB boot menu, where you can select Linux, or even go back to the Windows boot menu.&lt;br /&gt;
&lt;br /&gt;
12. When you need Rescue and Recovery, push the ThinkVantage button upon system boot.  Since you have touched neither the MBR nor the Rescue and Recovery partition, Rescue and Recovery will work exactly the same as it did before you installed Linux.&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?sitestyle=lenovo&amp;amp;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 {{T60}}, {{T60p}}&lt;br /&gt;
* ThinkPad {{R52}}&lt;br /&gt;
* ThinkPad {{Z60m}}&lt;br /&gt;
* Thinkpad {{Z61m}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Rescue_and_Recovery&amp;diff=28409</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=28409"/>
		<updated>2007-02-25T00:59:26Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* Using the Windows Bootloader to Boot Linux */&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 with carefully.&lt;br /&gt;
&lt;br /&gt;
Rescue and Recovery is a Windows specific feature. If you intend to recover into Windows when you have an issue, it is important to follow the warnings here carefully. If you intend to run another operating system exclusively and never return to Windows, removing this partition is safe. If you remove it, you can still reinstall windows at a later time, provided you have created a Recovery set of discs (1CD + 1DVD or 5CDs required). Booting from the Recovery CD will restore the system to the factory state including the recovery partition.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&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;
*When booting from the Rescue and Recovery partition, it needs to have its type set (either by Thinkvantage or by GRUB) to 0x0b (FAT32) for the default bootloader to 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. More information is needed about this program.&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: Please note that there are people who report that this didn't work, for example it didn't work on a {{Z61m}} 9450-3HG.&lt;br /&gt;
&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 partition's 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 the Windows Bootloader to Boot Linux===&lt;br /&gt;
The NTLDR Windows bootloader can be configured to boot Linux in addition to Windows.  The master boot record is unchanged, so the ThinkVantage Rescue and Recovery system boot functionality is preserved.  This clever procedure was [http://gawrysiak.org/corvus/?p=4 originally applied] to Ubuntu Dapper Drake, and is generalized here.&lt;br /&gt;
&lt;br /&gt;
1. Boot Windows and make product recovery disks.  You will see this step repeated throught this wiki for good reason.  The recovery disks can refresh your hard disk to its original factory state, getting you out of the trouble you might make in the next step.&lt;br /&gt;
&lt;br /&gt;
2. Shrink the Windows NTFS partition to the size you like.  You will need a bootable CD that is capable of resizing NTFS partitions.  I have done this before with Knoppix, but this time I used Partition Magic (US$70).&lt;br /&gt;
&lt;br /&gt;
3. Reboot into Windows to verify that the partition resize was successful.&lt;br /&gt;
&lt;br /&gt;
4. Begin your Linux installation.  Linux will see the Windows NTFS partition as /dev/sda1, and the Rescue and Recovery FAT32 partition as /dev/sda2.  When the Linux installer asks you about GRUB, do not install GRUB in the MBR.  Instead, install GRUB in the /boot partition (most likely /dev/sda3).&lt;br /&gt;
&lt;br /&gt;
5. After the Linux installation is finished, reboot with a bootable Linux CD.  The the &amp;quot;rescue mode&amp;quot; of your Linux installation CD #1 should work fine for this.  Start the network if you plan to use FTP in step 7.&lt;br /&gt;
&lt;br /&gt;
6. After you get a shell prompt, become root if necessary, and then write the first sector of the /boot partition (probably /dev/sda3) to a file using the dd command:&lt;br /&gt;
&lt;br /&gt;
     sudo -i&lt;br /&gt;
     dd if=/dev/sda3 of=grub.img bs=512 count=1&lt;br /&gt;
&lt;br /&gt;
The resulting grub.img file should be 512 bytes long.&lt;br /&gt;
&lt;br /&gt;
7. Transfer the grub.img file somewhere where you can read it from Windows.  You can use removable media like a USB flash drive, or even FTP.&lt;br /&gt;
&lt;br /&gt;
8. Reboot into Windows. Copy the grub.img file to c:\grub.img.&lt;br /&gt;
&lt;br /&gt;
9. Make a backup copy of the c:\boot.ini NTLDR control file.  c:\boot.ini is read-only and hidden, so you will have to tell Windows to show hidden files, and turn off the read-only property on c:\boot.ini.&lt;br /&gt;
&lt;br /&gt;
10. Edit c:\boot.ini.  Append the line,&lt;br /&gt;
&lt;br /&gt;
    c:\grub.img=&amp;quot;Linux GRUB Bootloader&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You may also want to change the default OS to c:\grub.img, and reduce the timeout to 5 seconds or so.&lt;br /&gt;
&lt;br /&gt;
11. Reboot.  Now the Windows boot menu should offer you a choice of &amp;quot;Linux GRUB Bootloader&amp;quot; or Windows XP.  Choose &amp;quot;Linux GRUB Bootloader&amp;quot;, and you will be taken to the GRUB boot menu, where you can select Linux, or even go back to the Windows boot menu.&lt;br /&gt;
&lt;br /&gt;
12. When you want to use ThinkVantage Rescue and Recovery, push the ThinkVantage button upon system boot.  It will work exactly the same as it did before you installed Linux.&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?sitestyle=lenovo&amp;amp;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 {{T60}}, {{T60p}}&lt;br /&gt;
* ThinkPad {{R52}}&lt;br /&gt;
* ThinkPad {{Z60m}}&lt;br /&gt;
* Thinkpad {{Z61m}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Rescue_and_Recovery&amp;diff=28408</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=28408"/>
		<updated>2007-02-25T00:51:43Z</updated>

		<summary type="html">&lt;p&gt;Voominc: /* Using the Windows Bootloader to Boot Linux */&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 with carefully.&lt;br /&gt;
&lt;br /&gt;
Rescue and Recovery is a Windows specific feature. If you intend to recover into Windows when you have an issue, it is important to follow the warnings here carefully. If you intend to run another operating system exclusively and never return to Windows, removing this partition is safe. If you remove it, you can still reinstall windows at a later time, provided you have created a Recovery set of discs (1CD + 1DVD or 5CDs required). Booting from the Recovery CD will restore the system to the factory state including the recovery partition.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&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;
*When booting from the Rescue and Recovery partition, it needs to have its type set (either by Thinkvantage or by GRUB) to 0x0b (FAT32) for the default bootloader to 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. More information is needed about this program.&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: Please note that there are people who report that this didn't work, for example it didn't work on a {{Z61m}} 9450-3HG.&lt;br /&gt;
&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 partition's 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 the Windows Bootloader to Boot Linux===&lt;br /&gt;
The NTLDR Windows bootloader can be configured to boot Linux in addition to Windows.  The master boot record is unchanged, so the ThinkVantage Rescue and Recovery system boot functionality is preserved.  This clever procedure was [http://gawrysiak.org/corvus/?p=4 originally applied] to Ubuntu Dapper Drake, and is generalized here.&lt;br /&gt;
&lt;br /&gt;
1. Boot Windows and make product recovery disks.  You will see this step repeated throught this wiki for good reason.  The recovery disks can refresh your hard disk to its original factory state, getting you out of the trouble you might make in the next step.&lt;br /&gt;
&lt;br /&gt;
2. Shrink the Windows NTFS partition to the size you like.  You will need a bootable CD that is capable of resizing NTFS partitions.  I have done this before with Knoppix, but this time I used Partition Magic (US$70).&lt;br /&gt;
&lt;br /&gt;
3. Reboot into Windows to verify that the partition resize was successful.&lt;br /&gt;
&lt;br /&gt;
4. Begin your Linux installation.  Linux will see the Windows NTFS partition as /dev/sda1, and the Rescue and Recovery FAT32 partition as /dev/sda2.  When the Linux installer asks you about GRUB, do not install GRUB in the MBR.  Instead, install GRUB in the /boot partition (most likely /dev/sda3).&lt;br /&gt;
&lt;br /&gt;
5. After the Linux installation is finished, reboot with a bootable Linux CD.  The the &amp;quot;rescue mode&amp;quot; of your Linux installation CD #1 should work fine for this.  Start the network if you plan to use FTP in step 7.&lt;br /&gt;
&lt;br /&gt;
6. After you get a shell prompt, become root if necessary, and then write the first sector of the /boot partition (probably /dev/sda3) to a file using the dd command:&lt;br /&gt;
&lt;br /&gt;
     sudo -i&lt;br /&gt;
     dd if=/dev/sda3 of=grub.img bs=512 count=1&lt;br /&gt;
&lt;br /&gt;
The resulting grub.img file should be 512 bytes long.&lt;br /&gt;
&lt;br /&gt;
7. Transfer the grub.img file somewhere where you can read it from Windows.  You can use removable media like a USB flash drive, or even FTP.&lt;br /&gt;
&lt;br /&gt;
8. Reboot into Windows. Copy the grub.img file to c:\grub.img.&lt;br /&gt;
&lt;br /&gt;
9. Save a copy of the c:\boot.ini NTLDR control file as, say, c:\boot.backup.ini.  c:\boot.ini is read-only and hidden, so you will have to tell Windows to show hidden files, and turn off the read-only property on c:\boot.ini.&lt;br /&gt;
&lt;br /&gt;
10. Edit c:\boot.ini.  Append the line,&lt;br /&gt;
&lt;br /&gt;
    c:\grub.img=&amp;quot;Linux GRUB Bootloader&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You may also want to change the default OS to c:\grub.img, and reduce the timeout to 5 seconds or so.&lt;br /&gt;
&lt;br /&gt;
11. Reboot.  Now the Windows boot menu should offer you a choice of &amp;quot;Linux GRUB Bootloader&amp;quot; or Windows XP.  Choose &amp;quot;Linux GRUB Bootloader&amp;quot;, and you will be taken to the GRUB boot menu, where you can select Linux, or even go back to the Windows boot menu.&lt;br /&gt;
&lt;br /&gt;
12. When you want to use ThinkVantage Rescue and Recovery, push the ThinkVantage button upon system boot, just as you would have done had you not changed anything.&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?sitestyle=lenovo&amp;amp;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 {{T60}}, {{T60p}}&lt;br /&gt;
* ThinkPad {{R52}}&lt;br /&gt;
* ThinkPad {{Z60m}}&lt;br /&gt;
* Thinkpad {{Z61m}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Glossary]]&lt;/div&gt;</summary>
		<author><name>Voominc</name></author>
		
	</entry>
</feed>