From owner-freebsd-questions@FreeBSD.ORG Mon May 31 12:17:17 2004 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 D467716A4CF for ; Mon, 31 May 2004 12:17:17 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 618EE43D2D for ; Mon, 31 May 2004 12:17:16 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i4VJGwAZ062957 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 31 May 2004 20:16:58 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i4VJGwpN062955; Mon, 31 May 2004 20:16:58 +0100 (BST) (envelope-from matthew) Date: Mon, 31 May 2004 20:16:58 +0100 From: Matthew Seaman To: Mark Jayson Alvarez Message-ID: <20040531191658.GA41197@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Mark Jayson Alvarez , freebsd-questions@freebsd.org References: <20040531181128.94207.qmail@web51605.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline In-Reply-To: <20040531181128.94207.qmail@web51605.mail.yahoo.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: clamd / ClamAV version devel-20040525, clamav-milter version 0.71 X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: HELP: I ran /stand/sysinstall...upgrade(100 % completed) But nothing happened.. 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: Mon, 31 May 2004 19:17:18 -0000 --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 31, 2004 at 11:11:28AM -0700, Mark Jayson Alvarez wrote: > I'm currently using freebsd 4.9 and I've wanted to > upgrade to freebsd 4.10. What I did was I've followed > the instructions on the site which says that the most > convinient way is to use the /stand/sysinstall utility > and choose the Upgrade from the list... when I'm on > it... I've chosen to download from the ftp.freebsd.org > then I selected minimal upgrade since I've already an > upgraded version of XFree86.... And I also unchecked > the crypto option... to make sure that i'm installing > the least possible packages size..=20 Hmmm... You need to read those instructions carefully. The /stand/sysinstall upgrade route sounds very appealing to the uninitiated, but actually you tend to get better results by using cvsup(1) to pull down the appropriate set of source code, and doing the whole 'make world' cycle yourself. There's several more stages to that procedure, but it's mostly along the lines of "type this command, and then go away and have a hot beverage of your choice while the machine does a load of stuff". Full instructions are at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html The really, really good thing about the 'make world' procedure is that if it goes wrong in most of the stages then there's no lasting harm done: even if you've got as far as the stage of installing a new kernel which you find doesn't work, you can still back it out without too much trouble and try again. =20 > Question: Have I done the right thing when upgrading > from 4.9 to 4.10. or I've just downloaded 40 mb worth > of unworthy files??=20 Nope. The /stand/sysinstall procedure certainly should work. The files you've downloaded are the same as went onto the 4.10-RELEASE CDs. =20 > Cause I cannot see my system booting in Freebsd > version 4.10... still says freebsd 4.9...=20 > It also add something like.. cant load kernel.. > booting old... It looks to me as if you have a (mostly) 4.10 userland installed, but the 4.10 kernel you're trying to boot from has been trashed. (So the system boots up using /kernel.old, which is the 4.9 kernel you were using before). There's plenty of ways you could have ended up with a corrupted kernel image -- did you perhaps run out of space in your root partition? Whatever, you've got a 80% updated system. and your next course of action has to be to try and get an uncorrupted copy of the 4.10 kernel installed as /kernel. You can copy the kernel image from any of the installation CD images, or you can build your own from the system sources: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-= building.html although you will need to be familiar with the chflags(1) command and you should boot into single user mode first if you usually run using a raised securelevel. More info here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-= trouble.html#KERNELCONFIG-NOBOOT Having a mis-match between the kernel and the userland versions is not a good thing, but it usually isn't disastrous if the versions aren't too far apart. Various programs that access kernel data -- like ps(1) and top(1) -- probably won't work but you should be able to live without them long enough to get everything back in synch again. =20 > If I'm on the right track,, Is there any command that > I can type to be able to test it? Hmmm... it's a bit more involved than a single command to sort this type of problem out. But it is eminently fixable and it shouldn't require you to have to do anything regrettable, like a complete re-install from scratch. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAu4SqiD657aJF7eIRAiXoAKCn0uHXxFlzpGavxKBTT5ZSpczeagCfef+s J02awyGH2sV70ivmfVkCWdo= =JdIg -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF--