On Thursday, September 04, 2014 09:01:41 AM Christian Kruse wrote:
> Hi,
> 
> At Wed, 3 Sep 2014 22:30:32 -0600, Joseph wrote:
> > But they omitted the Boot partition.
> > 
> >  Device           Start          End   Size Type
> >  /dev/sda1         2048         6143     2M BIOS boot partition
> >  /dev/sda2         6144      4200447     2G Linux swap
> >  /dev/sda3      4200448    117231374  53.9G Linux filesystem
> > 
> > There is Bios Boot 2MB but no Boot partition where kernel is located.
> 
> The 2M partition is the boot partition. But it is much to small, I've
> been re-sizing it to 1G. That's more than enough for the initrd image,
> grub and the kernel.
> 
> By the way, keep in mind that if you plan to use suspend to disk you
> will need 2x RAM disk space on swap in the worst case.

No you don't.

I have 16GB RAM in my laptop and my swap partition is 17GB.

Just make sure you create a file like:
***
$ cat /etc/local.d/suspend_image_size.start 
#!/bin/sh
#
echo 0 > /sys/power/image_size
***

And make this executable.

This fixes the problem I had that I couldn't suspend to disk when using 
more then half the memory.

With this, I never have an issue with hibernate.

--
Joost

Reply via email to