* singleboot
@ 2005-11-03 4:10 Paul Tarjan
2005-11-03 7:10 ` singleboot Vincent Pelletier
0 siblings, 1 reply; 2+ messages in thread
From: Paul Tarjan @ 2005-11-03 4:10 UTC (permalink / raw)
To: grub-devel
I've been wanting for quite some time a method to be in linux, and
reboot into windows for just this one time and keep linux as my
default boot. My only solution so far has been to have a boot disk
with one grub.conf with windows as the default and the other grub.conf
on the hard drive to have linux as the default. Then I push in the
disk to go to windows and pop it out to go to linux.
I have a two part questions. Is there something that I can write to
the grub.conf that will be acted upon once, and then removed? And if
not, is anyone opposed to me adding it? Something like a "singleboot =
#" directive that would override default and then be removed after
grub executes it?
Thanks
Paul Tarjan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: singleboot
2005-11-03 4:10 singleboot Paul Tarjan
@ 2005-11-03 7:10 ` Vincent Pelletier
0 siblings, 0 replies; 2+ messages in thread
From: Vincent Pelletier @ 2005-11-03 7:10 UTC (permalink / raw)
To: The development of GRUB 2
[-- Attachment #1: Type: text/plain, Size: 955 bytes --]
Paul Tarjan wrote:
> I've been wanting for quite some time a method to be in linux, and
> reboot into windows for just this one time and keep linux as my
> default boot.
What about :
default saved
title windows
root ...
makeactive
chainloader +1
title linux
root ...
kernel ...
initrd ...
savedefault
boot
Then you can select windows and it will only boot once in windows (as
long as you don't select it again sometime).
Another solution would be, if your bios can do that, to define disk boot
order as :
windows disk
linux disk
Then if the windows disk is plugged in, it will not even run grub but
directly the windows bootloader. If nothing is plugged in place of the
windows drive, it will just skip and boot grub on the second.
I'm not sure I got your request right :
Do you want to "physically" remove the boot entry so no one can use it
later ?
Do you want it to be 100% automatic (like used as some remote automation) ?
Vincent Pelletier
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-03 7:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-03 4:10 singleboot Paul Tarjan
2005-11-03 7:10 ` singleboot Vincent Pelletier
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.