From owner-freebsd-questions Wed Feb 8 08:25:37 1995 Return-Path: questions-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id IAA12295 for questions-outgoing; Wed, 8 Feb 1995 08:25:37 -0800 Received: from cs.weber.edu (cs.weber.edu [137.190.16.16]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id IAA12289 for ; Wed, 8 Feb 1995 08:25:36 -0800 Received: by cs.weber.edu (4.1/SMI-4.1.1) id AA18701; Wed, 8 Feb 95 09:18:06 MST From: terry@cs.weber.edu (Terry Lambert) Message-Id: <9502081618.AA18701@cs.weber.edu> Subject: Re: Recompiling the boot manager To: fod@netcom.com (Frank O'Donnell) Date: Wed, 8 Feb 95 9:18:05 MST Cc: questions@FreeBSD.org In-Reply-To: <199502080413.UAA27081@netcom16.netcom.com> from "Frank O'Donnell" at Feb 7, 95 08:13:43 pm X-Mailer: ELM [version 2.4dev PL52] Sender: questions-owner@FreeBSD.org Precedence: bulk > After finding the /usr/src/sys/i386/boot/biosboot/boot.c file and > changing the "part = unit = 0;" line to a "part = 0;" line and a > "unit = 1;" line (I just wanted to point it to this drive rather > than determining whether the BIOS returned reliable info or not), > the next steps I took were educated guesses rather than based on > solid information. Seeing a Makefile in this same directory, I > executed "make", which resulted in a lot of extra files including > a boot1 and a boot2. I then tried variations on a > "disklabel -B wd0d" to install either or both of these files, > which resulted in various errors. > > Was my procedure to compile the boot manager correct? And what > exactly do I need to execute to install it on wd0? (And, do I > need to install both boot1 and boot2, or just one of them?) Make install. The disklabel program reads boot blocks out of the install target directory. There are also targets in the makefile for making a boot floppy and (I think) installing on the hard drive). Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers.