Re: "make installworld" commands used to generate manifest for makefs?

From: Kevin Oberman <rkoberman_at_gmail.com>
Date: Fri, 5 Sep 2014 22:51:01 -0700
On Thu, Sep 4, 2014 at 8:36 AM, Boris Samorodov <bsam_at_passap.ru> wrote:

> 03.09.2014 21:01, Nenhum_de_Nos пишет:
> >
> >
> > On September 3, 2014 12:02:24 PM GMT-03:00, Boris Samorodov <
> bsam_at_passap.ru> wrote:
> >> 28.08.2014 23:02, Craig Rodrigues пишет:
> >>
> >>> I did this:
> >>>
> >>> make -DDB_FROM_SRC -DNO_ROOT installkernel DESTDIR=/tmp/test4
> >>> make -DDB_FROM_SRC -DNO_ROOT installworld DESTDIR=/tmp/test4
> >>> make -DDB_FROM_SRC -DNO_ROOT distribution DESTDIR=/tmp/test4
> >>>
> >>> /tmp/test4/METALOG was created, but it did not seem to have
> >>> /boot/kernel/kernel or
> >>> any kernel modules.  Is that expected?
> >>
> >> For a new installation "installworld" should be done first (it creates
> >> the needed directory infrastructure). And then one may do
> >> "installkernel".
> >
> > As I read from so much time ago to install first kernel, starting from
> which FreeBSD version I should change?
>
> It seems to be true for ages. Take a look at /usr/src/Makefile,
> section "To cross-install current onto a separate partition".
>
> --
> WBR, Boris Samorodov (bsam)
> FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
>

Please understand that this is true when doing a cross-install where a
system with the required directory structure to install a kernel is not yet
present. It is not true when updating a system on which is existing FreeBSD
is running. When updating a system from sources, you should always
installkernel first and then reboot to make sure you have a working kernel
before installworld blows away the tools needed to fix a kernel problem.
--
R. Kevin Oberman, Network Engineer, Retired
E-mail: rkoberman_at_gmail.com
Received on Sat Sep 06 2014 - 03:51:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:51 UTC