[ltp] Creating Hibernation file

Syd Hancock linux-thinkpad@linux-thinkpad.org
Sat, 22 Nov 2003 12:56:49 +0000


I have a T23. I used to have a fat16 (or maybe fat32) dos partition 
(no windows installed) in which I created a hibernation file using 
the utility from the IBM website. This worked partially but there 
was always corruption of the screen in virtual terminals 
(Ctrl-Alt-Fn key) and it didn't work too well with KDE etc - e.g. 
always logged out automatically.

Recently I restored XP and lost the hibernation file. I then 
experimented a bit.

I reduced the size of the XP partition by half a gig (using the disk 
partitioning tool on a mandrake 9.1 install CD). I did not create a 
partition in the new space which was after the XP partition 
(/dev/hda1) and before the mandrake partitions (/dev/hda5, 6 and 
7).

I then booted from the hibernation-creation floppy and tried the 
'create hibernation partition' option and off it went. There seemed 
to be no way to choose a partition to use and I was getting ready 
to see my XP and/or linux partitions disappear but in fact it had 
recognised the unused space in the middle of the drive>

Since then, both sleep and hibernation work much better with no 
screen corruption at all. Nor am I logged out of KDE. In fact it 
works just as I had always assumed it would - all open apps are 
restored to the state they were in before sleep/hibernation. 
Sometimes it is necessary to restart sound or the network but 
that's not a problem.

All usual disclaimers apply but it worked for me.

One question - sleep and hibernation only work if AC is 
disconnected. Is this usual? Obviously it can be argued that if the 
AC is connected then no form of suspend is necessary. 

Syd
Norwich UK
http://www.alug.org.uk