From owner-freebsd-current@FreeBSD.ORG Thu Nov 7 16:11:13 2013 Return-Path: Delivered-To: freebsd-current@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 ESMTP id 2D4402FB for ; Thu, 7 Nov 2013 16:11:13 +0000 (UTC) (envelope-from lidl@pix.net) Received: from hydra.pix.net (hydra.pix.net [IPv6:2001:470:e254::3c]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E14512ACF for ; Thu, 7 Nov 2013 16:11:12 +0000 (UTC) Received: from torb.pix.net (torb.pix.net [IPv6:2001:470:e254:10:12dd:b1ff:febf:eca9]) (authenticated bits=0) by hydra.pix.net (8.14.5/8.14.5) with ESMTP id rA7GBB8f042046; Thu, 7 Nov 2013 11:11:11 -0500 (EST) (envelope-from lidl@pix.net) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.98 at mail.pix.net Message-ID: <527BBB9F.6000307@pix.net> Date: Thu, 07 Nov 2013 11:11:11 -0500 From: Kurt Lidl User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: [CFT] Kernel-Selection Enhancemnt to Boot Menu References: <201311061225.47620.jhb@freebsd.org> In-Reply-To: <201311061225.47620.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 07 Nov 2013 16:11:13 -0000 On Wednesday, November 06, 2013 19:18:31 UTC Baldwin, John wrote: > On Wednesday, November 06, 2013 10:22:44 am Teske, Devin wrote: >> >> On Nov 6, 2013, at 1:18 AM, Lars Engels wrote: >> >> > Am 05.11.2013 18:06, schrieb Kurt Lidl: >> > >> >> Well, I'd probably be in support of this change - it sure beats having >> >> to interrupt the normal boot sequence and typing: >> >> unload >> >> load /boot/kernel.old/kernel >> >> load /boot/kernel.old/opensolaris.ko >> >> load /boot/kernel.old/zfs.ko >> >> boot >> > >> > To load an older kernel I always just type >> > >> > boot kernel.old >> > >> > >> > Doesn't that unload the currently loaded kernel automatically? >> >> Actually... it does. >> >> Thanks for pointing that out (forgot about that). > > The only thing that it doesn't do which I wish it did was fixup > module_path. Right now if you break into the loader prompt and > do 'boot foo', you end up with module_path containing > "/boot/kernel;/boot/modules;/boot/foo". What I would like is to > be able to use 'boot foo' and get a proper module_path. Yeah - I found this out the hard way when playing with incompatible versions of zfs.ko. I suppose the "boot kernel.old" method works if "kernel.old" is "close enough" to "kernel", as you'll get the kernel.old/kernel file, and kernel/zfs.ko kernel/opensolaris.ko modules loaded that way. -Kurt