Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2003 15:34:13 -0500
From:      Chris BeHanna <chris@pennasoft.com>
To:        stable@freebsd.org
Subject:   Re: when make installkernel doesn't
Message-ID:  <200301291534.13728.chris@pennasoft.com>
In-Reply-To: <Pine.BSI.4.33.0301291031480.26199-100000@pcjfn.msc.com>
References:  <Pine.BSI.4.33.0301291031480.26199-100000@pcjfn.msc.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 29 January 2003 11:44, J.F. Noonan wrote:
> > On Wednesday 29 January 2003 10:15, J.F. Noonan wrote:
>
> Hi Chris, thanks for the reply,
>
> >     This is one thing:
> > > This morning, I dropped to single-user and did a make installworld
> > > followed by a make installkernel KERNCONF=3DMYKERNELNAME.  I did a
> >
> >     You do a make installkernel *first*, *then* reboot and make sure
> > it at least comes back to single user.
>
> Yes, you are of course right about that, I think I made this
> mistake once before a long time ago and caused a great mess.  BUT,
> even though I've done this stupid thing, why does "make
> installworld" apparently run to completion (w/o a single peep or
> complaint), but not actually DO anything?  The binaries associated
> with the "make kernel" are all newer than the stuff from "make
> world", so this should look like I'm starting out on a new kernel
> build, no?

    make installworld doesn't touch the kernel bits

    Why "make installkernel" failed is beyond me.

    What I would do is try blowing away /usr/obj and start again.

    make buildworld
    make buildkernel KERNCONF=3DMYKERNEL  # replace with your actual conf
    make installkernel KERNCONF=3DMYKERNEL
    shutdown -r now
    # interrupt reboot sequence and boot -s, unless your source and
    # obj trees are accessed via NFS, in which case, come back
    # multiuser, mount 'em, and drop back to single user.
    make installworld
    mergemaster

--=20
Chris BeHanna                      http://www.pennasoft.com=20
Principal Consultant               =20
PennaSoft Corporation              =20
chris@pennasoft.com                =20


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301291534.13728.chris>