Hello.
> 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.
Hope this helps
/alessandro
_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub