Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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!

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

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).
share|improve this answer
    
I don't know how I missed that -- thanks! –  David Pfeffer Apr 26 '12 at 11:32
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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