Page 3 of 6 FirstFirst 12345 ... LastLast
Results 21 to 30 of 54

Thread: Hibernate/Suspend Not working

  1. #21
    Join Date
    Jul 2007
    Location
    Tainan, Taiwan
    Beans
    103
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Hibernate/Suspend Not working

    I have what could be the same problem: suspend not working in Ubuntu. I suspect that my BIOS is not ACPI-compliant (the whole system came with a CD containing Windows-only motherboard drivers). My computer is a dual-boot as well; Suspend works fine on Windows XP. Maybe that's an explanation? Or did I get it wrong?
    Last edited by thomasyen; August 18th, 2009 at 07:20 AM.
    Support scientific research with otherwise unused processing cycles: http://boinc.berkeley.edu

  2. #22
    Join Date
    Aug 2009
    Location
    /MilkyWay/Earth/Canada
    Beans
    306
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Hibernate/Suspend Not working

    Can you hibernate/suspend to a swap file?

  3. #23
    Join Date
    Aug 2009
    Location
    /MilkyWay/Earth/Canada
    Beans
    306
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Hibernate/Suspend Not working

    Quote Originally Posted by AlexsAntidote View Post
    I have been using Ubuntu since 7.04 on my Acer Notebook and for a long time could not get the suspend/hibernate to work. I tried everything...

    However, I found a fix (at least for my problem) inadvertently while trying to fix the freeze bug with 9.04 and now suspend and hibernate work flawlessly for me.

    Here's what I did:

    Add X-Updates to your repository list (found here: https://launchpad.net/~ubuntu-x-swat/+archive/x-updates/ (don't forget to add the key), and then do
    Code:
    sudo apt-get update && sudo apt-get upgrade
    (this is especially important if you have a Nvidia video card).

    Download and install the latest Kernel from here: http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.30/ (if you have a 64 bit processor and installation, make sure you choose 64 bit, otherwise get the 386)

    Restart and boot with the new kernel. Enjoy!
    If when I create a Swap partition and it does not work I will try this-thanx for the advice!

  4. #24
    Join Date
    Apr 2009
    Location
    Middletown, CT
    Beans
    97
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Hibernate/Suspend Not working

    Can you hibernate/suspend to a swap file?
    it seems like it's possible but it looks quite difficult. I guess you should try to make a partition first.

  5. #25
    Join Date
    Aug 2009
    Location
    /MilkyWay/Earth/Canada
    Beans
    306
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Hibernate/Suspend Not working

    Ok I have a Swap partition made. Now to just enable it . It turns out my problem was that I forgot to unmount the drive before I partitioned it in GPartEd. Silly me

  6. #26
    Join Date
    Aug 2009
    Location
    /MilkyWay/Earth/Canada
    Beans
    306
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Hibernate/Suspend Not working

    Quote Originally Posted by milesnapue View Post
    Gparted should work just fine or you, though as stated in the above post you should only be making changes to unmounted partitions. Guessing you have an ubuntu liveCD seeing as you did a clean install. Boot from the disc and try gparted again. If all goes well with Making your swap you should search for a couple of commands for activating the swap. might have to use the terminal a small amout.

    This thread has some good info on mounting swap once it is created http://ubuntuforums.org/showthread.php?t=365530
    So, looking through there, I decided to check if my system "knows" if I have a Swap partition. So I ran;

    Code:
    free
    sudo fdisk -l
    cat /ect/fstab
    Here are the results:
    scott@scott-laptop:~$ free
    total used free shared buffers cached
    Mem: 2052444 560140 1492304 0 36788 253428
    -/+ buffers/cache: 269924 1782520
    Swap: 0 0 0
    scott@scott-laptop:~$ sudo fdisk -l

    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x63cfb345

    Device Boot Start End Blocks Id System
    /dev/sda1 1 1271 10209276 7 HPFS/NTFS
    /dev/sda2 * 1272 13583 98896140 7 HPFS/NTFS
    /dev/sda3 13584 18940 43030102+ 83 Linux
    /dev/sda4 18941 19457 4152802+ 82 Linux swap / Solaris

    scott@scott-laptop:~$ cat /ect/fstab
    cat: /ect/fstab: No such file or directory
    Sorry for readability issues from what came out of my terminal. All I did was copy and paste it and the forum does not keep that spacing and all that.

    Looking with Nautalis, I can clearly see a fstab file. It reads as follows:

    # /etc/fstab: static file system information.
    #
    # Use 'vol_id --uuid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # / was on /dev/sda3 during installation
    UUID=c3c892fa-37f2-4dc0-8d7b-8d7e8a7258f8 / ext4 relatime,errors=remount-ro 0 1
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
    Any help for activating my swap partition? As you can plainly see, it is there and is correctly formatted as Swap.

    Scott

    PS: I also saw another suggestion:
    2.3 Some people also reported this to help:
    • 1) cfdisk : erase the old swap partition and recreate a new one
    • 2) reboot (mandatory)
    • 3) mkswap /dev/hda8
    • 4) swapon -a
    I tried going into cfdisk, though it told me this:
    FATAL ERROR: Cannot open disk drive
    Press any key to exit cfdisk
    Last edited by Windows Nerd; August 19th, 2009 at 05:01 AM. Reason: Typo+Adding more info

  7. #27
    Join Date
    Dec 2007
    Location
    Michigan
    Beans
    75
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Hibernate/Suspend Not working

    Quote Originally Posted by Windows Nerd View Post
    Ok I have a Swap partition made. Now to just enable it . It turns out my problem was that I forgot to unmount the drive before I partitioned it in GPartEd. Silly me
    haha! Yeah that would do it. Don't feel bad, I've done that before myself. It's an easy oversight to make.

    So did the swap partition help?

  8. #28
    Join Date
    Dec 2007
    Location
    Michigan
    Beans
    75
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Hibernate/Suspend Not working

    Quote Originally Posted by Windows Nerd View Post
    So, looking through there, I decided to check if my system "knows" if I have a Swap partition. So I ran;

    Code:
    free
    sudo fdisk -l
    cat /ect/fstab
    Here are the results:
    Sorry for readability issues from what came out of my terminal. All I did was copy and paste it and the forum does not keep that spacing and all that.

    Looking with Nautalis, I can clearly see a fstab file. It reads as follows:

    Any help for activating my swap partition? As you can plainly see, it is there and is correctly formatted as Swap.

    Scott
    Try:
    Code:
    cat /etc/fstab
    It looks like you spelled "etc" as "ect".

    Also, use [_code_] instead of [_quote_] (without the _'s), that should keep the spacing.

  9. #29
    Join Date
    Aug 2009
    Location
    /MilkyWay/Earth/Canada
    Beans
    306
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Hibernate/Suspend Not working

    Quote Originally Posted by AlexsAntidote View Post
    Try:
    Code:
    cat /etc/fstab
    It looks like you spelled "etc" as "ect".

    Also, use [_code_] instead of [_quote_] (without the _'s), that should keep the spacing.
    Oh...my thats a stupid mistake of me. Thanks

    From Cat /ect/fstab:

    Code:
    # /etc/fstab: static file system information.
    #
    # Use 'vol_id --uuid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    defaults        0       0
    # / was on /dev/sda3 during installation
    UUID=c3c892fa-37f2-4dc0-8d7b-8d7e8a7258f8 /               ext4    relatime,errors=remount-ro 0       1
    /dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
    Looks the same as if I looked at it with a graphical editor, or ran

    gksudo gedit /etc/fstab

    Scott

    I am signing off to go to bed now. If anyone can find a solution (I am fine with terminal/command line) for me and post it while I am a snoozin', much wukk be appreciated

  10. #30
    Join Date
    Dec 2007
    Location
    Michigan
    Beans
    75
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Hibernate/Suspend Not working

    Quote Originally Posted by Windows Nerd View Post
    ...
    PS: I also saw another suggestion:

    I tried going into cfdisk, though it told me this:
    ...
    Be careful with cfdisk if you use your that disk for other operating systems (I think I recall you mentioning you dual boot with windows?)... read the manual and you'll see why. (man cfdisk)

Page 3 of 6 FirstFirst 12345 ... LastLast

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
  •