DON'T PANIC

Configure suspendig to disk

Posted on: January 29, 2011


Sometimes if we are using the computer and we shutdown down this, we need to turn on up but we don’t write passwds, open apps.. whatever!!… We just want to start using it from where it left!!! so “Suspending to disk” is the solution!

1. Stablish a swap partition/file
2. Install necessary packets. But if you have installed packets, just run #dpkg-reconfigure uswsusp
# apt-get install uswsusp
3. Configure /etc/uswsusp.conf
# vi /etc/uswsusp.conf

resume device = /dev/sda5 # Swap partition.
compute checksum = y
compress = y
early writeout = y
image size = 484036935 # At least, put the ram size.
RSA key file = /etc/uswsusp.key # If your disk is encrypted, this line should be commented.
shutdown method = platform

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Advertisements

  • analialorenzatto: Buzz is just a host name for this example, it doesn't have any relation to the topic. Instead of being "Buzz", could be whatever name.
  • fridelain: >buzz What's the story behind this host name? Actully running buzz, once running buzz and upgraded many times since, or unrelated to debian naming
  • Pratik: Nice, but I would change it to include more directories. Like my .mozilla and .kde4 by using .{config,mozilla,kde4} instead of just .config .

Categories

%d bloggers like this: