![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Way Too Much Ubuntu
![]() Join Date: Jul 2007
Location: Austin, TX (formerly D.C)
Beans: 301
Ubuntu 9.04 Jaunty Jackalope
|
How to Upgrade the Thinkpad x61 BIOS
This tutorial details how to upgrade the BIOS of a Thinkpad x61, x61s or x61s tablet notebook using a bootable USB stick. At the time of writing, the 2.20 BIOS and 1.03 firmware versions are the most current for the X61/X61s. Also, the most current BIOS and firmware versions for the ThinkPad X61 Tablet are 1.23 and 1.03, respectively.
Disclaimer: While these steps worked for me while upgrading my X61 BIOS from 1.06 to 2.07, and later from 2.07 to 2.14 and 2.14 to 2.20, use them at your own discretion. BIOS upgrades always carry some associated risk, and I cannot be held liable for anything that goes wrong. Motivation The Thinkpad x61 is an ultralight notebook offered by Lenovo. As any x61 owners should know, the internal optical drive present in most laptops was omitted from the x61 in order to minimize weight. Regular BIOS upgrades have been offered by Lenovo for the x61, and are released without charge in two forms: X61/X61s: X61 Tablet:The bootable CD-ROM disc is the only option available for GNU/Linux users. Ridiculously enough, USB CD-ROM drivers are not included on the disk, such that external CD-ROM drives will not work with the BIOS upgrade. Not even the Lenovo Thinkpad USB CD-ROM drive allows the user to upgrade the BIOS. Officially, the supported method for an x61 upgrade on a non-Win32 platform is to use the CD-ROM drive in an ultrabase. Those of us who don't have one are left in the dark. In this tutorial, I will show how to upgrade the x61 BIOS from a bootable USB stick. Why Upgrade the BIOS Although the stock BIOS shipped with most x61 laptops may be fine for most users, the BIOS v2.07, which was released in January 2008, offers an improved fan speed controller. It also fixes USB interrupt bugs present in previous releases, which have manifested themselves as problems with the right-side USB ports (see here and here). Later BIOS revisions have dealt with other firmware bugs, such as WOL (Wake on LAN) errors, POST issues and CardBus and 1394 bugs. Some BIOS release between 2.14 and 2.20 (for the x61/x61s) fixes DSDT problems that have cropped up with recent kernels. That being said, a BIOS upgrade not a necessity. There are workarounds for many of the problems it fixes (I provide a hack for the USB devices, for example, in the previous two hyperlinked posts). Of course, the newest BIOS and firmware versions are preferable, however, so without further ado... How to Upgrade the Thinkpad x61 BIOS with a USB Thumb Drive The rest of this tutorial shows how to upgrade the Thinkpad BIOS to the newest version without an internal CD-ROM drive. The basic steps involved are: 1. Format the USB stick to be a DOS boot deviceThe instructions for Step 1 are given both using a Windows computer, as well as one running Linux. This issue is not unique to Linux users, and also affects users of a 64-bit Windows operating system. 1. Format the USB stick to be a DOS boot device (Windows) There are multiple ways to do this step, I'm taking the easiest route I know: the HP USB Disk Storage Format Tool combined with Win98 DOS boot disc files. First, connect a USB stick and backup any important files: we are going to format the device, which will lose any information you have on it. Next, get the HP USB Disk Storage Format Tool (from here or HPUSBFW.zip attached to this tutorial). Run HPUSBFW.EXE and select the FAT (FAT16) filesystem and "Create a DOS Startup Disc". Under "using DOS system files located at", provide a directory containing a valid DOS boot disc. I have attached the appropriate files for a Win98 DOS boot disc to this tutorial, in win98boot.zip. They should also be available here . Click "Start" to format the USB into a bootable DOS-wielding device. If this process worked, then skip to the section entitled "2. Copy the bootable ISO BIOS files to the USB stick". 1. Format the USB stick to be a DOS boot device (Linux) I had previously posted instructions on how to properly format a USB stick under Linux. A rough copy of these instructions can be found here. However, it soon became clear that the procedure was finicky at best, and did not work for all users. Since then, I have come to the conclusion that by far the simplest and least risky way to format a USB stick under Linux is to prescribe to the same method that was used under Windows, by formatting the USB stick as a (proprietary, but gratis) Windows 98 boot disk. Furthermore, the simplest way to do so is to copy an image of a bootable USB stick directly onto the USB device. First, insert your USB stick and determine what device it is assigned to. This is fairly simple by looking at the output of: Code:
sudo fdisk -l **Note: It is critical that you get the name of your USB device correct, and always type it accurately. If you use the device name of another harddrive, you could very easily end up wiping other, unrelated disks. For that reason, I'm always going to use the identifier [USB device] for the device name of your specific USB drive. Use the name of the root device, and omit any partition numbers that may follow the device name.** After you have discovered your USB stick device name, download the raw bootable USB stick image ("win98usb.tar") which is attached to this post. We will copy this image directly onto the USB device, which will thrash any existing file system. Therefore, remove all data before proceeding. **Note: The bootable USB stick which was used to create this image contained a 2GB partition. The image should work for USB sticks with a capacity of greater than or equal to 2GB. I am not sure what will happen if used with a smaller device. If somebody tries, please let me know what happens.** Untar the bootable USB stick image into the current directory. The only reason that the image is tarred is in order to comply with the Ubuntu Forums filetype restrictions for uploads. Code:
tar -xf ./win98usb.tar Code:
umount -f [path to root folder of mounted USB stick] Code:
sudo dd if=win98usb.img of=[USB device] conv=notrunc Code:
$ sudo dd if=./win98usb.img of=/dev/sdc conv=notrunc 1214+0 records in 1214+0 records out 621568 bytes (622 kB) copied, 0.193487 s, 3.2 MB/s 2. Copy the bootable ISO BIOS files to the USB stick This step is very simple: just copy all of the files from the bootable BIOS CD provided by Lenovo onto the USB stick. The ISO file can be found for the X61/X61s here, and for the X61 Tablet here. This can be done many different ways. In Windows, one must first mount the .iso file (which can be done using any of a number of different free programs) and then copy the files over. In Linux, the ISO may be trivially mounted and copied from the command line: Code:
sudo mount -o loop [path to ISO file] [mount point] sudo cp -af [mount point]/* [path to USB folder] It should be noted that the default DOS command-line interpreter (COMMAND.COM), if present, should be overwritten by the (much smaller) version provided by Lenovo. 3. Boot to the USB stick and follow instructions This step should pretty much be self-explanatory. Make sure to set the boot priority of the USB device to be higher than your internal hard drive, and then reboot! **Note: With BIOS revision v2.14 and after, after booting to the USB device, the system may query for the location of the "COMMAND.COM" file. Should this happen to you, entering 'command.com' (without quotes) will allow you to proceed to the BIOS upgrade.** Follow the on-screen instructions, and your BIOS should be upgraded within 5 minutes. As always with BIOS upgrades, do not under any circumstances turn the laptop off before installation is complete, or you could turn your laptop into a very expensive paperweight. That's it! Please let me know if you have any questions. Mike Revision History: 1.0.0 - Original post (June 4th, 2008) Last edited by mbsullivan; June 16th, 2009 at 05:52 PM.. |
|
|
|
|
|
#2 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2008
Beans: 1
|
Re: How to Upgrade the Thinkpad x61 BIOS
works perfekt.
for 2.14 bios, release date 2008/06/13 too. many thx |
|
|
|
|
|
#3 | |
|
Way Too Much Ubuntu
![]() Join Date: Jul 2007
Location: Austin, TX (formerly D.C)
Beans: 301
Ubuntu 9.04 Jaunty Jackalope
|
Re: How to Upgrade the Thinkpad x61 BIOS
Quote:
If anybody else has any problems, I'm subscribed to the thread so that I should be able to field any concerns in the future. The BIOS upgrade improves the embedded fan speed controller and seems to make suspend-to-RAM more reliable, so I think it's a good idea for x61ers. Mike |
|
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: Jul 2007
Beans: 1
|
Re: How to Upgrade the Thinkpad x61 BIOS
GREAT tutorial. You hit the nail on the head.
I just finished upgrading my X61s to the latest bios. Thanks again! |
|
|
|
|
|
#5 |
|
First Cup of Ubuntu
![]() Join Date: Jul 2008
Beans: 3
|
Re: How to Upgrade the Thinkpad x61 BIOS
Works fine, thanks. The best thing is seeing that other people have done so without problems as I was a little worried about frying the X61.
The first time I overwrote the Win98 command.com file with the Lenovo one, using a simple copy and paste in windows, the flash drive failed to boot. It didn't like the command.com file. I then copied the DOS files from the ISO image to a new folder and pointed the HP USB tool to that folder. After booting fine, I ran updtflsh.exe to upgrade. I imagine that the Ubuntu commands avoid this. But anyway, a tip for those who do not yet have Linux or similar installed. |
|
|
|
|
|
#6 | |
|
Way Too Much Ubuntu
![]() Join Date: Jul 2007
Location: Austin, TX (formerly D.C)
Beans: 301
Ubuntu 9.04 Jaunty Jackalope
|
Re: How to Upgrade the Thinkpad x61 BIOS
I'm glad to hear that we're at least 4/4 for not destroying our laptops upgrading the BIOS
Quote:
**NOTE: I tried the entire operation in Windows recently (to update to BIOS 2.14, and had no problem with Windows Explorer. I'm not sure what the issue StickyTape was experiencing, but if anybody else has the same one, he described a possible solution above.** Mike Last edited by mbsullivan; July 25th, 2008 at 05:47 PM.. |
|
|
|
|
|
|
#7 |
|
Spilled the Beans
![]() Join Date: Jul 2008
Location: San Francisco East Bay
Beans: 14
Ubuntu 9.04 Jaunty Jackalope
|
Re: How to Upgrade the Thinkpad x61 BIOS
Excellent guide, works like a charm.
I want to make one note - when the HP utility finished running, the USB drive will appear empty. No matter if you try to unhide files or whatever, it will seem that way. Do NOT attempt to copy over the system files from the win98 directory! that will cause a crash on boot from the USB stick. What happens is that Windows is configured to "super-hide" the essential files, so while they are there, you can't see them. Just copy over the files from the ISO - accepting to overwrite of command.com (that's you indication that even though they don't show, essential files were copies) - and keep going. |
|
|
|
|
|
#8 |
|
First Cup of Ubuntu
![]() Join Date: Jul 2008
Beans: 3
|
Re: How to Upgrade the Thinkpad x61 BIOS
Has anyone had any luck installing the HD firmware upgrade below? The file is FWSH20.iso.
http://www-307.ibm.com/pc/support/si...cid=MIGR-63685 I mounted the image within Linux but could still not see any files, nor could I open them within Windows. The format of the image is such that it cannot be viewed, thus it cannot be copied to a USB stick with 'cp' command or otherwise. Any ideas? |
|
|
|
|
|
#9 | |
|
Way Too Much Ubuntu
![]() Join Date: Jul 2007
Location: Austin, TX (formerly D.C)
Beans: 301
Ubuntu 9.04 Jaunty Jackalope
|
Re: How to Upgrade the Thinkpad x61 BIOS
**Note: To clarify, the following discussion pertains to a Lenovo Hard drive firmware update bootable ISO, not the BIOS bootable ISO.**
Quote:
I'll have to think about this one... My guess is that it's possible using dd somehow, though it may take some hacking. Also, I just noticed that many other versions of the BIOS have been released (up to 2.14)! I'll take a crack at updating the tutorial over the next couple of days to reflect what has come to light, and make sure everything's on the level for the newest BIOS revision. Mike Last edited by mbsullivan; May 27th, 2009 at 07:04 PM.. |
|
|
|
|
|
|
#10 | |
|
Way Too Much Ubuntu
![]() Join Date: Jul 2007
Location: Austin, TX (formerly D.C)
Beans: 301
Ubuntu 9.04 Jaunty Jackalope
|
Re: How to Upgrade the Thinkpad x61 BIOS
Quote:
I just wanted to put a note at the bleeding edge of the conversation that the tutorial has been updated: version 2.14 is not incorporated, and instructions to update using Linux only (at long last) have been posted. Let me know if anybody runs into any trouble with the process! Mike |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|