advice on compiling a new kernel & upgrading to the latest source

Pietro Cerutti pietro.cerutti at gmail.com
Sun Jan 14 21:24:52 UTC 2007


On 1/14/07, Dino Vliet <dino_vliet at yahoo.com> wrote:
> Hi folks,
Hello,

> from different sources I have written my steps to
> compile a new kernel & upgrade to the latest sources.

doesn't /usr/src/UPDATING istn't enough for you? Anyway...

> 1.Make sure that the cvsup file (src-supfile) is
> adjusted in the right way.
> 2.Cd /usr/src/sys/amd64/conf which contains the file
> MYKERNEL
> 3.MYKERNEL is then adjusted, if necessary and copied
> to root/kernels/MYKERNEL
> 4.Copy everything under /etc to /root/etc
you don't need it. mergemaster will take care of your /etc directory

> 9.make buildkernel KERNCONF=MYKERNEL
> 10.Go into single user mode
> 11.If the new kernel doesn't boot reboot and hit the
> space bar at the boot prompt and boot kernel.old If
> the new kernel boots OK mount -a
Point 9) won't install a new kernel, just compile it.
modify to 9) make kernel KERNCONF=MYKERNEL


> 13.make installkernel KERNCONF=MYKERNEL
already done at 9)

> Thanks inadvanced,
> Dino

-- 
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
 against HTML e-mail and
 proprietary attachments
   www.asciiribbon.org


More information about the freebsd-questions mailing list