All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: 16-bit bootloader support?
Date: Wed, 07 Oct 2009 22:22:27 +0200	[thread overview]
Message-ID: <4ACCF883.4060400@gmail.com> (raw)
In-Reply-To: <OF4CC7CF7B.E25A21BD-ON86257648.006A5DC6-86257648.006AC821@ni.com>

Gabe Black wrote:
>
> 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.
>
Why do you need realmode? Using real mode requires grub2 to use more
code. MAybe booting with multiboot in 32-bit mode would be a better
idea? If you need to do some specific tasks before switching to 32-bit
mode speak about it - adding them to multiboot may be useful.
>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?
chainloading loads in realmode, even the A20 bug is reenabled if
possible. But I discourage usage of it. Chainloading is as unportable as
you can get.
>
> Any help is appreciated.
>
> Thanks,
> Gabe Black | National Instruments | System Software | 512.683.8761
> ------------------------------------------------------------------------
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>   


-- 
Regards
Vladimir 'phcoder' Serbinenko
Personal git repository: http://repo.or.cz/w/grub2/phcoder.git 




  parent reply	other threads:[~2009-10-07 20:22 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
2009-10-07 20:22 ` Vladimir 'phcoder' Serbinenko [this message]
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=4ACCF883.4060400@gmail.com \
    --to=phcoder@gmail.com \
    --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.