* Idea: Single-time setting change
@ 2008-07-06 19:55 Jago Pearce
2008-07-07 13:35 ` Pavel Roskin
0 siblings, 1 reply; 2+ messages in thread
From: Jago Pearce @ 2008-07-06 19:55 UTC (permalink / raw)
To: grub-devel
Simply add an option to so that the
default boot can be changed to something, but then changes back to it\'s
original setting after that boot.
This way I can create an option of
`Reboot into Windows`, walk away for a coffee and find it sitting in Windows or
other o/s ready for me.
Unless perhaps there is already a way to do this?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Idea: Single-time setting change
2008-07-06 19:55 Idea: Single-time setting change Jago Pearce
@ 2008-07-07 13:35 ` Pavel Roskin
0 siblings, 0 replies; 2+ messages in thread
From: Pavel Roskin @ 2008-07-07 13:35 UTC (permalink / raw)
To: The development of GRUB 2
On Sun, 2008-07-06 at 19:55 +0000, Jago Pearce wrote:
> Simply add an option to so that the
> default boot can be changed to something, but then changes back to it\'s
> original setting after that boot.
>
> This way I can create an option of
> `Reboot into Windows`, walk away for a coffee and find it sitting in Windows or
> other o/s ready for me.
>
> Unless perhaps there is already a way to do this?
It's a good idea, but there are some corner cases and details to be
worked out.
The most flexible approach would be to allow the user to select both the
default and the entry for the next boot, both at the boot time and from
the host OS. At the boot time, we should strive to make it possible
entirely from the menu. Yet we want the manually selected entry to be
remembered as default if no default was designated. And we should try
to implement the fallback functionality from GRUB1.
It looks like we need 3 variables to be recognized:
nextdefault - default at the next boot. Must be unset at the next boot.
default - the default entry unless nextdefault is set.
fallback - the entry to use if both nextdefault and default fail.
We need a key in the menu to set the default (and possibly to set
nextdefault and fallback). The menu should export default and selection
to the GRUB scripts. I think the "savedefault" command should do the
right thing without any options. Or it should be coded in the GRUB
script. Or it should be implicit (less desirable).
--
Regards,
Pavel Roskin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-07 13:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-06 19:55 Idea: Single-time setting change Jago Pearce
2008-07-07 13:35 ` Pavel Roskin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.