Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NrqI1-0007lx-7N for mharc-grub-devel@gnu.org; Wed, 17 Mar 2010 06:15:49 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NrqHv-0007jR-Lf for grub-devel@gnu.org; Wed, 17 Mar 2010 06:15:44 -0400 Received: from [140.186.70.92] (port=39837 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NrqHr-0007eG-75 for grub-devel@gnu.org; Wed, 17 Mar 2010 06:15:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nrq3s-0003mp-1A for grub-devel@gnu.org; Wed, 17 Mar 2010 06:01:13 -0400 Received: from smarthost01.mail.zen.net.uk ([212.23.3.140]:33507) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nrq3r-0003mg-Se for grub-devel@gnu.org; Wed, 17 Mar 2010 06:01:11 -0400 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost01.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1Nrq3p-0002UI-3a for grub-devel@gnu.org; Wed, 17 Mar 2010 10:01:09 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) for grub-devel@gnu.org id 1Nrq3o-0001wQ-00; Wed, 17 Mar 2010 10:01:08 +0000 Date: Wed, 17 Mar 2010 10:01:08 +0000 From: Colin Watson To: The development of GNU GRUB Message-ID: <20100317100108.GN20777@riva.ucam.org> References: <20100317083731.4fd72c13@prem6s> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20100317083731.4fd72c13@prem6s> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost01-IP: [82.69.40.219] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: save default working with Grub 1.98 ? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2010 10:15:45 -0000 On Wed, Mar 17, 2010 at 08:37:31AM +0100, Frédéric Boiteux wrote: > I installed last year Grub2 from Debian 'experimental' repository to > get « default=saved » feature, it worked well, and recently I updated it > to 1.98 release (from official « unstable » repository), and now I get > a strange behaviour : > the menu always preselects the entry saved with old Grub2 version, but > if I choose another one, the new entry isn't saved. > > Does it means that Grub2 1.98 doesn't support yet entry saving ? or > should I look at my conf more carefully for a misconfiguration ? 1.98 only saves the selected entry as the default if you also have GRUB_SAVEDEFAULT=true. In other words, there are two separate controls: GRUB_DEFAULT=saved use saved entry as the default GRUB_SAVEDEFAULT=true save entry as default when selected The reason for the separation is that this means that you can use GRUB_DEFAULT=saved on its own so that grub-reboot and grub-set-default work, but without having the default changing merely because you selected a different entry interactively. This wasn't extensively documented because both these controls were new in 1.98, so it only affected upgrades from experimental versions (well, and the backport in Ubuntu 9.10). Regards, -- Colin Watson [cjwatson@ubuntu.com]