Results 1 to 5 of 5

Thread: No option to hibernate / "sudo shutdown now" causes crash

  1. #1
    Join Date
    Oct 2010
    Beans
    32

    No option to hibernate / "sudo shutdown now" causes crash

    I assume that the two issues are related.

    Gigabyte P55-USB3 mobo,
    ATI Radeon HD 5800 Series graphics card,
    8 GB ram

    Ubuntu installed after Win7.

    Dual boot Win7 and Ubuntu 10.04, shared NFTS partition for Downloads and Documents, Grub setup to load Ubuntu by default. I can use the option to hibernate in Windows (but it is disabled by default).

    I would very much like to enable the "Hibernate" function on this machine, but there is no option for it in the menus.

    "sudo shutdown now" in a Terminal results in a screen that resembles the login screen background, but the machine is completely irresponsive and must be silenced by long-pressing the physical power button. When I use the GUI to shut down, everything works fine.

    Perhaps related: When waking the machine from the screen saver, the login window does not turn up before I press the "Esc" button. I am using a standard Gnome screen saver.

    Perhaps related: The Grub boot screen is getting more and more options every time the Linux kernel is updated. sudo grub-update does not help.

    Please do not lead me to the Ubuntu manual page

    https://help.ubuntu.com/9.10/hardwar...uspending.html

    which has a well-known, dead link.
    Last edited by nrabett; April 26th, 2011 at 12:43 AM.

  2. #2
    Join Date
    Sep 2007
    Location
    Oklahoma, USA
    Beans
    2,378
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: No option to hibernate / "sudo shutdown now" causes crash

    For hibernation to work in Ubuntu, you must have a swap partition established that is at least as large as your total amount of RAM since hibernation will dump all RAM to the swap partition. It's best to make it at least a bit larger for safety's sake.

    The additional options on the grub menu with each kernel update are completely unrelated to the hibernation and shutdown problems. The update procedure never removes an old set of kernel files, just in case you might need to fall back on them (I've had to drop back by two revisions at least once, before I learned how to keep my video drivers up to date). To trim the list back you have a number of options. The simplest is to install and use "Grub Customizer" (search for that name to find threads detailing what it is and how to use it). If you want to reclaim some disk space, you can use the Synaptic Package Manager to locate and remove all but the most recent two.
    --
    Jim Kyle in Oklahoma, USA
    Linux Counter #259718
    Howto mark thread: https://wiki.ubuntu.com/UnansweredPo.../SolvedThreads

  3. #3
    Join Date
    Oct 2010
    Beans
    32

    Re: No option to hibernate / "sudo shutdown now" causes crash

    Aha, the Swap partition is only 1.2 GB. I run Ubuntu and Windows from a SSD (storage and shared NFTS partition is on another HD), and the space is limited.

  4. #4
    Join Date
    Feb 2011
    Location
    Maryland
    Beans
    2,259
    Distro
    Ubuntu

    Re: No option to hibernate / "sudo shutdown now" causes crash

    Dont use shutdown now

    Code:
    shutdown -P 0

  5. #5
    Join Date
    Oct 2010
    Beans
    32

    Re: No option to hibernate / "sudo shutdown now" causes crash

    Quote Originally Posted by collisionystm View Post
    Dont use shutdown now

    Code:
    shutdown -P 0
    Thanks, this works.

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
  •