[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Set the menu choice for next reboot without access to conf file?
From: |
David Mathog |
Subject: |
Re: Set the menu choice for next reboot without access to conf file? |
Date: |
Wed, 30 Jul 2008 16:31:17 -0700 |
Colin D Bennett wrote:
> On Wed, 30 Jul 2008 15:25:11 -0700
> "David Mathog" <address@hidden> wrote:
>
> > We have some systems which are remotely administered and dual boot
> > linux and Windows. Under linux there is access to the grub config
> > file, but under Windows there is not. The default grub menu option
> > boots Windows.
> >
> > On linux
> >
> > grub-set-default 1
> >
> > will tell grub to use the 2nd menu option (and so boot linux instead
> > of Windows)) only for the next boot, so long as the grub config file
> > is appropriately configured with "default saved".
> >
> > If this command were applied from Windows would "grub-set-default"
> > require access to the grub config file, or does grub-set-default just
> > store an integer somewhere in the MBR, or elsewhere in the first disk
> > track?
>
> Are you using GRUB 2 or GRUB legacy (0.9x)?
Grub legacy. I would consider going to Grub 2 if it provided a way to
"reboot <menu option #>" easily from both Linux and Windows, without
Windows requiring access to the config file.
Thanks,
David Mathog
address@hidden
Manager, Sequence Analysis Facility, Biology Division, Caltech