From owner-freebsd-hackers Mon Jan 23 15:40:28 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id PAA21779 for hackers-outgoing; Mon, 23 Jan 1995 15:40:28 -0800 Received: from UUCP-GW.CC.UH.EDU (root@UUCP-GW.CC.UH.EDU [129.7.1.11]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id PAA21773 for ; Mon, 23 Jan 1995 15:40:22 -0800 Received: from Taronga.COM by UUCP-GW.CC.UH.EDU with UUCP id AA19577 (5.67a/IDA-1.5); Mon, 23 Jan 1995 17:30:46 -0600 Received: by bonkers.taronga.com (smail2.5p) id AA12431; 23 Jan 95 17:29:39 CST (Mon) Received: (from peter@localhost) by bonkers.taronga.com (8.6.8/8.6.6) id RAA12428; Mon, 23 Jan 1995 17:29:39 -0600 From: Peter da Silva Message-Id: <199501232329.RAA12428@bonkers.taronga.com> Subject: Re: writing bootcode; need a method To: terry@cs.weber.edu (Terry Lambert) Date: Mon, 23 Jan 1995 17:29:39 -0600 (CST) Cc: mmead@goof.com, hackers@FreeBSD.org In-Reply-To: <9501231851.AA08997@cs.weber.edu> from "Terry Lambert" at Jan 23, 95 11:51:41 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 894 Sender: hackers-owner@FreeBSD.org Precedence: bulk > Examining a BSD partition: > > ,---.---.----------------.----------------. > | 1 | 2 | 3 | 4 ... | > `---'---'----------------'----------------' > > 1) BSD second stage boot. > 2) BSD disklabel. > 3) BSD slice 'a'. > 4) BSD subsequent slices. 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.