Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KOL8b-0002XT-E4 for mharc-grub-devel@gnu.org; Wed, 30 Jul 2008 19:31:21 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KOL8a-0002WV-2D for grub-devel@gnu.org; Wed, 30 Jul 2008 19:31:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KOL8Y-0002VX-Cd for grub-devel@gnu.org; Wed, 30 Jul 2008 19:31:19 -0400 Received: from [199.232.76.173] (port=54230 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOL8Y-0002VR-7b for grub-devel@gnu.org; Wed, 30 Jul 2008 19:31:18 -0400 Received: from mendel.bio.caltech.edu ([131.215.12.38]:63769) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KOL8X-00044m-LH for grub-devel@gnu.org; Wed, 30 Jul 2008 19:31:17 -0400 Received: from nobody by mendel.bio.caltech.edu with local (Exim 4.63) (envelope-from ) id 1KOL8X-0001t0-2M; Wed, 30 Jul 2008 16:31:17 -0700 From: "David Mathog" To: Colin D Bennett , X-Mailer: NeoMail 1.24 X-IPAddress: 131.215.12.39 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-Id: Date: Wed, 30 Jul 2008 16:31:17 -0700 X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) Cc: Subject: Re: Set the menu choice for next reboot without access to conf file? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2008 23:31:20 -0000 Colin D Bennett wrote: > On Wed, 30 Jul 2008 15:25:11 -0700 > "David Mathog" 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 " easily from both Linux and Windows, without Windows requiring access to the config file. Thanks, David Mathog mathog@caltech.edu Manager, Sequence Analysis Facility, Biology Division, Caltech