hibernate no longer works

Vincent Trouilliez vincent.trouilliez at modulonet.fr
Thu Feb 16 07:58:58 UTC 2006


> I just checked this and it doesn't seem to be the problem.  Now maybe
> there is something wrong with my calculations.  According to fdisk the
> partitions look like this:
> 
> - -------------------------------------------------
> Disk /dev/hdc: 40.0 GB, 40007761920 bytes
> 255 heads, 63 sectors/track, 4864 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/hdc1   *           1        4620    37110118+  83  Linux
> /dev/hdc2            4621        4864     1959930   82  Linux swap / Solaris
> - -------------------------------------------------
> 
> I figured the number of bytes I had in swap was:
> 
> (4864 - 4621) * 8225280 / 1024 / 1024 / 1024 = 1.861474514 GB


If you use cfdisk instead of fdisk, you won't have to do any guessing.
You could also use 'top', which clearly tells how much swap space is
available on the system. 

--
Vince





More information about the ubuntu-users mailing list