RE: Switch back to Real mode and then boot strap

From: Aboo Valappil
Date: Tue Sep 28 2004 - 05:48:04 EST


Alex,

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.

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.

Any help will be appreciated :)

Thanks

Aboo


-----Original Message-----
From: linux-kernel-owner@xxxxxxxxxxxxxxx
[mailto:linux-kernel-owner@xxxxxxxxxxxxxxx] On Behalf Of Alex Riesen
Sent: Tuesday, September 28, 2004 8:22 PM
To: Aboo Valappil
Cc: linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: Switch back to Real mode and then boot strap

On Tue, 28 Sep 2004 20:11:59 +1000, Aboo Valappil <aboo@xxxxxxxxxxxxxxx>
wrote:
> Basically I have a requirement of re-booting ( Without really rebooting )
> the OS from the hard disk ( even if a floppy is present or a bootable
CD-ROM
> is present). Update CMOS to change the boot sequence is not an option for
> my requirement.

You probably want to look at kexec.
I.e. there: http://lwn.net/Articles/15468/
-
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/


-
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/