Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 1999 22:17:14 +0200 (SAT)
From:      Robert Nordier <rnordier@nordier.com>
To:        Hilgardth@t-online.de (Adrian Horatiu Hilgardth)
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: boot manager feat. high-resolution grafx supports FreeBSD  partitions
Message-ID:  <199901282017.WAA00631@ceia.nordier.com>
In-Reply-To: <3.0.1.32.19990128192232.00688dfc@t-online.de> from Adrian Horatiu Hilgardth at "Jan 28, 99 07:22:32 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Adrian Horatiu Hilgardth wrote:

> I've written a boot manager that supports DOS,
> Linux and of course FreeBSD partitions.
> Unfortunately I don't know anything about the
> FreeBSD boot process. I just look for a
> partition id of 0xa5 and if it has the bootable
> flag set I load its first sector and jump to it.
> It works for DOS and for Linux (except that
> Linux doesn't set bootable flags so you have to
> set it manually using fdisk). Could you please
> tell me more about the way FreeBSD boots?

FreeBSD expects the DL register to contain the BIOS drive number, and,
where this is >= 0x80 (hard drive), that sector 0 of the disk will
contain a valid MBR with at least one 0xa5 partition, preferably
marked active.

-- 
Robert Nordier

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901282017.WAA00631>