From owner-freebsd-current Sun Jan 3 06:09:33 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA28676 for freebsd-current-outgoing; Sun, 3 Jan 1999 06:09:33 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ceia.nordier.com (m1-41-dbn.dial-up.net [196.34.155.41]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA28671 for ; Sun, 3 Jan 1999 06:09:28 -0800 (PST) (envelope-from rnordier@nordier.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.7/8.6.12) id QAA03360; Sun, 3 Jan 1999 16:07:32 +0200 (SAT) From: Robert Nordier Message-Id: <199901031407.QAA03360@ceia.nordier.com> Subject: Re: make aout-to-elf failures (from 2.2.7-RELEASE to -current ELF) In-Reply-To: <199901030408.UAA44371@ix.netcom.com> from Thomas Dean at "Jan 2, 99 08:08:35 pm" To: tomdean@ix.netcom.com (Thomas Dean) Date: Sun, 3 Jan 1999 16:07:29 +0200 (SAT) Cc: freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thomas Dean wrote: > I am in the midst of updating the bootblocks. I have two SCSI disks, > da0 is WINNT and da1 is -current. I am currently using OS-BS. I am > reading in the archives, attempting to upgrade. So far, I have > backed-up and made new boot and fixit floppies. > > I found in the archives: > > cp /usr/mdec/boot? /boot > echo '/boot/loader' > /boot.config > disklabel -B bootdevices > > Also a reference to make in /sys/boot. > > Will 'make && make install' in /sys/boot do all that is needed? > > After I figure out the bootblocks, I will try aout-to-elf-build, then > aout-to-elf-install, followed with building an elf kernel. > > Any pointers to doc's on upgrade the bootblocks? All that's really needed is: # Ensure that /boot exists mkdir -p /boot # Install latest bootblocks in /boot cd /sys/boot make all install # Upgrade bootblocks for each target slice disklabel -B -b /boot/boot1 -s /boot/boot2 $SLICE NOTES: o You probably want to delete /boot.config after upgrading, though having one or more of the serial options -h -D -P in /boot.config may still be useful. o For recent versions of disklabel(8), the -b and -s options can be omitted (RTFM/UTSL to check defaults). o If you have only one FreeBSD slice per drive, you can specify the drive (eg. da1) rather than the slice (eg. da1s1) in the disklabel command. -- Robert Nordier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message