Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KOKrr-0008MI-Mk for mharc-grub-devel@gnu.org; Wed, 30 Jul 2008 19:14:03 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KOKrq-0008Km-3U for grub-devel@gnu.org; Wed, 30 Jul 2008 19:14:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KOKrn-0008Hp-Le for grub-devel@gnu.org; Wed, 30 Jul 2008 19:14:01 -0400 Received: from [199.232.76.173] (port=43094 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOKrn-0008Hg-9b for grub-devel@gnu.org; Wed, 30 Jul 2008 19:13:59 -0400 Received: from gateway05.websitewelcome.com ([67.18.124.3]:50323) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KOKrm-0001rd-WD for grub-devel@gnu.org; Wed, 30 Jul 2008 19:13:59 -0400 Received: (qmail 14115 invoked from network); 30 Jul 2008 23:24:26 -0000 Received: from gator297.hostgator.com (74.53.228.114) by gateway05.websitewelcome.com with SMTP; 30 Jul 2008 23:24:26 -0000 Received: from spk.venturedesignservices.com ([65.61.115.34]:32807 helo=localhost) by gator297.hostgator.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1KOKri-0000fI-GW; Wed, 30 Jul 2008 18:13:54 -0500 Date: Wed, 30 Jul 2008 16:12:57 -0700 From: Colin D Bennett To: The development of GRUB 2 Message-ID: <20080730161257.5f868cd3@gibibit.com> In-Reply-To: References: X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator297.hostgator.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gibibit.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Cc: mathog@caltech.edu 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:14:02 -0000 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? Hi David, Are you using GRUB 2 or GRUB legacy (0.9x)? Regards, Colin