From owner-freebsd-small Sat Dec 9 9:36:21 2000 From owner-freebsd-small@FreeBSD.ORG Sat Dec 9 09:36:19 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from nordier.com (c2-dbn-21.dial-up.net [196.34.155.149]) by hub.freebsd.org (Postfix) with ESMTP id 70D0437B400 for ; Sat, 9 Dec 2000 09:36:15 -0800 (PST) Received: (from rnordier@localhost) by nordier.com (8.11.1/8.11.1) id eB9HaiH00638; Sat, 9 Dec 2000 19:36:44 +0200 (SAST) (envelope-from rnordier) From: Robert Nordier Message-Id: <200012091736.eB9HaiH00638@nordier.com> Subject: Re: non-standard floppy formats ? To: rizzo@aciri.org, lab@gta.com Date: Sat, 9 Dec 2000 19:36:43 +0200 (SAST) Cc: small@freebsd.org In-Reply-To: <20001208224852.A29661@max.gta.com> from "Larry Baird" at Dec 08, 2000 10:48:52 PM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Larry Baird wrote: > On Fri, Dec 08, 2000 at 06:02:23PM -0800, Luigi Rizzo wrote: > > > I think the problem is in boot1.s of boot2. Look at the function > > > read(). The first thing is does is do an int13 call to get the > > > BIOS configuration of the floppy. The result that is causing > > > you a problem is "cylinders per track" (returned in register cl). > > > You could hardcode the code after the int13 to set register cl > > > to your new floppy geometry. > > > > tried that, but it seems that the bios does not like that. Probably > > (at least on the system i tried) it still checks for the sector > > number to be admissible for the geometry it knows. > Are you familiar with the following site? > http://www.ctyme.com/rbrown.htm There's no simple way to reliably boot something the size of FreeBSD from a floppy in non-standard format. Your best approach would be to look at something like Christoph Hochstaetter's fdformat to get an idea of what's needed to fool BIOS into handling this stuff. -- Robert Nordier rnordier@nordier.com rnordier@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message