From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mvd24-00087S-Ms for mharc-grub-devel@gnu.org; Wed, 07 Oct 2009 16:22:44 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mvd21-00084I-TV for grub-devel@gnu.org; Wed, 07 Oct 2009 16:22:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mvd1x-0007xW-8D for grub-devel@gnu.org; Wed, 07 Oct 2009 16:22:41 -0400 Received: from [199.232.76.173] (port=50349 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mvd1w-0007xF-W4 for grub-devel@gnu.org; Wed, 07 Oct 2009 16:22:37 -0400 Received: from mail-fx0-f205.google.com ([209.85.220.205]:45131) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mvd1w-0006IY-L2 for grub-devel@gnu.org; Wed, 07 Oct 2009 16:22:36 -0400 Received: by fxm1 with SMTP id 1so4584849fxm.31 for ; Wed, 07 Oct 2009 13:22:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=OZIgkP79zWMPO07CKacEgC6QQirpvPT/4GOKs/g+Zh4=; b=kgueRZG0BJt7RzYX0ykY25T48F5lhh7vR3RLwYJ9ar341L3Lq9xhvfuVaUbzApTCGP 8hPC4f0DaVk/xxUaMuRP754rK+F+lggqdAm7vFfYgD24vSOBhpZ+bR8bqekuqMDVbKfR 3hbmF6GHOagLzIvS88Vv4Z9hGxiogIkI0L9Ok= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=EPRgMytIiZbSTI9eNmUfbgdYSh2Rw6drRh7a6ofBVlopsyEI6XKUzLPNP6k8CDuEi0 AkscCEA7WRjwQzYyGGbPtjG6GGhNW6OM2gS6MhHVHaUGZ/bGjPgYQjySgyZ0tE98K5De zexo+LCemap4QTy8Lld3DPo/iCi8nUIGnAfR0= Received: by 10.86.227.13 with SMTP id z13mr364565fgg.72.1254946955409; Wed, 07 Oct 2009 13:22:35 -0700 (PDT) Received: from ?10.161.79.223? (gprs37.swisscom-mobile.ch [193.247.250.37]) by mx.google.com with ESMTPS id l12sm416546fgb.16.2009.10.07.13.22.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 07 Oct 2009 13:22:34 -0700 (PDT) Message-ID: <4ACCF883.4060400@gmail.com> Date: Wed, 07 Oct 2009 22:22:27 +0200 From: Vladimir 'phcoder' Serbinenko User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701) MIME-Version: 1.0 To: The development of GRUB 2 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: 16-bit bootloader support? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2009 20:22:42 -0000 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