On Tue, Dec 03, 2002 at 08:52:07PM -0800, Nate Lawson wrote:
> On Tue, 3 Dec 2002, Rashim Gupta wrote:
> > I have a machine to which I remotely log in and do
> > kernel programming. It has two kernel versions - one is WORKING and the
> > other is TEST - the one I am presently working on. Is it possible that
> > the bootloader tries to first load TEST but in case TEST panics then
> > it loads the WORKING version of kernel without user intervention ? My
> > initial guess would be to use loader scripts. Any suggestions?
> 
> man 8 reboot, esp. -k option.

Errr... if I'm reading the original message right, then reboot -k is
exactly the opposite of what Rashim is asking for - if the wording of
the -stable manual page is correct.  According to the manual page, if we
try reboot -k TEST, and it fails, the system will keep trying to boot
TEST until somebody walks up to the machine and manually changes the
booted kernel by interrupting the loader.  I believe this is not quite
what Rashim asked for...

G'luck,
Peter

-- 
Peter Pentchev  [EMAIL PROTECTED]        [EMAIL PROTECTED]
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
.siht ekil ti gnidaer eb d'uoy ,werbeH ni erew ecnetnes siht fI

Attachment: msg38463/pgp00000.pgp
Description: PGP signature

Reply via email to