Date: Mon, 13 Aug 2001 20:17:24 +0200
From: "Robbert J. van Herksen" <[EMAIL PROTECTED]>
Subject: Hibernation Blues..

Browsing the www.redhat.com site, in the "compatibility list [laptops] I
found something very
interesting about hibernation:

A guy from the netherlands wrote this.

I think after reading this, there cannot be any questions anymore.....

------------------------------------------------------------
3) Get the hibernation mode working on the larger harddisk
The only thing that caused me a real headache was the hibernation mode that
uses a part on the harddisk to store the memory while the Libretto was
switched off. If this part lays somewhere in the middle of a Linux partition
the latter will be partly or wholly destroyed after one hibernation ....

In the original disk simply the last 18 cylinders were reserved for
hibernation :

raw size of 1.6 GB disk :788/64/63 (C/H/S), Linux usable size :770/64/63
(C/H/S)

However, with this new disk things were much more complicated as the
Libretto BIOS - just like many older PCs - can't recognize disks larger than
8.4 GB. After some disasters (a trashed second partition and a trashed swap
space !) I found out that hibernation takes place in the first sectors AFTER
the 8.4 GB.

To put things absolutely clear: it is NOT at the end of the 10 GB and it is
also NOT just BEFORE the end of the 8.4 GB.

After finding this out I decided upon the following partitioning scheme that
already works flawlessly for some time without causing any damage to the
Linux partitions after several hibernations and fscks / memory checks :

Layout of the 10 GB disk : 1222 cylinders, 255 heads, 63 sectors

My partitioning scheme :


Linux partition :    1 -  192 (1.5 GB)
Work partition  :  193 - 1015 (6.5 GB)
Swap partition  : 1016 - 1023 ( 64 MB)
Hibernation     : 1024 - 1929 ( 48 MB) (can be smaller : only need 32 MB)
Third partition : 1030 - 1222 (1.5 GB)
Fdisk reports the following :


Disk /dev/hda: 255 heads, 63 sectors, 1222 cylinders  Units = cylinders of
16065 * 512 bytes
   Device Boot Start End  Blocks  Id System
/dev/hda1  *      1  192 1542208+ 83 Linux native
/dev/hda2       193 1015 6610747+ 83 Linux native
/dev/hda3      1016 1023 64260    83 Linux native
/dev/hda4      1024 1222 1598467+  5 Extended
/dev/hda5      1024 1029 48163+   70 DiskSecure Multi-Boot
/dev/hda6      1030 1222 1550241  83 Linux native

------------------------------------------------------------

Just my 2 cts worth...

Cheers

Robbert




**************************************************************
http://libretto.basiclink.com - Libretto mailing list                
http://libretto.basiclink.com/archive - Archives
http://www.picante.com/~gtaylor/portable/faq.html - FAQ         
                 -------UNSUBSCRIBE-------                            
mailto:[EMAIL PROTECTED]?subject=cmd:unsubscribe 
            --------UNSUBSCRIBE DIGEST------
Use above but add DIGEST to the subject line...                           
**************************************************************

Reply via email to