ident name and kernel 10

Jamie Griffin griffin8j at gmail.com
Tue Aug 12 08:12:52 UTC 2014


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?



More information about the freebsd-questions mailing list