boot menu's kernel chooser always lists kernel.old
dteske at FreeBSD.org
dteske at FreeBSD.org
Wed May 28 01:12:17 UTC 2014
> -----Original Message-----
> From: Idwer Vollering [mailto:vidwer at gmail.com]
> Sent: Tuesday, May 27, 2014 4:12 PM
> To: Devin Teske
> Cc: freebsd-stable at freebsd.org; dteske at freebsd.org
> Subject: Re: boot menu's kernel chooser always lists kernel.old
>
> 2014-05-27 18:50 GMT+02:00 Devin Teske <devin at shxd.cx>:
> >
> >
> >> On May 24, 2014, at 1:42 PM, Idwer Vollering <vidwer at gmail.com> wrote:
> >>
> >> 2014-05-24 22:41 GMT+02:00 Idwer Vollering <vidwer at gmail.com>:
> >>> When trying to boot /boot/kernel.old/kernel while the directory
> >>> kernel.old is absent, this text is shown: "error while including
> >>> /boot/menu.rc, in the line:
> >>> menu-display".
> >>
> >> Forgot to include build details, here they are: FreeBSD 10-STABLE
> >> r266623
> >
> > Simple... don't try to boot kernel.old if it doesn't exist.
> > If you are unsure if it exists, don't select it. If you select It and
> > get the aforementioned error, it doesn't exist.
>
> kernel.old does not exist on this installation.
>
Correct you are.
> >
> > There is no seatbelt for the kernel selection menu.
> > It displays the kernels listed (separated by white space or comma) in
> > the $kernels environment var which defaults to "kernel kernel.old" in
> > the file /boot/defaults/loader.conf (you can override the value by
> > setting kernels in /boot/loader.conf
>
> Correct, however $kernels is commented out:
>
> $ grep -i kernels= /boot/loader.conf /boot/defaults/loader.conf
> /boot/defaults/loader.conf:#kernels="kernel kernel.old" # Kernels to display
> in the boot menu
>
Correct... it's a place-holder to show you the default value.
Approximately 41% of /boot/defaults/loader.conf is just
place-holders showing you the defaults.
--
Devin
More information about the freebsd-stable
mailing list