RE: Switch back to Real mode and then boot strap

From: Aboo Valappil (aboo_at_aboosplanet.com)
Date: 09/28/04

  • Next message: Nick Piggin: "Re: Stack traces in 2.6.9-rc2-mm4"
    To: "'Alex Riesen'" <raa.lkml@gmail.com>
    Date:	Tue, 28 Sep 2004 20:46:40 +1000
    
    

    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@vger.kernel.org
    [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Alex Riesen
    Sent: Tuesday, September 28, 2004 8:22 PM
    To: Aboo Valappil
    Cc: linux-kernel@vger.kernel.org
    Subject: Re: Switch back to Real mode and then boot strap

    On Tue, 28 Sep 2004 20:11:59 +1000, Aboo Valappil <aboo@aboosplanet.com>
    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@vger.kernel.org
    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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Nick Piggin: "Re: Stack traces in 2.6.9-rc2-mm4"

    Relevant Pages

    • Re: Switch back to Real mode and then boot strap
      ... it is really good if I have to load another kernel. ... > the hard disk has been imaged with requested operating system by a user. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: some further comments...
      ... as fast as 98 and better at handling a load. ... will fix a PC with a broken hard disk, ... System Restore, auto. ... If you visit the Vista group you'll find lots of people ...
      (microsoft.public.scripting.vbscript)
    • Re: hard lockup with 2.6.0
      ... fsck'ed and dd'ed two entire hard disk without any ... single error. ... I've had two corrupted files ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • PB 5.0 Load from Hard Disc Error!
      ... Have followed all the steps from the post "Mystery Solved - Boot CEPC ... But haven't had any luck with the hard disk load part of it. ... error messages. ...
      (microsoft.public.windowsce.platbuilder)
    • Re: Problems with Firewire and -mm kernels
      ... Firewire and IDE/SCSI channels to allow the internal hard disk to come ... up as firewire hard disks for other Macs when in Target mode. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)