LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-07-2015, 02:36 PM   #1
rivercat
Member
 
Registered: Aug 2010
Location: USA
Distribution: Slackware 14.1, LFS (someday)
Posts: 40

Rep: Reputation: 0
Question Is uswsusp (suspend-utils) usable without initramfs or initrd?


"uswsusp" (aka suspend-utils-1.0, or s2disk and s2ram) is a userland frontend for the kernel's "swsusp" suspend/hibernate/resume feature.

Have you compiled uswsusp for use without an initramfs or initrd?

The source's HOWTO states "It is possible to use the suspend tools without any initramfs/initrd images, but it's dangerous and will not be documented here."
 
Old 03-29-2015, 02:37 PM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
The suspend tools don't use initramfs per se; but suspend-to-disk is useless without a way to resume-from-disk.

The current recommended way is to add a resume invocation into initramfs stage-1 init, without init it may still be possible by using kernel parameter, but the setup is more complex, probably requires swap not to be on device-mapper devices (like LVM2), and may break with future kernel updates.
 
  


Reply

Tags
suspend


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is uswsusp (suspend-utils) usable without initramfs or initrd? rivercat Slackware 1 03-08-2015 04:27 AM
initrd vs. initramfs rrlangly Gentoo 1 05-24-2010 09:05 AM
Initramfs vs Initrd Potatos Linux - Kernel 1 05-03-2010 05:13 AM
Suspend/hibernate on Ubuntu 8.04 fails even with s2both (uswsusp) brianpbarnes Linux - Software 0 12-03-2008 06:00 PM
Confusion PLEASE HELP!!!! Initrd + initramfs aroche Linux - General 2 08-18-2006 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration