From owner-freebsd-current@FreeBSD.ORG Sat Oct 18 13:12:32 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24DEE16A4B3 for ; Sat, 18 Oct 2003 13:12:32 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED82F43FAF for ; Sat, 18 Oct 2003 13:12:28 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9p2/8.12.9) with ESMTP id h9IKBkMg090483; Sat, 18 Oct 2003 16:11:46 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)h9IKBkM5090480; Sat, 18 Oct 2003 16:11:46 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Sat, 18 Oct 2003 16:11:46 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Jason Dictos In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: "'freebsd-current@freebsd.org'" Subject: Re: Help saving my system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2003 20:12:32 -0000 On Fri, 17 Oct 2003, Jason Dictos wrote: > 1. Had FreeBSD 5.1 system running. > 2. Did a cvsup get of stable (that's right, stable, so 4.9) > 3. Compiled make buildworld, then did a make build world, and re-compiled > with generic kernel > 4. Booted into a system which could not mount the file system (expected > since its 4.9) > > So now I am trying to save the system and here's where I've gotten to: > > 1. Booted disc 2 of 5.1 cd into "fixme" mode. > 2. Mounted live cdrom filesystem and then mounted my root drive to /mnt > 3. Did a chroot to /mnt so that I would emulate my live system environment > 4. Re-did a cvsup of the branch current. > 5. Ran make buildworld from /usr/src At this point, I'd probably do a "binary upgrade" install of 5.1 to make sure you have known-good binaries. I'd then boot to single-user mode and run find on /bin, /sbin, /lib, /usr/lib, /usr/sbin, et al, and make sure that there are no 4.x binaries left. If possible :-). Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories > > Here is what happens when I do that: > > "/dev/null", line 1: Need an operator > "/dev/null", line 1: Need an operator > "/dev/null", line 1: Need an operator > "/dev/null", line 1: Need an operator > "/dev/null", line 1: Need an operator > "/dev/null", line 1: Need an operator > "/dev/null", line 1: Need an operator > make: fatal errors encountered -- cannot continue > "/usr/src/Makefile.inc1", line 156: warning: > "/usr/obj/usr/src/make.i386/make -f /dev/null -m /usr/src/share/mk > CPUTYPE=dummy -V CPUTYPE" returned non-zero status > "/usr/src/Makefile.inc1", line 158: CPUTYPE global should be set with ?=. > *** Error code 1 > > Help! > > -Jason > > > > ________________________________________________________________________ > This email has been scanned for all viruses by the MessageLabs Email > Security System. For more information on a proactive email security > service working around the clock, around the globe, visit > http://www.messagelabs.com > ________________________________________________________________________ > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >