Date: Wed, 28 May 2014 04:04:41 +0200 From: Idwer Vollering <vidwer@gmail.com> To: "dteske@freebsd.org" <dteske@freebsd.org> Cc: "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org> Subject: Re: boot menu's kernel chooser always lists kernel.old Message-ID: <CAPp9Or=FWUfzinJ_Z8mK0%2Bkd=svJwA0v%2BkFo0SwwbZr4yi_DPA@mail.gmail.com> In-Reply-To: <000d01cf7a11$d8da6da0$8a8f48e0$@FreeBSD.org> References: <CAPp9OrkgfUr3xZPd7LuDs3e-__vCE1iLAAmCA2D_ume1L6iQew@mail.gmail.com> <CAPp9OrnYNyMGRsuZQ_NZ7SoXz2KX0-fWq9L1SyuH2BbzAdEWpg@mail.gmail.com> <15FBEC62-3DB8-4A58-9E7A-C6B783D669D7@shxd.cx> <CAPp9Orm5ZGRh4-BL0gC=jMQ3mKe96EQDaVmfj7oG5%2Bs7g7vDBw@mail.gmail.com> <000d01cf7a11$d8da6da0$8a8f48e0$@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2014-05-28 3:12 GMT+02:00 <dteske@freebsd.org>: > > >> -----Original Message----- >> From: Idwer Vollering [mailto:vidwer@gmail.com] >> Sent: Tuesday, May 27, 2014 4:12 PM >> To: Devin Teske >> Cc: freebsd-stable@freebsd.org; dteske@freebsd.org >> Subject: Re: boot menu's kernel chooser always lists kernel.old >> >> 2014-05-27 18:50 GMT+02:00 Devin Teske <devin@shxd.cx>: >> > >> > >> >> On May 24, 2014, at 1:42 PM, Idwer Vollering <vidwer@gmail.com> wrote: >> >> >> >> 2014-05-24 22:41 GMT+02:00 Idwer Vollering <vidwer@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 > I went to the bottom of this and it seems the menu behaviour I was used to was a left over from -RELEASE (files for -STABLE were installed after I rm -fr'ed /boot :) ): http://svnweb.freebsd.org/base/release/10.0.0/sys/boot/forth/loader.conf?view=markup http://svnweb.freebsd.org/base/stable/10/sys/boot/forth/loader.conf?view=markup
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPp9Or=FWUfzinJ_Z8mK0%2Bkd=svJwA0v%2BkFo0SwwbZr4yi_DPA>