From owner-freebsd-hackers Sat Feb 7 14:57:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA18703 for hackers-outgoing; Sat, 7 Feb 1998 14:57:08 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from sphinx.lovett.com (root@sphinx.lovett.com [38.155.241.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA18682 for ; Sat, 7 Feb 1998 14:57:04 -0800 (PST) (envelope-from ade@demon.net) Received: from gorgon.lovett.com [38.155.241.3] (ade) by sphinx.lovett.com with esmtp (Exim 1.82 #1) id 0y1JB7-0000Cg-00; Sat, 7 Feb 1998 16:56:53 -0600 To: Mike Smith cc: hackers@FreeBSD.ORG Subject: Re: boot floppy banner Organization: Demon Internet Reply-To: ade@demon.net In-reply-to: Your message of "Sat, 07 Feb 1998 13:30:15 PST." <199802072130.NAA05630@dingo.cdrom.com> Date: Sat, 07 Feb 1998 16:56:52 -0600 From: Ade Lovett Message-Id: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe hackers" Mike Smith writes: > >What has to happen is that someone has to write the third-stage >bootstrap. The biosboot code will shrink substantially when this >happens. Ok. Forgive my ignorance in any of the below comments - I probably need to hit myself over the head with a clue-by-four as far as i386 booting goes.. :) AIUI, with the two-stage boot process at the moment (MBR and biosboot), the i386 validates the contents of the first few sectors of the disk, loads in biosboot at some low memory location, this code runs, prints up the boot prompt, determines the kernel image to load, blits it in at the 1Mb region, and passes control over and away we go. As far as the end user is concerned, they can either sit and do nothing, or type one line of text to load a different kernel.. Splitting this into three stage process: 1. MBR loads biosboot at 2. biosboot runs and prompts "where do you want to load the next boot program?" 3. biosboot loads at 4. runs and prompts "which kernel do you want to load?" 5. loads at 1Mb 6. kernel runs.. Assuming I haven't messed up anywhere above :), I don't see where the code shrinkage comes from.. biosboot still needs BAD144 etc.. to be able to load the 3rd stage boot, and we still want to give the pilot a choice as to where this code is loaded from.. -aDe [currently confused, as usual..] -- Ade Lovett, Demon Internet, Austin, Texas.