Results 1 to 3 of 3

Thread: hibernate problem

  1. #1
    Join Date
    Nov 2011
    Beans
    1

    hibernate problem

    Hey guys,
    I'm having trouble enabling my hibernate feature.
    I have installed Ubuntu 12.04 LTS 64bit using Wubi on my Asus N53SN hybrid laptop ( Intel + Nvidia). After Updating through ubuntu Update manager AND turning off my Nvidia card using Bumblebee, I no longer have an issue with suspending (aka standby, right?) my laptop and the laptop fan running at the full speed all the time. Oh and I also installed Jupiter and have set it on power saver ( CPU temp= 48 centigerades. is it ok?). any ways, I thought these were important to know in order for my problem to be solved.

    So when I tried to hibernate using uswsusp, it seemed like ubuntu was doing some things, the colorful screen went black with white texts, it didn't turn off; but everything went back to normal (but there were no sound/wireless problem). having a 8gb ram, I checked my swap size and I thought that I should increase it. I did that using this code that is available on the WubiGuide:

    Code:
    sudo su
    swapoff -a
    cd /host/ubuntu/disks/
    mv swap.disk swap.disk.bak
    dd if=/dev/zero of=swap.disk bs=1024 count=2097152
    mkswap swap.disk
    swapon -a
    free -mrm swap.disk.bak
    
    (I thought 2gbs is ok since I won't have 2gb of applications running to take ram memory. maybe I am wrong here.)
    then, I try :
    Code:
     sudo s2disk
    but I get:
    s2disk: Could not use the resume device (try swapon -a). Reason: No such device
    I do what he (!) asks, but nothing happens. I again try to run s2disk, but I get the same error.

    can you help me out? I think since I have no trouble with with suspend then I am just one step away from having hibernate.

  2. #2
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: hibernate problem

    Ubuntu uses a swap partition to hibernate. Wubi doesn't create partitions and uses a swap file instead. So you cannot hibernate it.

    It is possible to hibernate to a swap file, but I've never heard of anyone doing it on Wubi (I've seen some try).

    Note if you create a swap partition, you can hibernate a Wubi install, but most of the time people use Wubi to avoid repartitioning, so not really an option (in this case you might as well do a normal install).

  3. #3
    Join Date
    Oct 2013
    Beans
    54

    Re: hibernate problem

    Quote Originally Posted by sedalatianz View Post
    Hey guys,
    I'm having trouble enabling my hibernate feature.
    I have installed Ubuntu 12.04 LTS 64bit using Wubi on my Asus N53SN hybrid laptop ( Intel + Nvidia). After Updating through ubuntu Update manager AND turning off my Nvidia card using Bumblebee, I no longer have an issue with suspending (aka standby, right?) my laptop and the laptop fan running at the full speed all the time. Oh and I also installed Jupiter and have set it on power saver ( CPU temp= 48 centigerades. is it ok?). any ways, I thought these were important to know in order for my problem to be solved.
    48C is fine. I wouldn't worry until the sensors reach about 65C all the time, except blow away the fan dust now and then.


    ...can you help me out? I think since I have no trouble with with suspend then I am just one step away from having hibernate.
    This is a feeling I get whenever I am tweaking Ubuntu. I am good, I think but Linux is a little better, an error may be just a design flaw.
    https://wiki.ubuntu.com/5-A-Day

    This was placed here to ignore

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •