Re: Help saving my system

From: Robert Watson <rwatson_at_freebsd.org>
Date: Sat, 18 Oct 2003 16:11:46 -0400 (EDT)
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_at_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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
Received on Sat Oct 18 2003 - 11:12:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:25 UTC