Solved No kernel.old after upgrade?


Active Member

Thanks: 4
Messages: 180

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:

# 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:

Thank you


Son of Beastie

Thanks: 1,413
Messages: 3,069

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.