Date: Tue, 3 Apr 2007 14:57:47 -0400 From: Schiz0 <schiz0phrenic21@gmail.com> To: "Dominique Goncalves" <dominique.goncalves@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Rebuilding World Failed Message-ID: <8d23ec860704031157p577ef2ddub370645af5e74e9b@mail.gmail.com> In-Reply-To: <7daacbbe0704030119v103bfdc9w9fadbfc6d7b65805@mail.gmail.com> References: <8d23ec860704022119x14e7ba0fs50328c5212c09ced@mail.gmail.com> <7daacbbe0704030119v103bfdc9w9fadbfc6d7b65805@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <dominique.goncalves@gmail.com> wrote: > > Hi, > > On 4/3/07, Schiz0 <schiz0phrenic21@gmail.com> 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=<my kern config> > > -make installkernel KERNCONF=<my kern config> > > -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." >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8d23ec860704031157p577ef2ddub370645af5e74e9b>