Resume device. What is it?

Howard Coles Jr. dhcolesj at gmail.com
Tue Mar 31 22:51:21 UTC 2009


On Tuesday 31 March 2009 09:09:31 am Willy Hamra wrote:

> >
> > Nigel, look in the boot.cfg or /boot/grub/menu.lst for an entry called
> > "resume=<some device>"  Make it match either with the UUID or the /dev/
> > id name and you should be good or just remove it altogether (as mine is)
> > and the OS should find it by default.  This entry tells the Kernel were
> > to look for a resumable instance of the OS whether to RAM (suspend) or to
> > Disk (Hibernate).
>
> i believe this entry is in "/etc/initramfs-tools/conf.d/resume"
> i've had to edit this file many times, nowadays i use a link from
> /dev/disk/by-id in that file, since i always run mkswap which changes
> my swap's UUID.

I almost forgot about that, as its not quite as obvious.  I remember now, a 
long time bike finding that tidbit for some reason.  Must have quickly forgot 
about it after my problem went away.  hehe.

However, like you I would suggest staying with the distro's method of Dev ID 
if possible.  However, I've never had a distro blow up my regular partitions 
because it was trying to turn on the swap, unless you have some command that 
forces the particular partition in the config to be a swap partition (by 
running mkswap, which would not be wise).  Normally It should recognize that 
partition A is not a swap partition, as Nigel's case bears out.

-- 
See Ya'
Howard Coles Jr.
John 3:16!





More information about the kubuntu-users mailing list