From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 00:42:10 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AFDC37B401 for ; Fri, 13 Jun 2003 00:42:10 -0700 (PDT) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31D4643F93 for ; Fri, 13 Jun 2003 00:42:08 -0700 (PDT) (envelope-from ruben@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.9/8.12.9) with ESMTP id h5D7gkMA005108; Fri, 13 Jun 2003 09:42:46 +0200 (CEST) (envelope-from ruben@ei.bzerk.org) Received: (from ruben@localhost) by ei.bzerk.org (8.12.9/8.12.9/Submit) id h5D7gkWb005107; Fri, 13 Jun 2003 09:42:46 +0200 (CEST) Date: Fri, 13 Jun 2003 09:42:46 +0200 From: Ruben de Groot To: Joshua Oreman Message-ID: <20030613074246.GA4934@ei.bzerk.org> References: <20030612183418.GB7415@webserver.get-linux.org> <000e01c33149$78996bc0$e1210343@compaq7058> <20030613013216.GA24266@webserver.get-linux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030613013216.GA24266@webserver.get-linux.org> User-Agent: Mutt/1.4.1i cc: cp cc: questions@freebsd.org Subject: Re: Upgrading 5.0 -> 5.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 07:42:10 -0000 On Thu, Jun 12, 2003 at 06:32:16PM -0700, Joshua Oreman typed: > On Thu, Jun 12, 2003 at 06:16:50PM -0700 or thereabouts, cp seemed to write: > > > You should *really* use 'make buildkernel' in the toplevel if you're > > > combining it with a world update. Recommended procedure: > > > ~# cvsup /my/5.1.supfile > > > ~# cd /usr/src > > > /usr/src# make buildworld > > > /usr/src# make buildkernel KERNCONF= > > > /usr/src# make installkernel KERNCONF= > > > /usr/src# reboot > > > OK boot -s > > > # fsck -p && mount -a > > > # ( cd /usr/src && make installworld ) > > > # reboot > > > OK boot > > > > > > Also read chapter 21 of the Handbook. > > > > I have a related question on this if you would permit. > > I just did the same thing (5.0->5.1), I started to follow > > the handbook but became concerned in reading posts > > on the subject that suggested to installworld prior to > > building the kernel and booting. I also do not have > > access to the console in any convenient manner so I > > knew that it would never come back from > > the boot (it would be a week before I could then > > get it up). So I did this: > > > > cvsup (src=all) RELENG_5_1 > > buildworld > > installworld > > make buildkernel KERNCONF=MINE > > > > At this point, it won't complete the kernel build and is > > showing signs of being unusable (e.g. "ipfw show" just > > dumps core). Is it too late to correct this or is a > > reinstall and reconfigure next week the only option left? > > I ran into the same thing once. Alas, there is no "uninstallworld" > target :-) > > You *may* be able to get the system usable again, by doing a > "upgrade" (from sysinstall) back to your old version. If that > works, then build the kernel, install it, reboot, then installworld > and all should be A-OK. But that's only if you're lucky. You *might* also get away with the following procedure: - move /boot/kernel to /boot/kernel.old - tar up the /boot/kernel directory from another machine running 5.1-RELEASE (preferably a GENERIC kernel) and untar on your problem machine - reboot Ruben > -- Josh > > > > > Thanks, > > a different Chris than started this thread > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- "Irrationality is the square root of all evil" -- Douglas Hofstadter