Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: can't suspend to disk- slackware

  1. #1
    Join Date
    Dec 2007
    Location
    /dev/null
    Beans
    121

    can't suspend to disk- slackware

    On my laptop, I can't suspend to disk (hibernate). running "echo -n 'disk'>/sys/power/state" gives me
    "echo: write error: no such device".
    I can suspend to ram fine.
    Just ask for any other info i didn't give

  2. #2
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: can't suspend to disk- slackware

    Have you got a swap partition and is it big enough?

  3. #3
    Join Date
    Dec 2007
    Location
    /dev/null
    Beans
    121

    Re: can't suspend to disk- slackware

    i originally installed without swap, but created a swap file 1gig at /swapfile, put it in my fstab. it starts fine, is it too small?

  4. #4
    Join Date
    Apr 2011
    Location
    Earth, Sol system
    Beans
    Hidden!
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: can't suspend to disk- slackware

    This helped me when wondering how much space to allocate to the swap partition.

    Swap FAQ

    While this FAQ is regarding Ubuntu, most of it should apply to almost any Linux.

  5. #5
    Join Date
    Dec 2007
    Location
    /dev/null
    Beans
    121

    Re: can't suspend to disk- slackware

    ok my ram is 2g, i have plenty of hdd space so i created a 3G swap file. I still get "write error: no such device" when i try.

  6. #6
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: can't suspend to disk- slackware

    Check the UUID in the resume file /etc/initramfs-tools/conf.d/resume

    https://help.ubuntu.com/community/Us...%20Hibernation

    To get the UUID of the swap

    Code:
    sudo blkid
    Whoops, didn't check the forum - not even sure if slackware has this file ... I know fedora doesn't. I'll leave it here just in case. If it's an issue let me know and I'll delete it.
    Last edited by Elfy; June 15th, 2011 at 06:22 PM.

  7. #7
    Join Date
    Dec 2007
    Location
    /dev/null
    Beans
    121

    Re: can't suspend to disk- slackware

    well sudo blkid only showed my main hdd, i wonder if its because my swap is a file. as for the initramfs part, i don't have that in my /etc folder. maybe a slackware thing.

  8. #8
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: can't suspend to disk- slackware

    Probably, without knowing much about slackware, I suspect you'll have more luck hibernate to a partition not a file. Anyway I shall bow out now and come back later to see the replies.

  9. #9
    Join Date
    Mar 2008
    Beans
    796

    Re: can't suspend to disk- slackware

    Have you added "resume=<swap location>" to either lilo, grub, or kernel config?

  10. #10
    Join Date
    Dec 2007
    Location
    /dev/null
    Beans
    121

    Re: can't suspend to disk- slackware

    there was already something there, i just added the resume to the end.
    append=" vt.default_utf=0 resume=/swapfile"
    is that the correct thing to do?

Page 1 of 2 12 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
  •