Re: kernel names

From: Chris H <bsd-lists_at_BSDforge.com>
Date: Wed, 13 Dec 2017 23:58:53 -0800
On Thu, 14 Dec 2017 00:51:54 -0500 "Allan Jude" <allanjude_at_freebsd.org> said

> On 12/14/2017 00:47, blubee blubeeme wrote:
> > When you boot into FreeBSD and you can select kernels, there's only 2
> > options:
> > default and kernel.old
> > 
> > Is there a way to have better output and support multiple kernels without
> > having to login to the system and running uname -v or something like that?
> > 
> > Would it be possible to add options for more kernels from that boot menu?
> > _______________________________________________
> > freebsd-current_at_freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> > 
> 
> The list is controlled by the /boot/loader.conf variable kernels=
> which defaults to "kernel kernel.old"
> 
> I have a patch almost ready to land that will search all subdirectories
> of /boot for a file named 'kernel' and add the names of those
> directories to the list, such that the list will basically be autogenerated.
> 
> It currently contains too much copy/pasted code, and I just need to
> clean it up a bit: https://reviews.freebsd.org/D11886
> 
> It was originally designed as part of my contributions towards packaged
> base, where pkg will keep the last N (default to 5 I think) kernel
> packages you have installed around, incase an upgrade goes bad.
> 
> This feature will work on any filesystem supported by the loader.
> 
Outstanding, Allan! Well done. I eagerly await it's arrival.
I've often thought about whipping something like this up. But something
else always seemed to get in the way.

Thanks, Allan.

--Chris
> -- 
> Allan Jude
Received on Thu Dec 14 2017 - 06:57:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC