DON'T PANIC

Archive for January 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


  • 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