Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2014 09:12:47 +0100
From:      Jamie Griffin <griffin8j@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: ident name and kernel 10
Message-ID:  <53E9CC7F.60704@gmail.com>
In-Reply-To: <20140812073651.e38cdd72.freebsd@edvax.de>
References:  <1407727682.14647.4.camel@debian> <20140811095953.2b1519f0.freebsd@edvax.de> <1407817979.14647.6.camel@debian> <20140812073651.e38cdd72.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help

On 12/08/2014 06:36, Polytropon wrote:
> 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
>
>

If you haven't updated your sources and at the same revision from 
previous buildworld, you can just compile and install a new kernel if 
you want to make changes, can't you? e.g. you don't have to buildworld 
everytime, unless you've updated the source tree?




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