All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felix Zielcke <fzielcke@z-51.de>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: 16-bit bootloader support?
Date: Wed, 07 Oct 2009 22:12:08 +0200	[thread overview]
Message-ID: <1254946328.2818.19.camel@fz.local> (raw)
In-Reply-To: <OF4CC7CF7B.E25A21BD-ON86257648.006A5DC6-86257648.006AC821@ni.com>

Am Mittwoch, den 07.10.2009, 14:26 -0500 schrieb Gabe Black:
> 
> So I have a real-time OS named Pharlap that has a 16-bit bootloader
> that ends up switching to 32-bit protected mode and loads the OS.  I
> think it relies on the first sector of the partition being loaded and
> execution simply started - but in real-mode. 
> 
> Is there any way to have grub do this (legacy or grub2)?  I tried
> chainloading, but I think that may be loading it in 32-bit mode.  Any
> pointers on what code I would have to modify to create that option for
> grub? 
> 
> Any help is appreciated. 
> 

chainloader switches to real mode just before jumping to the loaded
bootsector.
But if that bootloader already loads the OS in 32bit mode then multiboot
may be an option.

-- 
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer




  reply	other threads:[~2009-10-07 20:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-07 19:26 16-bit bootloader support? Gabe Black
2009-10-07 20:12 ` Felix Zielcke [this message]
2009-10-07 20:22 ` Vladimir 'phcoder' Serbinenko
2009-10-08  5:34 ` Bogdan
2009-10-08 12:28   ` Vladimir 'phcoder' Serbinenko
2009-10-09 13:06 ` James Courtier-Dutton
2009-10-09 13:37   ` Bogdan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1254946328.2818.19.camel@fz.local \
    --to=fzielcke@z-51.de \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.