Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Oct 2003 16:11:46 -0400 (EDT)
From:      Robert Watson <rwatson@freebsd.org>
To:        Jason Dictos <jason.dictos@tapeware.com>
Cc:        "'freebsd-current@freebsd.org'" <freebsd-current@freebsd.org>
Subject:   Re: Help saving my system
Message-ID:  <Pine.NEB.3.96L.1031018160834.87722F-100000@fledge.watson.org>
In-Reply-To: <E50A109EE98AA049BAA09D725DB0714F01118A45@yt-internet.tapeware.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1031018160834.87722F-100000>