Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 1997 18:44:23 -0700
From:      Julian Elischer <julian@whistle.com>
To:        Jaye Mathisen <mrcpu@cdsnet.net>
Cc:        hackers@freebsd.org
Subject:   Re: additional boot stage?
Message-ID:  <335D6977.41C67EA6@whistle.com>
References:  <Pine.NEB.3.95.970422162149.28321Y-100000@mail.cdsnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Jaye Mathisen wrote:
> 
> Occasionally, it seems I'm having to work on machines that aren't close,
> and need a bit of kernel tweaking now and then...
> 
> Something I was was thinking would be useful is to have a kernel boot
> path, or list of bootable kernels, or some mechanism such  that if /kernel
> doesn't boot, /kernel.bak boots or some fallback mechanism.
> 
> I was thinking it could be handled if /kernel loaded and tracked the
> bootedness or non-bootedness of the next kernel, it would be handy, w/o
> having to write/rewrite the bootblocks, which makes me nervous.
> 
> Or something.  It would be nice.

check out nextboot(8)

it puts a list of bootable kernels in block 1 after the fdisk,
and zero's out each one as it uses it..

needs the appropriate compile option in the bootblocks
(mentionned in the man page)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?335D6977.41C67EA6>