From owner-freebsd-hackers Mon Jan 23 18:03:44 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id SAA00790 for hackers-outgoing; Mon, 23 Jan 1995 18:03:44 -0800 Received: from tfs.com (mailhub.tfs.com [140.145.250.1]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id SAA00781 for ; Mon, 23 Jan 1995 18:03:43 -0800 Received: by tfs.com (smail3.1.28.1) Message-Id: From: julian@tfs.com (Julian Elischer) Subject: Re: writing bootcode; need a method To: peter@bonkers.taronga.com (Peter da Silva) Date: Mon, 23 Jan 1995 18:02:52 -0800 (PST) Cc: terry@cs.weber.edu, mmead@goof.com, hackers@FreeBSD.org In-Reply-To: <199501232329.RAA12428@bonkers.taronga.com> from "Peter da Silva" at Jan 23, 95 05:29:39 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1171 Sender: hackers-owner@FreeBSD.org Precedence: bulk > > > Examining a BSD partition: > > > Um, it's more like this: > > > ,------------------------.----------------. > > | 3 | 4 ... | > > |---.---. | | > > | 1 | 2 | | | > > `---'---'----------------'----------------' > > It's very important to understand that slice A contains the second stage > boot and disklabel. I know you know that, Terry, but it's not intuitively > obvious. In our OSF system administration class the instructor insisted > that these were *outside* the slice and that there were special interfaces > to get them. You need to watch out for the infamous "swap on a" problem. yes.... well if we are going to correct things, it's like this: > > ,------------------------.----------------. > > | 4 | 5 ... | > > |---.---.---. | | > > | 1 | 2 | 3 | | | > > `---'---'---'------------'----------------' > > 1) BSD second stage boot. (loads label and 3rd stage) > > 2) BSD disklabel. > > 3) BSD Third stage boot. (loads kernel) > > 4) BSD slice 'a'. > > 5) BSD subsequent slices.