Backup kernel - confirmation

Gary W. Swearingen garys at opusnet.com
Thu Jul 28 23:40:06 GMT 2005


Bryan Maynard <bryan.maynard at reallm.com> writes:

> Yes, you can do that. Also of note is that when FreeBSD compiles a 
> kernel it takes the old kernel and renames it kernel.old. When FreeBSD 
> is booting you can select which kernel to use simpy by entering 
> "boot /boot/kernel.old/kernel" or "boot /boot/kernel_orig/kernel". I 
> did this when I was tweak the kernel in my laptop. Check the boot man 
> page for more info.

I'm getting the Handbook changed on this subject just now.  When the
standard make scripts are _installing_ a kernel (and modules) in 5.x,
It only renames kernel -> kernel.old if your most recent boot used
kernel; it overwrites kernel if you booted with kernel.old or
kernel.GENERIC, etc.


More information about the freebsd-questions mailing list