From owner-freebsd-current@freebsd.org Thu Dec 14 17:26:39 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5BD03E8845D for ; Thu, 14 Dec 2017 17:26:39 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [69.239.235.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 34F4A6E9FD for ; Thu, 14 Dec 2017 17:26:38 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id vBEHHb04065896 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 14 Dec 2017 09:17:37 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id vBEHHanc065895; Thu, 14 Dec 2017 09:17:36 -0800 (PST) (envelope-from fbsd) Date: Thu, 14 Dec 2017 09:17:36 -0800 From: bob prohaska To: blubee blubeeme Cc: FreeBSD current Subject: Re: kernel names Message-ID: <20171214171736.GA65768@www.zefox.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Dec 2017 17:26:39 -0000 On Thu, Dec 14, 2017 at 01:47:13PM +0800, 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? Unless I've been fooling myself, it's possible now. Just stop the boot loader during loading by hitting the spacebar and type boot kernelname at the loader prompt This requires that you have saved the /boot/kernelname subdirectory beforehand, for example cp -r /boot/kernel.old /boot/kernel.spare and, on an RPI2, that you have serial console access. It would be very convenient if this were possible on the video console, I gather it's a non-trivial modification. I'm unclear on the situation with other architectures. hth, bob prohaska