[ltp] Success: Hibernation

Edi Weitz linux-thinkpad@www.bm-soft.com
10 May 2002 03:22:54 +0200


Hi!

I'm one of those who never succeeded in enabling hibernation for their
Thinkpad although I (thought I) had tried almost everything. I've just
switched from a T21 (2647 9AG) to a new T23 (2647 HSU) and it now
works for me. Although this is a different machine I don't think this
is the reason.

The main difference seems to be that I now was smart enough to create
a small FAT16 partition as my _first_ partition - all else is the same
as before. (I never bothered to try this on my old machine as I had
already installed and configured Linux as well as W2k and I didn't
want to ruin my system by shuffling the partitions around.)

For those who also want to try this here's a short summary of what I
did:

1. Create, as your first partition, a primary partition, formatted as
   FAT16 and big enough for you RAM as well as the RAM of your video
   card. I have 768 MB RAM and a SuperSavage/IX card with 16 MB
   VideoRAM, so I've chosen 850 MB because I also wanted to use this
   partition to share my Gnus files between Windows and Linux.

   Here's the output of 'fdisk -l /dev/hda':

Disk /dev/hda: 240 heads, 63 sectors, 7752 cylinders
Units = cylinders of 15120 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1       116    876928+   6  FAT16
/dev/hda2           117      7752  57728160    5  Extended
/dev/hda5           117       325   1580008+  82  Linux swap
/dev/hda6           326      3100  20978968+  83  Linux
/dev/hda7          3101      5875  20978968+  83  Linux
/dev/hda8          5876      7752  14190088+   7  HPFS/NTFS

2. Get the hibernation utility diskette from IBM. It's at
   <http://www.pc.ibm.com/qtechinfo/MIGR-4PESMK.html>.

3. Boot from this diskette and create a hibernation _file_ - do not
   create a hibernation partition!!

4. Reboot and you should now be able to hibernate by either pressing
   Fn-F12 on your keyboard or by using the --hibernate option of tpctl
   - see <http://tpctl.sourceforge.net/tpctlhome.htm>.

Of course, the usual disclaimers apply: If you do this with your own
laptop, you may end up causing damage to your software, your hardware,
or your mental health. I take no responsibility for anything that you
may do as a result of reading this message. The contents of this
message are provided 'as is' with no warranty. Yada, yada, yada...

Take care,
Edi.






----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html