From owner-freebsd-hackers Tue Oct 31 19:58:16 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id TAA15123 for hackers-outgoing; Tue, 31 Oct 1995 19:58:16 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id TAA15095 for ; Tue, 31 Oct 1995 19:58:05 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id UAA11220; Tue, 31 Oct 1995 20:46:20 -0700 From: Terry Lambert Message-Id: <199511010346.UAA11220@phaeton.artisoft.com> Subject: Re: boot disk.... To: msmith@atrad.adelaide.edu.au (Michael Smith) Date: Tue, 31 Oct 1995 20:46:19 +1700 (MST) Cc: joerg_wunsch@uriah.heep.sax.de, freebsd-hackers@FreeBSD.org In-Reply-To: <199511010113.LAA05097@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Nov 1, 95 11:43:06 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1811 Sender: owner-hackers@FreeBSD.org Precedence: bulk > > > Nothing wrong with this. I had infact even considered a scenario where > > > the bootstrap, if it didn't find a BSD slice where it thought one should > > > be, would search the disk looking for it, and (if possible?) make whatever > > > corrections might be in order. > > > > I hope you won't break the ability to boot right off sector 0, do you? > > That's what an MBR does. If you mean, have a disk without a sector 0 > DOS-style partition table; I would say that booting from it should be a big > no-no. > > If I understand Terry correctly, the DOS-style MBR is an Open Boot > requirement anyway; you lose one track of the disk to using this > scheme - is this a major problem? Actually it is a requirement. So is a FORTH interpreter that can be called from protected mode to do disk, net, and console I/O before you have drivers for the local device ...going to write one that uses VM86() for us? 8-). I think it is necessary to support "naked" devices -- devices without one or more layers of partitioning and/or media perfection (what NT erroneously calls 'FtDISK' for "Fault Tolerance"). A Naked device (BSD disklabel alone) buys you independence from geometry. At least that way, in every case but non-linear partitioning, you can always use the disk for BSD. Non-linear partitioning (like BIOS-based bad sector sparing) will screw you every time. The best you can hope for is that it will work for most of the "naked" cases because uf to some 'N', sector 0..N will be the same with or without the translation in place. This leaves a "BSD only drive" for some people who can't use BSD at all otherwise, which is the current state of affairs. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.