3

I have an application where I need to boot to Linux with grub, execute automated scripts and then automatically boot to Windows. Can I use Kexec to run grub2 with a command line like:

insmod part_msdos
insmod chain
chainloader (hd1,msdos2)+1

?

I've heard of grub4dos (link), but it seems to be discontinued, so is there a way to do it with grub2? I would basically need a loadable image of grub for kexec. I tried to load the images found in this explanation, but they don't seem to work. Thanks for any hints.


UPDATE

It seems that that just is not yet implemented in kexec. See bugs.launchpad.net.

Your Answer

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

Browse other questions tagged or ask your own question.