1

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!

1 Answer 1

2

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).
2
  • I don't know how I missed that -- thanks! Commented Apr 26, 2012 at 11:32
  • @psusi Does busybox have kexec support? How did you add kexec to busybox?
    – Naveen
    Commented Oct 29, 2019 at 14:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .