Date: Thu, 05 Jul 2001 11:21:14 -0400
From: mne <[EMAIL PROTECTED]>
Subject: hibernation solution

> Date: Thu, 5 Jul 2001 00:27:50 -0400 (Eastern Daylight Time)
> From: Michael J Miller <[EMAIL PROTECTED]>
> Subject: Linux and hibernation
<cut>
> 3) Hibernation appears to cross the 1024 cylinder boundary.
<cut>

> 3) My theory was that putting my /usr partition over the 1024 cylinder
> boundary would keep it safe from hibernation but (after hibernating) and
> then booting Linux I get the messages:
>   "/usr contains a file system with errors, check forced", and
>   "illegal triply indirect block found while reading bad blocks inode".
> So my theory was clearly wrong, but what do I replace it with?  In
> particular, where can I safely start my /usr partition?
> 
> Mike Miller

Mike,
Here's great info for your hibernation issue.  This should take care of
it.
taken from:  http://ta.twi.tudelft.nl/DV/Staff/Lemmens/libretto70ct.html

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




**************************************************************
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