From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mu43K-0004rP-NF for mharc-grub-devel@gnu.org; Sat, 03 Oct 2009 08:49:34 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mu43I-0004pm-Eu for grub-devel@gnu.org; Sat, 03 Oct 2009 08:49:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mu43D-0004hg-DL for grub-devel@gnu.org; Sat, 03 Oct 2009 08:49:31 -0400 Received: from [199.232.76.173] (port=35980 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mu43D-0004hJ-92 for grub-devel@gnu.org; Sat, 03 Oct 2009 08:49:27 -0400 Received: from mx20.gnu.org ([199.232.41.8]:15947) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mu43C-00052Z-N8 for grub-devel@gnu.org; Sat, 03 Oct 2009 08:49:26 -0400 Received: from mail-fx0-f205.google.com ([209.85.220.205]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mu43B-0005Xu-Sc for grub-devel@gnu.org; Sat, 03 Oct 2009 08:49:26 -0400 Received: by fxm1 with SMTP id 1so1594737fxm.31 for ; Sat, 03 Oct 2009 05:49:23 -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=ku2AUXdPLctmZKBqGNlSMit5kYkojCXNYVoTvVauEBc=; b=OqwIcMqU2B4QX3OshGbK8YNXWMMlodWpUKU/tVtWkxdK4djgzT95mVdeVJjJ/wsEtt 5Ve/xM7m2aNZzQ+UdnrDDHJw+fyd/B8Mh655iwNm+WYN5lYUHZ21ActazAlWvxR5qapE VuBPkUfcm9REnIfubnMGU2le9Huu61yGFF2G0= 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=eArQhRm5pR8E+X/YRoHZ3qofb7iKUU9MEfTdE6I79hBFFEM6BrPJP8vTZXDEIv11bg C8ud1BZHjES1YxPCFmdNiCs3xwRCK6CmPDeFohGP+VCdp1pGRxKFwXfLMtlGZz6yaZnp HNdJ8QqcOQCvD0yUqZFR4nDbiJg6sDowtCAPU= Received: by 10.86.195.26 with SMTP id s26mr3389806fgf.23.1254574163794; Sat, 03 Oct 2009 05:49:23 -0700 (PDT) Received: from ?192.168.1.16? (244.126.202.62.cust.bluewin.ch [62.202.126.244]) by mx.google.com with ESMTPS id l12sm1800722fgb.15.2009.10.03.05.49.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 03 Oct 2009 05:49:22 -0700 (PDT) Message-ID: <4AC74850.809@gmail.com> Date: Sat, 03 Oct 2009 14:49:20 +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> <4AC6780E.1040503@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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: Sat, 03 Oct 2009 12:49:32 -0000 Michal Suchanek wrote: > 2009/10/3 Vladimir 'phcoder' Serbinenko : > >> 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 >> >> > > I guess it should be possible one way or another once the new menu > system is ready. > > It should be possible to sort the non-linux extra boot options into a > separate list and thus make them easier to reach, for example. > > I would prefer two level OS/kernel choice. E.g. I first choose that I want linux from hdX,Y and then I choose the exact kernel. Perhaps normal keypress enter in first-level menu would boot most recent kernel and e.g. hitting F6 will offer kernel choice > Thanks > > Michal > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git