]> git.donarmstrong.com Git - don.git/blob - posts/x200_bios_update.mdwn
separate out into paragraphs
[don.git] / posts / x200_bios_update.mdwn
1 [[!meta title="X200 Bios Update on Debian"]] 
2
3 Updating the bios on my X200 Tablet was surprisingly simple in Debian.
4 Often, updating bios requires some sort of Windows or Dos boot disk
5 and all kinds of machinations to make that happen. Lenovo provides an
6 iso image to update the bios which alleviates some of these problems,
7 but as the X series don't have built-in CDROM drives (and I don't have
8 an ultrabay), 
9
10 All you have to do is download the
11 [iso](http://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles/7wuj43uc.iso),
12 install syslinux `aptitude install syslinux`, and configure grub to
13 start memdisk and boot off of the iso. You can do this by copying the
14 iso to your boot partition (`cp 7wuj43uc.iso /boot/;`), copying
15 memdisk to the boot partition (`cp /usr/lib/syslinux/memdisk /boot/;`)
16 and adding an entry to your grub.cfg like the following (putting it in
17 /etc/grub.d/40_custom is probably the most reasonable):
18
19     menuentry "Thinkpad x200 BIOS Upgrade to 3.19" {
20            insmod part_msdos
21            insmod ext2
22            set root='(hd0,msdos1)'
23            linux16 /memdisk iso
24            initrd16 /7wuj43uc.iso
25     }
26
27 Note that your configuration will be slightly different depending on
28 whether you have a separate /boot partition (I do) or not.
29
30 Then you just need to boot the laptop, select the bios upgrade option
31 in grub, and tell the program that you really do want to upgrade the
32 bios and that you really do have a full battery and the laptop plugged
33 into an AC adapter.
34
35 The major idea for this method came from [ThinkWiki's entry](http://www.thinkwiki.org/wiki/BIOS_Upgrade/X_Series#Approach_10:_Booting_the_Lenovo_ISO_image_using_Grub_and_SysLinux).
36
37 [[!tag debian tech x200]]