Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2014 07:36:51 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Mohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ident name and kernel 10
Message-ID:  <20140812073651.e38cdd72.freebsd@edvax.de>
In-Reply-To: <1407817979.14647.6.camel@debian>
References:  <1407727682.14647.4.camel@debian> <20140811095953.2b1519f0.freebsd@edvax.de> <1407817979.14647.6.camel@debian>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 12 Aug 2014 09:02:59 +0430, Mohsen Pahlevanzadeh wrote:
> Thank you so much,
> 
>                               Can you explain more about make buildworld

This step is only needed if your kernel version doesn't match
your installed world version (for example after a source tree
update). As explained in the comment header of /usr/src/Makefile,
this particular step has to be performed in single-user mode.

If the source matches the version of the installed world, you
can build your own kernels and install them without installing
the world. In this case, only the following steps (from Makefile)
apply:

#  1.  `cd /usr/src'       (or to the directory containing your source tree).
#  3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE'     (default is GENERIC).
#  4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is GENERIC).
#       [steps 3. & 4. can be combined by using the "kernel" target]
#  5.  `reboot'        (in single user mode: boot -s from the loader prompt).

The kernel can be installed while in multi-user mode.

For more details:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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