Title: Re: Question on order and targets of kernel and world
I would appreciate a bit more information on the 'world' and 'kernel'
building process. Please point me at the right section of the Handbook or
Greg's book if there is a succinct description.

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


I have been doing 'CVSUP' followed by:

# make buildworld
# make installworld
# make buildkernel
# make installkernel

without really knowing if this was a useful order or exactly what I was
accomplishing with each target. My question is:

 1) Can I 'make buildworld' to create my tools and supporting files, then
 2) Use the newly made "world" to 'make buildkernel', and then
 3) 'make installworld; make installkernel' to install these new filesets
    for general use?

I would like to know if this is an acceptable and conservative way to do a
rebuild, and to better understand what I get at each step.

Here are the steps I follow. Note that I previously built a custom kernel
and I am using that below. Replace "CUSTOM" with whatever you named your kernel.

Please *read the handbook* as things can get confusing. Not something you
want to fubar at 2 am. Mergemaster especially can be tricky until you figure out
what's going on. Good luck.

1.
# cd /usr/obj
# chflags -R noschg *
# rm -rf *

2. #make buildworld

3. #make buildkernel KERNCONF=CUSTOM

4. #make installkernel KERNCONF=CUSTOM

5. boot into single user mode

6. #make installworld

7. # cp -Rp /etc /etc.old

8. # mergemaster -cv

9. reboot
-- 
________________________________________
Jim Arnold -  Ohio.com - [EMAIL PROTECTED]
Cell: 330.730.0797     Voice: 330.572.2822
AOL IM: instantjim    /    Yahoo: jim0266    



Reply via email to