From owner-freebsd-current Thu Jan 4 07:31:51 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA10647 for current-outgoing; Thu, 4 Jan 1996 07:31:51 -0800 (PST) Received: from grumble.grondar.za (root@grumble.grondar.za [196.7.18.130]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id HAA10638 for ; Thu, 4 Jan 1996 07:31:44 -0800 (PST) Received: from localhost (mark@localhost [127.0.0.1]) by grumble.grondar.za (8.7.3/8.7.3) with SMTP id RAA02803; Thu, 4 Jan 1996 17:30:04 +0200 (SAT) Message-Id: <199601041530.RAA02803@grumble.grondar.za> X-Authentication-Warning: grumble.grondar.za: Host mark@localhost [127.0.0.1] didn't use HELO protocol To: Peter Wemm cc: current@freebsd.org Subject: Re: Odd question.. ;-) Date: Thu, 04 Jan 1996 17:30:03 +0200 From: Mark Murray Sender: owner-current@freebsd.org Precedence: bulk Peter Wemm wrote: > I have a strange question.. (even stranger since it's from somebody who > should know.. :-) > > How do I update the boot code to -current? :-) > > Last time I messed with disklabel and /usr/mdec, I ended up trashing my > system beyond repair.. I've not looked again in something like 12 months. > > Basically, I want to install a new /usr/mdec/boot2, because this system > has a version 2.0.5 boot2 that has the missing LF during boot.. :-) > (real crisis, eh? :-) > > So, what do I do? disklabel -B sd0 ? I think last time I did that, I > lost the fdisk tables... but I dont really remember... I do it by disklabel -B -b boot1 -s boot2 sd0 in the /usr/mdec directory. I have not newfs'ed my disk sice 2.0-R, so I suspect you may have to replace the sd0 with sd0s1 or whatever your boot partition is. M -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200 Finger mark@grondar.za for PGP key