Re: Switch back to Real mode and then boot strap

From: Alex Riesen
Date: Tue Sep 28 2004 - 05:58:15 EST


On Tue, 28 Sep 2004 20:46:40 +1000, Aboo Valappil <aboo@xxxxxxxxxxxxxxx> wrote:
> Thanks for your reply, it is really good if I have to load another kernel.
> But in my case the OS on the hard disk could be Windows, Linux or x86
> Solaris. A reboot is required from Linux booted from floppy/ramdisk after
> the hard disk has been imaged with requested operating system by a user.

Could be a starting point, though.

> Because of the automated behavior of this, changing the boot sequence is not
> an option. That is why I am after executing real mode BIOS interrupts to
> load the MBR and then pass control to it.

You still have to shutdown the currently running kernel and put the
devices in some
definite state.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/