Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Nov 1998 21:16:52 -0500 (EST)
From:      Chuck Robey <chuckr@mat.net>
To:        Graham Menhennitt <gfm@mira.net>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Doco on installing new boot blocks (was: Is it soup yet?)
Message-ID:  <Pine.BSF.4.05.9811112106520.10145-100000@picnic.mat.net>
In-Reply-To: <364b0d4f.176091736@mira.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 12 Nov 1998, Graham Menhennitt wrote:

> On Wed, 11 Nov 1998 00:18:39 -0800, "Jordan K. Hubbard"
> <jkh@zippy.cdrom.com> wrote:
> 
> >> the ability to run on old bootblocks is how shall I say...
> >> "required".
> >
> >Well, you have and have always had just two options the minute we pull
> >the elf kernel switch: You switch customers to the 3-stage boot by
> >dropping a /boot.conf file into place which calls /boot/loader (which
> >you also install along with the 3.0 upgrade) or you relabel them so
> >they look just like freshly installed 3.0.x systems; it's your choice
> >whether you want to go for minimal impact or minimal difference.
> 
> As somebody who has just upgraded from 2.2-STABLE to 3.0-RELEASE but is
> still using the old boot blocks (actually, probably those from 2.1.5), I
> would like to know what's involved in upgrading them. Can someone please
> point me to some doco.

Having recently done just that, the disklabel man page is what I used,
and it's remarkably clear on this:

     disklabel -B [-b boot1 [-s boot2]] disk [disktype]

I didn't need [disktype], and boot1/boot2 are in /boot, disk is your
boot disk (mine was rda0s1a).  It just worked fine, no problem, then I
was booting my elf kernel.

There are other new issues (like new flags to strip, for those that
install /var/crash/kernel.debug's) and setting up a /boot/boot.conf.  A
buildworld now installs your new modules for you, and new bootblocks
also, making at least that part simpler.  Those with smallish /
filesystems may want to watch this part carefully ... but lkms won't be
needed anymore, so things aren't growing out of bounds.


----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@glue.umd.edu         | communications topic, C programming, and Unix.
213 Lakeside Drive Apt T-1  |
Greenbelt, MD 20770         | I run Journey2 and picnic (FreeBSD-current)
(301) 220-2114              | and jaunt (NetBSD).
----------------------------+-----------------------------------------------





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9811112106520.10145-100000>