Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Dec 2006 17:01:17 -0900
From:      Beech Rintoul <freebsd@alaskaparadise.com>
To:        Dino Vliet <dino_vliet@yahoo.com>, freebsd-questions@freebsd.org
Subject:   Re: error when doing make installworld
Message-ID:  <200612241701.34976.freebsd@alaskaparadise.com>
In-Reply-To: <203370.5835.qm@web51114.mail.yahoo.com>
References:  <203370.5835.qm@web51114.mail.yahoo.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
--nextPart1350801.1HBuozH6bD
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Sunday 24 December 2006 16:42, Dino Vliet wrote:
> --- Beech Rintoul <freebsd@alaskaparadise.com> wrote:
> > On Sunday 24 December 2006 09:00, Dino Vliet wrote:
> > > Hi Beech,
> > >
> > > many thanks for your clear help. I will try that
> >
> > in a
> >
> > > few moments....
> > >
> > > However, I wanted to ask you something else
> >
> > becuase of
> >
> > > your quote:
> > >
> > > "Doing a make installworld before finding out if
> >
> > the
> >
> > > new kernel will boot will bite you big time at
> >
> > some
> >
> > > point"
> > >
> > > Unquote
> > >
> > > How am I able to find out if the new kernel will
> >
> > boot
> >
> > > then? Because I have done this a few times
> > > already....but I don't like to be biten:-)
> > > A nice Christmas eve too:-)
> > >
> > > Dino
> > >
> > > --- Beech Rintoul <freebsd@alaskaparadise.com>
> >
> > wrote:
> > > > On Sunday 24 December:46, Dino Vliet wrote:
> > > > > Hi peeps,
> > > > >
> > > > > I have tried to update my src with cvsup and
> >
> > got
> >
> > > > stuck
> > > >
> > > > > because of an error while doing make
> >
> > installworld.
> >
> > > > > My system is an amd64 machine running freebsd
> >
> > 6.1
> >
> > > > and
> > > >
> > > > > I have performed the steps without problems:
> > > > > -make buildworld
> > > > > -make buildkernel kernconf=3Dmykkernel
> > > > > -make installkernel kernconf=3Dmykernel
> > > > >
> > > > > Normally I would then immediately follow this
> > > >
> > > > sequence
> > > >
> > > > > with a mergemaster -p, make installworld and
> > > > > mergemaster -i and then reboot.
> > > > >
> > > > > However, this time I decided to check the
> >
> > handbook
> >
> > > > and
> > > >
> > > > > saw that it recommended to do a boot into
> >
> > single
> >
> > > > user
> > > >
> > > > > mode between the step -make installkernel
> > > > > kernconf=3Dmykernel AND the step mergemaster -p.
> > > > >
> > > > > So I did it and when I rebooted and saw the
> > > >
> > > > beastie
> > > >
> > > > > splash screen, I hit option 4. Then I had to
> >
> > press
> >
> > > > > enter to get to the shell. When I did I
> >
> > noticed I
> >
> > > > > couldn't cd into the /usr/src directory
> >
> > because
> >
> > > > the
> > > >
> > > > > /usr/src directory was missing!
> > > >
> > > > The filesystem is not mounted in single  user
> >
> > mode.
> >
> > > > You need to do
> > > > a "mount -a" which will read /etc/fstab and
> >
> > mount
> >
> > > > the slices. After that you
> > > > can cd normally. Also, you should not do a make
> > > > installworld in multi-user.
> > > > You should do that step in single user before
> >
> > you
> >
> > > > run mergemaster. Doing a
> > > > make installworld before finding out if the new
> > > > kernel will boot will bite
> > > > you big time at some point. Believe me I've been
> > > > there.
> > > >
> > > > Beech
> > > >
> > > > > So I rebooted again into multi-user mode and
> >
> > here
> >
> > > > I
> > > >
> > > > > tried the mergemaster -p but it failed with:
> > > > >
> > > > > =3D=3D=3D> lib/libcom_err/doc (install)
> > > > > lockf -k /usr/share/info/dir  install-info
> >
> > --quiet
> >
> > > > > --defsection=3D"Programming & development
> >
> > tools."
> >
> > > > > --defentry=3D"* libcom_err: (com_err).        A
> > > >
> > > > Common
> > > >
> > > > > Error Description Library for UNIX."
> >
> > com_err.info
> >
> > > > > /usr/share/info/dir
> > > > > install -o root -g wheel -m 444
> >
> > com_err.info.gz
> >
> > > > > /usr/share/info
> > > > > =3D=3D=3D> lib/libcrypt (install)
> > > > > install -C -o root -g wheel -m 444
> >
> > libcrypt.a
> >
> > > > > /usr/lib
> > > > > install -C -o root -g wheel -m 444
> >
> > libcrypt_p.a
> >
> > > > > /usr/lib
> > > > > install -s -o root -g wheel -m 444   -fschg -S
> > > > > libcrypt.so.3 /lib
> > > > > install: rename: /lib/INS@9du9 to
> > > >
> > > > /lib/libcrypt.so.3:
> > > > > Operation not permitted
> > > > > *** Error code 71
> > > > >
> > > > > Stop in /usr/src/lib/libcrypt.
> > > > > *** Error code 1
> > > > >
> > > > > Stop in /usr/src/lib.
> > > > > *** Error code 1
> > > > >
> > > > > Stop in /usr/src.
> > > > > *** Error code 1
> > > > >
> > > > > Stop in /usr/src.
> > > > > *** Error code 1
> > > > >
> > > > > Stop in /usr/src.
> > > > > *** Error code 1
> > > > >
> > > > > Stop in /usr/src.
> > > > > [root@zouk /usr/src]#
> > > > >
> > > > >
> > > > > So, what to do now???
> > > > >
> > > > > O yeah, I've been running my system from
> > > > > securelevel=3D3, so maybe that has something to
> >
> > do
> >
> > > > with
> > > >
> > > > > this also.
> > > > >
> > > > > Any help will be appreciated...
> > > > >
> > > > > (Yes, it's Christmas eve, I know, but hey that
> > > >
> > > > gives
> > > >
> > > > > me a lot of time to check things out).
> > > > >
> > > > > Thanks
> > > > >
> > > > > ps is this bad? Should I start evacuate all my
> > > > > important files while I'm still able to?
> >
> > The proper way is:
> >
> > make buildworld
> > make kernel (KERNCONF=3DYOURKERNEL) if custom
> > reboot to single user
> > If the new kernel doesn't boot reboot and hit the
> > space bar at the boot prompt
> > boot kernel.old
> > If the new kernel boots OK
> > mount -a
> > cd /usr/src
> > make installworld
> > mergemaster
> > exit
> >
> > The main thing is you don't want to install the new
> > userland before finding
> > out if the new kernel boots. If you install the
> > userland it's very possible
>
> =3D=3D=3D message truncated =3D=3D=3D
>
> Thanks Beech,
>
> you helped me out very well and I have learned a lot
> too. I will go on and update my notes because I had it
> all wrong.

You're welcome. Please note that issues such as this are discussed in detai=
l=20
in the handbook.

"/usr/share/doc/en_US.ISO8859-1/books/handbook" on your machine or=20
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html online.

Also doing a google search will more often than not provide an answer to yo=
ur=20
question.

Merry Christmas,

Beech

=2D-=20
=2D------------------------------------------------------------------------=
=2D-------------
Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com
/"\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
=2D------------------------------------------------------------------------=
=2D-------------












--nextPart1350801.1HBuozH6bD
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQBFjzD+R5sEeCt9j00RAlDpAJ9Y1bA/7opjgIXy/O0ymHl4MSU/mQCfSGbw
VS1YoYTMMScchWbvGFNABgY=
=/LDz
-----END PGP SIGNATURE-----

--nextPart1350801.1HBuozH6bD--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?200612241701.34976.freebsd>