Recovering from Botched Kernel Builds

Several things can go wrong while attempting to build a new kernel. Here are some of the possible problems and how to remedy them.

”Kernel panic!” Message After Reboot

The is one of the most serious problems. Basically, the kernel builds and installs fine, but then “panics” after you reboot.

Depending on what is wrong, you might get an error message on reboot that says “Kernel panic!” followed by a short description of the error. At that point, the system might automatically reboot, or it might simply halt. However, just because the kernel is panicking doesn't mean that you have to panic as well. You have the backup kernel that was created for you when you installed the new kernel, and you can use it to boot ...

Get Sams Teach Yourself FreeBSD® in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.