Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 2000 11:01:09 +0000
From:      Nik Clayton <nik@freebsd.org>
To:        Nik Clayton <nik@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: Alternative way to do -stable to -current upgrade
Message-ID:  <20000307110109.A52023@catkin.nothing-going-on.org>
In-Reply-To: <20000305202435.A39101@catkin.nothing-going-on.org>; from Nik Clayton on Sun, Mar 05, 2000 at 08:24:35PM %2B0000
References:  <20000305202435.A39101@catkin.nothing-going-on.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting the whole thing deliberately:

On Sun, Mar 05, 2000 at 08:24:35PM +0000, Nik Clayton wrote:
> I had an abortive -stable to -current upgrade late last week, despite
> following the directions in UPGRADING, the two kernels I built (one
> custom, one GENERIC) both froze on me during the reboot process.
> 
> I'm a little wary of doing it again like that, because it does take
> some time to fix.
> 
> So I had an alternative idea.  How about doing the following:
> 
>   1.  Download -current boot.flp, mfsroot.flp, fixit.flp, and write to
>       floppies
> 
>   2.  cd /usr/src && make buildworld
> 
>   3.  Reboot from boot/mfsroot.flp
> 
>   4.  When prompted, use the fixit floppy to get a shell
> 
>   5.  Mount all the fixed disk partitions, and then (assuming they're all
>       mounted under /mnt/root)
> 
>          cd /mnt/root/usr/src && make DESTDIR=/mnt/root
> 
>   6.  Mergemaster
> 
>   7.  Build and install a new kernel
> 
> This has the added advantage that if there's something in your system
> that was OK in -stable, but doesn't work in -current, you're going to 
> find out about it before you've done an installworld, and before you've
> overwritten a working -stable /kernel, because boot.flp will fail to 
> work.
> 
> The only problem is that mergemaster assumes it's merging in to /etc,
> when that wouldn't be the case here -- mergemaster would need another
> config option ($DEST_ETC ?) to specify where to install to.
> 
> Can anyone see anything there that's likely not to work?

To which the response has been nil.  At this point, you're either all
struck dumb by the staggering simplicity and elegance of this approach,
or you're sat there slowly shaking your head, wondering how I could be
quite so stupid :-)

Come on then, which is it?

N
-- 
Internet connection, $19.95 a month.  Computer, $799.95.  Modem, $149.95.
Telephone line, $24.95 a month.  Software, free.  USENET transmission,
hundreds if not thousands of dollars.  Thinking before posting, priceless.
Somethings in life you can't buy.  For everything else, there's MasterCard.
  -- Graham Reed, in the Scary Devil Monastery


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?20000307110109.A52023>