Can kexec be used from within initramfs to load up a new image and kernel?

It seems that kexec calls shutdown which then looks for /dev/initctl, which is missing from a busybox initramfs image.

Any guidance would be appreciated!


From the kexec man page:

-e (--exec)
      Run the currently loaded kernel. Note that it will  reboot  into
      the loaded kernel without calling shutdown(8).
  • I don't know how I missed that -- thanks! – David Pfeffer Apr 26 '12 at 11:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.