From owner-freebsd-questions Thu Jan 25 11:26:37 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA10661 for questions-outgoing; Thu, 25 Jan 1996 11:26:37 -0800 (PST) Received: from cy.com (root@jake.atlwin.com [155.229.56.8]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA10656 for ; Thu, 25 Jan 1996 11:26:32 -0800 (PST) Received: from jake.atlwin.com ([155.229.56.36]) by cy.com (8.6.12/8.6.4) with SMTP id PAA26950; Thu, 25 Jan 1996 15:29:49 -0500 Message-Id: <199601252029.PAA26950@cy.com> X-Sender: tkelley@cy.com X-Mailer: Windows Eudora Light Version 1.5.2 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 25 Jan 1996 14:22:46 -0500 To: Michael Smith , questions@freebsd.org From: "Tim M. Kelley" Subject: Re: custom boot from floppy Sender: owner-questions@freebsd.org Precedence: bulk If I make the outlined changes described below and compile, how do I get the resulting executable onto a floppy so that I can use it as a boot floppy? At 03:37 PM 1/23/96 +1030, Michael Smith wrote: >Tim M. Kelley stands accused of saying: >> >> I want to set up a custom boot from a boot floppy. Specifically, >> I want the boot floppy to automatically search for the kernel as follows: >> >> wd(2,a)/kernel >> >> How can I accomplish this? > >It's quite possible that you can't, depending on whether your BIOS >supports drives beyond 0x81. If you want to try, make the following mods to >to /sys/i386/boot/biosboot/boot.c : > > /***************************************************************\ > * Boot from wd(2,a) instead. * > \***************************************************************/ > part = 0; > unit = 2; > drive = 0x82; > maj = 0; > >loadstart: >