[Bug 206358] Re: Slow boot process on "waiting for resume device"

aldebx aldebx at yahoo.fr
Fri Jun 27 23:47:41 UTC 2008


This behavior is caused by the fact that you have somehow modified your
swap partition (new linux setup? new hard disk? swap partition resize?)
and thus initramfs-tools cannot find the swap/resume partition through
the old UUID.

Summing some of the advices given here and there

1. first make the swap partition work again by
sudo mkswap /dev/sda9
(where sda9 should be the corresponding partition on your system. Check gparted to ensure this. This will DESTROY all your data if you use it on a data partition, like your /home one)

2. then compute the UUID of the new swap partition
sudo blkid /dev/sda9

3. change the UUID code in both these files
/etc/fstab
(only change the one concerning /dev/sda9!)
/etc/initramfs-tools/conf.d/resume

4. rebuild the initramfs with
update-initramfs -u 

5. reboot

You can also change back the swap UUID with this command (thanks Lowell)
    mkswap -U UUID /dev/swapdev
where UUID is the ID shown in both mentioned /etc files (the ID should be the same in both them, otherwise follow the 1-3 steps!)

** Changed in: initramfs-tools (Ubuntu)
       Status: New => Invalid

-- 
Slow boot process on "waiting for resume device"
https://bugs.launchpad.net/bugs/206358
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to initramfs-tools in ubuntu.




More information about the kernel-bugs mailing list