From owner-freebsd-questions@FreeBSD.ORG Tue Apr 3 19:18:09 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 CB0CD16A402 for ; Tue, 3 Apr 2007 19:18:09 +0000 (UTC) (envelope-from schiz0phrenic21@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id 1816713C48A for ; Tue, 3 Apr 2007 19:18:07 +0000 (UTC) (envelope-from schiz0phrenic21@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so413451ugh for ; Tue, 03 Apr 2007 12:18:05 -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=Vpq4NpZhLNs3eYhHpaRSOLaLfUtK8NGqNlZg+Zrg3EPoijH7MP6ocQ2wEcfbxJlYFMHwpurcyd3GYnopkpeqOn+AAyxXKnT4xtistlE2Xpn26gZ7hB21kGFY/ylnBpc6QAHp5qXa7woAMrMoMSkMB+0KUeICA+YCxbWtWhjyqP0= 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=GurNhIqv6oDakQ6USF0uOcmSEArtzMe8SufTJDjJrAxG7x+ssyHZEko4toeLNyixfo87p47OAaDQsYjTioN7RUleYct2tUHkKaWR4PrV2QvbIF77X1xCL7gdvVs9r0rPNU3sfi6BTPpCZx2rQPzM453G194taEoR5DLsAZoUWqs= Received: by 10.115.55.1 with SMTP id h1mr2365745wak.1175627884141; Tue, 03 Apr 2007 12:18:04 -0700 (PDT) Received: by 10.114.52.13 with HTTP; Tue, 3 Apr 2007 12:18:04 -0700 (PDT) Message-ID: <8d23ec860704031218i5ab539bdy3cb2afe5665c2410@mail.gmail.com> Date: Tue, 3 Apr 2007 15:18:04 -0400 From: Schiz0 To: "Dominique Goncalves" In-Reply-To: <7daacbbe0704031211u43362edds686aedd164f8e739@mail.gmail.com> MIME-Version: 1.0 References: <8d23ec860704022119x14e7ba0fs50328c5212c09ced@mail.gmail.com> <7daacbbe0704030119v103bfdc9w9fadbfc6d7b65805@mail.gmail.com> <8d23ec860704031157p577ef2ddub370645af5e74e9b@mail.gmail.com> <7daacbbe0704031211u43362edds686aedd164f8e739@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 19:18:09 -0000 I'm using 6.2-STABLE. Nothing is set read-only. [steve@Schiz0Net ~]$ mount /dev/ad0s1a on / (ufs, local, noatime) devfs on /dev (devfs, local) /dev/ad0s1e on /tmp (ufs, local, noatime, noexec, nosuid, soft-updates) /dev/ad0s1f on /usr (ufs, local, noatime, soft-updates) /dev/ad0s1d on /var (ufs, local, noatime, soft-updates) On 4/3/07, Dominique Goncalves wrote: > > On 4/3/07, Schiz0 wrote: > > 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. > > In doubt check with the 'mount' command to see if your filesystems are > read-only. > Usually, I don't boot in single user mode to make instalworld but it > depends on what your box do, mine is just a desktop :-) > > By the way, what release are you tracking ? I never had such problem > with RELEASE or -STABLE branch. > > > > > 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." > > > > > > > > > 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." >