Messages in this thread | | | Date | Sun, 22 Apr 2012 21:07:45 +0400 | From | Michael Tokarev <> | Subject | Re: hibernate a system booted from external USB drive - is it posible ? |
| |
On 22.04.2012 20:49, Toralf Förster wrote: > I wonder, whether it is expect to work with current stable kernel 3.3.2 or > not. Seems not to work here (s2ram works fine). > Hibernate however writes data to the swap partition, but during wakeup I get : > > kernel: PM: Hibernation image partition 8:6 present > kernel: PM: Looking for hibernation image. > kernel: PM: Image not found (code -22) > kernel: PM: Hibernation image not present or could not be loaded.
This is entirely an initramfs issue/question. The device should be present in early userspace when it attempts to resume. Also, s2ram &Co may not be prepared for changing device name/node.
I've a system with only one "drive" being an usb flash stick (Sandisk Cruzer Fit). This system is able to hibernate and resume just fine, but I don't do it often (it is our router).
/mjt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |