From owner-freebsd-stable@FreeBSD.ORG Wed May 28 01:12:17 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A1664DA5; Wed, 28 May 2014 01:12:17 +0000 (UTC) Received: from shxd.cx (unknown [64.201.244.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8A66B29DB; Wed, 28 May 2014 01:12:17 +0000 (UTC) Received: from [50.204.88.51] (port=17675 helo=THEMADHATTER) by shxd.cx with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1WpQDT-0007IZ-FN; Tue, 27 May 2014 15:51:31 -0700 From: To: "'Idwer Vollering'" References: <15FBEC62-3DB8-4A58-9E7A-C6B783D669D7@shxd.cx> In-Reply-To: Subject: RE: boot menu's kernel chooser always lists kernel.old Date: Tue, 27 May 2014 18:12:03 -0700 Message-ID: <000d01cf7a11$d8da6da0$8a8f48e0$@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQGHKiFJXCmZSyJLrrMbeF82mO3tRQED5P6oAlcEUaQCEGiHeJu6c3DA Content-Language: en-us Sender: devin@shxd.cx Cc: dteske@freebsd.org, freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2014 01:12:17 -0000 > -----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 >=20 > 2014-05-27 18:50 GMT+02:00 Devin Teske : > > > > > >> On May 24, 2014, at 1:42 PM, Idwer Vollering = wrote: > >> > >> 2014-05-24 22:41 GMT+02:00 Idwer Vollering : > >>> 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. >=20 > kernel.old does not exist on this installation. >=20 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 >=20 > Correct, however $kernels is commented out: >=20 > $ grep -i kernels=3D /boot/loader.conf /boot/defaults/loader.conf > /boot/defaults/loader.conf:#kernels=3D"kernel kernel.old" # Kernels to = display > in the boot menu >=20 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. --=20 Devin