On Tuesday 29 June 2004 19:45, Robert Millan wrote:
> Well, that would work. But still looks overkill, and having to remove
> the file through init.d is not very reliable. For example if you boot
> in single user it won't take effect. I think it should be grub itself
> who recovers to the normal estate after booting a new entry just
> once.
I'm afraid that you mistake it. GRUB itself does recover the status by
savedefault. It's good enough. The reason why I said that it would be
better to restore the original menu.lst was that the user might be
surprised if menu.lst is modified implicitly.
And, overkill? Hmm, it's a personal taste. For me, having a new feature
only for boot only-once is overkill. Maintaining boot loader code is a
pain. Script programming is really easy and efficient. So I prefer to
have scripts rather than to make GRUB itself more complex.
> I'm attaching a patch that does this in stage2. I think it's a
> cleaner solution. Please have a look and tell me what you think
I don't like it, since your patch can be only useful for "boot
only-once". I don't want any new feature if you can do the same thing
with a more generic feature.
Okuji
_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-grub