From owner-freebsd-questions@FreeBSD.ORG Tue Apr 3 18:57:49 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C288F16A403 for ; Tue, 3 Apr 2007 18:57:49 +0000 (UTC) (envelope-from schiz0phrenic21@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.247]) by mx1.freebsd.org (Postfix) with ESMTP id 74C4B13C4B0 for ; Tue, 3 Apr 2007 18:57:49 +0000 (UTC) (envelope-from schiz0phrenic21@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1803225ana for ; Tue, 03 Apr 2007 11:57:48 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=b0Ps+6JRnYmr4GJgz3jNEOuhhOb89UbN2r48CTjapw4vdHiPDCCl3MkWGoQC888AGNnFLL6akvKlopBccsgMx94SUm5USaS3KxRFtnJt4H45d99WYxzLcwLpq7ZHoMJxBoorFUzefLvWQXQs0mmOSaA8cP7lAs4oMIN2ZZOKxLY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=f4MOOt1XHNE8DBVJJlmAgcpIw76HTNt2kAGm+kCH+RkU4eR0Af0sccPNlRGBtt8ujCogJd7z+J1Dkxh0W3dU/21oIvwTRYhblohU7sduow0WC2Shm09HaVJFp48Q1zrndxNLBbwYX/K2paZMTd0KVVHti5ThWia73A2WdyMgKLE= Received: by 10.115.92.2 with SMTP id u2mr2362248wal.1175626667887; Tue, 03 Apr 2007 11:57:47 -0700 (PDT) Received: by 10.114.52.13 with HTTP; Tue, 3 Apr 2007 11:57:47 -0700 (PDT) Message-ID: <8d23ec860704031157p577ef2ddub370645af5e74e9b@mail.gmail.com> Date: Tue, 3 Apr 2007 14:57:47 -0400 From: Schiz0 To: "Dominique Goncalves" In-Reply-To: <7daacbbe0704030119v103bfdc9w9fadbfc6d7b65805@mail.gmail.com> MIME-Version: 1.0 References: <8d23ec860704022119x14e7ba0fs50328c5212c09ced@mail.gmail.com> <7daacbbe0704030119v103bfdc9w9fadbfc6d7b65805@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Rebuilding World Failed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2007 18:57:49 -0000 Hey, I normally boot into multi-user mode, then drop down to single user mode via "shutdown now." When I run fsck and mount, those commands aren't found. I checked the path and it contains /usr/bin:/usr/sbin:/bin:/sbin. So when I boot into multiuser mode, then drop down to single user, the filesystems are still mounted, aren't they? I recompiled world, but I messed up my system and had to reinstall FreeBSD alltogether. When I did it the first time, I did it the same way and it worked fine. On 4/3/07, Dominique Goncalves wrote: > > Hi, > > On 4/3/07, Schiz0 wrote: > > Hello, > > > > I'm running FreeBSD 6.2-Stable. I'm getting errors when I try to rebuild > > world. I have followed the steps in the handbook at: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html > > > > I used csup to get the latest updates of both "ports-all tag=." and > "src-all > > tag=RELENG_6" > > > > What I did: > > -updated via csup > > -droped to single user mode > > -cleared out /usr/obj > > -make -j4 buildworld > > -make buildkernel KERNCONF= > > -make installkernel KERNCONF= > > -rebooted into the new kernel; everything worked fine > > -dropped to single user mode > > -make installworld > > > > During the installworld process I got the following output (Caught with > > "script installworld.out"): > > > > ******************************************************** > > Script started on Mon Apr 2 23:42:05 2007 > > # pwd > > /usr/src > > # make installworld > > mkdir -p /tmp/install.hC53vnAg > > for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find > > grep install-info ln lockf make mkdir mtree mv pwd_mkdb rm sed sh > sysctl > > test true uname wc zic; do cp `which $prog` > /tmp/install.hC53vnAg; done > > cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 > > CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin > > GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font > > GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac > > > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.hC53vnAg > > /usr/obj/usr/src/make.i386/make -f Makefile.inc1 reinstall > > awk: Permission denied > > "/usr/src/Makefile.inc1", line 101: warning: "awk > > '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }' > > /usr/include/osreldate.h" returned non-zero status > > echo:Permission denied > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > # exit > > > > Script done on Mon Apr 2 23:42:14 2007 > > > > ******************************************************** > > Do you have your root partitions (/, /usr ...) in r/w mode ? > There is a paragraph in the handbook > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#MAKEWORLD-SINGLEUSER > > Hope this helps. > _______________________________________________ > > 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" > > > > Regards. > > -- > There's this old saying: "Give a man a fish, feed him for a day. Teach > a man to fish, feed him for life." >