Re: boot panic on current(04.20)

From: John Baldwin <jhb_at_freebsd.org>
Date: Wed, 22 Apr 2009 14:07:55 -0400
On Wednesday 22 April 2009 3:37:37 am Scot Hetzel wrote:
> On 4/21/09, Gustavo Perez Querol <gperez_at_entel.upc.edu> wrote:
> >     I'm having the same problem with my laptop. It fails (if I remember
> > well) when checkig an <O2 Micro> device (probably my card reader, don't
> > know). When rebooting got to loader prompt, unload kernel and load
> > /boot/kernel.old/kernel. This arrises a few questions :
> >
> >         1.- How can I install a custom kernel under a different directory
> >             under /boot. I did it, but I can't find how (google doesn't
> >             help)I did it. I think there's a define when installing the
> >             kernel.
> 
> Add the following to your kernel's configuration file.
> 
> makeoptions     KODIR=/boot/${KERNEL}_debug
> 
> This when you install the kernel, in will place the kernel into
> /boot/kernel_debug.

makeoptions	KERNEL=foo

is a bit shorter, and then you can do 'boot foo' at the loader.  I tend to 
install test kernels into /boot/<branchname> using this.

-- 
John Baldwin
Received on Wed Apr 22 2009 - 16:24:14 UTC

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