bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: failsafe booting..


From: Alessandro Rubini
Subject: Re: failsafe booting..
Date: Thu, 5 Oct 2000 13:10:38 +0200

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]