Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2007 02:21:44 -0500
From:      Andre Guibert de Bruet <andy@siliconlandmark.com>
To:        Scot Hetzel <swhetzel@gmail.com>
Cc:        Eric Anderson <anderson@freebsd.org>, current@freebsd.org
Subject:   Re: Unable to use network early in boot with recent -current
Message-ID:  <171CD081-E699-468F-A70F-E035C99DF3EF@siliconlandmark.com>
In-Reply-To: <790a9fff0702212329o19826332lf01676ae286e264a@mail.gmail.com>
References:  <790a9fff0702211031r226ba0bdsfab2eab5f4748191@mail.gmail.com> <20070221191551.19A9745053@ptavv.es.net> <20070221211039.GA859@heather.menantico.com> <790a9fff0702212329o19826332lf01676ae286e264a@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 22, 2007, at 2:29 AM, Scot Hetzel wrote:

> On 2/21/07, Skip Ford <skip.ford@verizon.net> wrote:
>> Kevin Oberman wrote:
>> > Any thought of making module loads default to the directory of the
>> > booted kernel (e.g. /boot/kernel.old) instead of /boot/kernel?
>>
>> This should already happen if you "set kernel" to kernel.old and
>> then "boot".
>
> I set the kernel variable in loader.conf, so that I can have multiple
> kernels installed and choose which kernel to boot the next time the
> server is booted.
>
> /boot/loader.conf
> #kernel="kernel_p4_debug"
> kernel="kernel_debug"
>
> hp010# sysctl -a | grep kernel
> kern.bootfile: /boot/kernel_debug/kernel
> kern.module_path: /boot/kernel_debug;/boot/modules

Just out of curiosity, have you come across nextboot(8)?

Andy

/*  Andre Guibert de Bruet  * 6f43 6564 7020 656f 2e74 4220 7469 6a20 */
/*   Code poet / Sysadmin   * 636f 656b 2e79 5320 7379 6461 696d 2e6e */
/*   GSM: +1 734 846 8758   * 5520 494e 2058 6c73 7565 6874 002e 0000 */
/* WWW: siliconlandmark.com * C/C++, Java, Perl, PHP, SQL, XHTML, XML */





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?171CD081-E699-468F-A70F-E035C99DF3EF>