Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jan 1996 17:30:03 +0200
From:      Mark Murray <mark@grondar.za>
To:        Peter Wemm <peter@jhome.DIALix.COM>
Cc:        current@freebsd.org
Subject:   Re: Odd question.. ;-) 
Message-ID:  <199601041530.RAA02803@grumble.grondar.za>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601041530.RAA02803>