[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: failsafe booting..
From: |
Andrew |
Subject: |
Re: failsafe booting.. |
Date: |
Fri, 6 Oct 2000 10:03:15 +0930 (CST) |
> > ok this is what i was looking for, from the lilo man page :-
> >
> > -R command line
>
> I don't think this is what you are looking for. This sets the command
> line, not the default kernel (I think, didn't check).
>
> In order to do what you want, you'll need a "mv" command inside grub:
> thus the menu entry that boots the test kernel will switch configuration
> file before booting the kernel. On success, the switch back will
> be performed by user space.
>
> I didn't look at filesystem code in grub, but I don't think it should
> be too difficult to implement "mv". The only issue I see is that
> currently FS access is read-only, while in this case you require write
> access, and this can introduced non-trivial issues when you deal with it.
its not exactly what I would like, but using the "lilo -R" I can achieve
the result i'm looking for which is to boot a safe kernel, the next time
the machine reboots, regardless of what happens to the current kernel.
thanks for all the comments on this thread, its been quite helpful.
thanks
Andrew