1 |
On 2 Feb 2008, at 12:57, Liviu Andronic wrote: |
2 |
> ... |
3 |
> With the current setup, |
4 |
> however, I need to press the restart button (in Xfce), wait patiently |
5 |
> till the computer restarts, wait for the grub screen and change the |
6 |
> option before the 5 seconds time-out expires. I find annoying when I |
7 |
> miss out the time-out, because of my going away from the computer |
8 |
> screen. |
9 |
> |
10 |
> Basically, I would like to issue a command (restart with a certain |
11 |
> grub temporary setup change), go make myself a cup of tee and come |
12 |
> back and see the Windows login screen. |
13 |
|
14 |
One answer to this is to change the "default" entry in /boot/grub/ |
15 |
grub.conf |
16 |
|
17 |
If you don't want to do this manually using $editor each time you |
18 |
want to start Windows then you could surely write a script which |
19 |
would do so. In order to change /boot/grub/grub.conf from Windows you |
20 |
would need to install an ext3-write driver for 'doze or format your / |
21 |
boot partition FAT32. |
22 |
|
23 |
Surely one could easily write a script which would change the |
24 |
"default" entry in /boot/grub/grub.conf. In order to change it back |
25 |
one would probably need to have it also write a /boot/grub/ |
26 |
my.next.boot.txt file, too, and have start-up scripts under each o/s |
27 |
to recognise that & once again edit /boot/grub/grub.conf. I do not |
28 |
think such a facility is built-in to grub. |
29 |
|
30 |
Stroller. |
31 |
-- |
32 |
gentoo-user@l.g.o mailing list |