From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MtqBK-00034B-FG for mharc-grub-devel@gnu.org; Fri, 02 Oct 2009 18:00:54 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MtqBJ-000330-FT for grub-devel@gnu.org; Fri, 02 Oct 2009 18:00:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MtqBI-00031a-HQ for grub-devel@gnu.org; Fri, 02 Oct 2009 18:00:52 -0400 Received: from [199.232.76.173] (port=50023 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MtqBI-00031E-BC for grub-devel@gnu.org; Fri, 02 Oct 2009 18:00:52 -0400 Received: from fg-out-1718.google.com ([72.14.220.152]:42565) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MtqBH-0006zm-Sd for grub-devel@gnu.org; Fri, 02 Oct 2009 18:00:52 -0400 Received: by fg-out-1718.google.com with SMTP id e21so22011fga.12 for ; Fri, 02 Oct 2009 15:00:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=fIt7GhHo3DpvEN6F2O4iQoyaSId+YITiFlaWIRYQmIY=; b=ZnTPmAKYlSSBXzY8b1dH4cJXoni3k7KplqwBtwIK7EJ9fnHPLJEexwdN5gTcdZoXAY 66TUPXICdq81ulxBGvy+HAAl3PolEA27HtcWWXmBq9rUtbyafK8LkUea63LiYdttTiRM Qb0jmyOQLeZBVNRe9t+PbL4j62q+75XFbw6Ag= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=anb3buIxzwulCYmCPbfSEYt0ej9jrgdmmm4vd9TPwzJzZt7RjIdOP8o8Am9Kuda0VF 62ez7dNy2pgV3dq/BTG5O1ez1RGmRUBzFa56FlwxEA0YFBAFu4rlvkKONgzW03JeldFz 1uufoe8ZtnrwXmVeo2p9jPXyGTCNERqTln1Q4= Received: by 10.86.159.37 with SMTP id h37mr2774551fge.79.1254520849535; Fri, 02 Oct 2009 15:00:49 -0700 (PDT) Received: from ?192.168.1.16? (82-58.1-85.cust.bluewin.ch [85.1.58.82]) by mx.google.com with ESMTPS id l19sm272149fgb.5.2009.10.02.15.00.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 02 Oct 2009 15:00:48 -0700 (PDT) Message-ID: <4AC6780E.1040503@gmail.com> Date: Sat, 03 Oct 2009 00:00:46 +0200 From: Vladimir 'phcoder' Serbinenko User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701) MIME-Version: 1.0 To: The development of GRUB 2 References: <20090927180451.GA23688@titan> <20091002205346.GB19103@thorin> In-Reply-To: <20091002205346.GB19103@thorin> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Support for howmany option in grub2 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: Fri, 02 Oct 2009 22:00:53 -0000 Robert Millan wrote: > On Sun, Sep 27, 2009 at 08:04:51PM +0200, jezz@hkfree.org wrote: > >> Hello, >> I am using Debian GNU/Linux as my primary system. As a loader I am using GRUB. >> Actually I have upgraded to GRUB2. I don't know, if it was feature of original >> (legacy) GRUB or it was functionality provided by debian scripts (update-grub), >> for generating menu.lst. There was feature - howmany. This option specifies >> number of kernels, that user wants to have in boot menu. Script, that modifies >> menu.lst, use this variable. I like this feature, because I have usually more >> kernels, but I want to see only last two versions in GRUB menu. I have created >> patch, that add support for this to /etc/grub.d/10_linux. I have created this >> patch against version shipped with Debian (1.97~beta3-1) - I don't know if >> there are some Debian specific modifications. Also there should be variable >> GRUB_HOW_MANY propagated from /etc/default/grub (my patch don't do >> this). >> Kernel and it's rescue variant is counted as one kernel. >> >> I have already reported this bug to Debian BTS: >> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=548600 >> > > Does anyone else think we want an option for this? It seems like "feature > creep". > > Many kernels encumber view and may make menu difficult to navigate (I have to scroll through a lot of linux kernels before I get to FreeBSD). But choosing kernels would involve heuristics which are likely to fail if e.g. user is in the middle of git bisect But the core issue is a bad menu organisation. I think we need two-level menu. It seems Bean is already working on issue but I haven't followed that thread closely -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git