Rebuilding World Failed

Schiz0 schiz0phrenic21 at gmail.com
Tue Apr 3 19:31:50 UTC 2007


My box is going to be used as a server. But I'm just setting it up now, so
there aren't any other users nor major daemon's running on the system.

So I don't have to be a single user mode to do all this? Rebuild the kernel
and world, that is?

On 4/3/07, Dominique Goncalves <dominique.goncalves at gmail.com> wrote:
>
> On 4/3/07, Schiz0 <schiz0phrenic21 at gmail.com> 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 <dominique.goncalves at gmail.com> wrote:
> > > Hi,
> > >
> > > On 4/3/07, Schiz0 <schiz0phrenic21 at 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 at freebsd.org mailing list
> > > >
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe at 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."
>


More information about the freebsd-questions mailing list