Re: Unable to use network early in boot with recent -current

From: John Baldwin <jhb_at_freebsd.org>
Date: Mon, 26 Feb 2007 16:58:14 -0500
On Thursday 22 February 2007 02:29, Scot Hetzel wrote:
> On 2/21/07, Skip Ford <skip.ford_at_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

You can also just do 'boot foo' at the loader prompt, and it is the same as 
doing:

unload all
set kernel=foo
boot

I use this all the time to boot test kernels.

-- 
John Baldwin
Received on Mon Feb 26 2007 - 22:43:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:06 UTC