Switching from custom kernel back to generic

krad kraduk at gmail.com
Thu Jan 15 10:07:37 UTC 2015


It depends on what was there before hand but the simplest way to revert to
stock is to do the following

backup /boot
rename /boot/kernel to /boot/kernel.old
fetch -o -
http://mirrorservice.org/sites/ftp.freebsd.org/pub/FreeBSD/releases/amd64/9.3-RELEASE/kernel.txz
| tar xvzf - -C /

you should now have a stock kernel in place. You of will want to check the
url above as you might want to change it to a different arch, or
geolocation to suit you

On 15 January 2015 at 09:10, Doug Hardie <bc979 at lafn.org> wrote:

> I believe I will be able to get rid of using quotas here in the near
> future.  That would enable me to use generic kernels all around.  However,
> I ran into an issue when updating 9.3.  I used freebsd-update to bring
> everything up to speed.  Then I went ahead and built the custom kernel and
> rebuilt world.  However, I just installed the generic kernel freebsd-update
> gave me.  The generic kernel kldstat showed the kernel and fdescfs.ko.
> However, pf.ko and pflog.ko would not load.  It said it couldn’t find
> them.  Running ktrace on service pf start shows it was looking for
> /boot/kernel/pf.ko and getting file not found.  A ls -l /boot/kernel/pf.ko
> shows the file is there with the right owner and permissions.  I tried
> manually loading other modules and get the same error.  All the modules are
> there in the right place.  I ended up installing the custom kernel and
> world and everything now works again.
>
> Is there some magic that is needed to switch from a custom kernel to
> generic?  Why would the kernel not find the modules when ls can?
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list