From owner-freebsd-stable@FreeBSD.ORG Wed May 28 02:04:42 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 C317139F; Wed, 28 May 2014 02:04:42 +0000 (UTC) Received: from mail-yk0-x22b.google.com (mail-yk0-x22b.google.com [IPv6:2607:f8b0:4002:c07::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 785BD2D98; Wed, 28 May 2014 02:04:42 +0000 (UTC) Received: by mail-yk0-f171.google.com with SMTP id 142so7819290ykq.2 for ; Tue, 27 May 2014 19:04:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Oe6q4+8b+pQOThHliyLTOwehOyFaUpAzyRM5GvRhLY0=; b=FBimgJUuxP7fsdQ/W0JCj9p2c2HNOhgSTXFC2tvsCDiuQPhNyj0IMx2ZTuUS6kl5NW klGsshW6FNQ0RU6PZwjaytXi+oPrWLyTds9suTBbtgoZ5Bjx+AdWk0+/CmJNYlR9fSBA 7T+qssV0O6Wp4QU7roFGsuDG7at02uwgT0NTu2/aQJDx6Iep4YLMy/NVLOyO+YMvPJWR 5U4yCPAcGFe/WMjWJvhIT9urOAcFGUamExYryhjK4Hv7mslrghskLip/dzNzcgRUa3vh ztvmSgA0No1dvGvswHjyg/FksvGxa2M6VGyV1O47IhFYnJl5+O0n6qym6Gf/WxVkjIQp EyyQ== MIME-Version: 1.0 X-Received: by 10.236.206.97 with SMTP id k61mr21706303yho.107.1401242681427; Tue, 27 May 2014 19:04:41 -0700 (PDT) Received: by 10.170.89.65 with HTTP; Tue, 27 May 2014 19:04:41 -0700 (PDT) In-Reply-To: <000d01cf7a11$d8da6da0$8a8f48e0$@FreeBSD.org> References: <15FBEC62-3DB8-4A58-9E7A-C6B783D669D7@shxd.cx> <000d01cf7a11$d8da6da0$8a8f48e0$@FreeBSD.org> Date: Wed, 28 May 2014 04:04:41 +0200 Message-ID: Subject: Re: boot menu's kernel chooser always lists kernel.old From: Idwer Vollering To: "dteske@freebsd.org" Content-Type: text/plain; charset=UTF-8 Cc: "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 02:04:42 -0000 2014-05-28 3:12 GMT+02:00 : > > >> -----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 : >> > >> > >> >> 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. >> >> 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