Rafael J. Wysocki schrieb: > Hi, > > On Wednesday, 3 January 2007 00:51, Frank Hempel wrote: >> Hello, >> >> I just installed uswsusp and it seemed to work. > > Which version?
uswsusp 0.3~cvs20060928-6 > >> I configured it to compress and encrypt the image, I chose to use RSA key. > > Does it work with compression alone and with compression+encryption > without the RSA? it worked (suspend+resume) with compression alone. I'm not sure how can I disable RSA and have a passphrase instead, because where do I have to put the passphrase? > >> After suspending and rebooting the machine I am prompted for a >> passphrase. The one I supplied for RSA key generation doesn't match (of >> course) so something did not seem to work out with the RSA decryption I >> guess so I seem to be asked for the passphrase which is used if no RSA >> key is configured. >> >> The console output is this: >> >> ... >> Begin: Mounting root filesystem... ... >> Begin: Running /scripts/local-top ... >> Done. >> Begin Running /scripts/local-premount ... >> kinit: name_to_dev_t(/dev/hda5) = hda5(3,5) >> kinit: trying to resume from /dev/hda5 >> Attempting manual resume >> kinit: no resume image, doing normal boot >> resume: libgcrypt version: 1.2.3 >> resume: Compressed image >> resume: Encrypted image >> Passphrase please (must be non-empty): > > Hm. What's in your suspend.conf? #cat suspend.conf snapshot_device = /dev/snapshot resume_device = <path_to_resume_device_file> #cat uswsusp.conf resume_device = /dev/hda5 compress = y image size = 1e+09 RSA key file = /etc/uswsusp.key > >> Two questions arises from now: >> The most important is to get the system booting again, so what do I have >> to change (when I have it booted from a live CD) to bypass the resume to >> have a normal boot process? > > mkswap your_swap_partition yes, that worked. Thanks for your help... Frank. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel