On Jun 17, 2009, at 8:37 AM, Jeremy Katz <katzj@xxxxxxxxxx> wrote:
On Wednesday, June 17 2009, Warren Togami said:
My understanding is that if you hibernate, it somehow writes
something
recongnized by grub upon the next boot so it knows to boot the same
kernel & initrd with additional cmdline parameters to resume.
Not entirely true -- on hibernate, we do a grub bootonce to force you
back into the same kernel you're already booted into. The initrd then
as one of its first steps looks at the swap partition (... which in
the
Fedora case, is specified as part of the initramfs with support for an
override in /proc/cmdline) and if its a swsusp partition, we resume
from it.
Dracut just looks for the resume= parameter, and writes a udev rule
that fires when the device is found if the parameter was on the
commandline.
Any idea what is going on here? Did this ever work with dracut
before?
Unless someone added it when I wasn't looking, no one has added the
support to dracut for the resume bits
I did way back in the day as a mount hook. I have not tested it since
it was turned into a dynamically generated udev rule.
Jeremy
--
To unsubscribe from this list: send the line "unsubscribe initramfs"
in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html