• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Solved No kernel.old after upgrade?

circus78

Active Member

Thanks: 4
Messages: 142

#1
Hi,
I just upgraded from 11.1-RELEASE-p4 to 11.1-RELEASE-p9 with freebsd-update fetch && freebsd-update install commands.

I noticed that I have no old kernel:

Code:
# ls -l /boot/kernel.old/
total 1
-rw-r--r--  1 root  wheel  0 Apr 14 16:01 .freebsd-update
I am pretty confident that everything will be ok with GENERIC kernels :)
Anyway, I though that after every kernel upgrade, old kernel were saved in ".old" directory, according to Handbook:

https://www.freebsd.org/doc/handbook/kernelconfig-building.html

Thank you
 

ShelLuser

Daemon

Thanks: 1,034
Best answers: 2
Messages: 2,329

#2
Look at the URL name, that already reveals it. /boot/kernel.old is only used if you build your own kernel and it's meant to be a safety precaution so that if your new kernel doesn't boot then you can always fall back to the old one.

However this isn't a very huge risk when you're using a prebuild generic kernel, as such it doesn't create backups. Which is a good thing too because using a kernel which doesn't match your userland can cause quite a few problems.