Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JC1HL-0001GR-G5 for mharc-grub-devel@gnu.org; Mon, 07 Jan 2008 18:21:11 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JC1HK-0001Fb-8K for grub-devel@gnu.org; Mon, 07 Jan 2008 18:21:10 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JC1HI-0001EB-QE for grub-devel@gnu.org; Mon, 07 Jan 2008 18:21:09 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JC1HI-0001E2-Gy for grub-devel@gnu.org; Mon, 07 Jan 2008 18:21:08 -0500 Received: from mbox.unige.ch ([129.194.9.209]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JC1HI-0000PW-7I for grub-devel@gnu.org; Mon, 07 Jan 2008 18:21:08 -0500 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from gismo.pca.it (121-20.1-85.cust.bluewin.ch [85.1.20.121]) by mbox.unige.ch (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTPSA id <0JUA00B7ORIBUP10@mbox.unige.ch> for grub-devel@gnu.org; Tue, 08 Jan 2008 00:20:35 +0100 (CET) Received: by gismo.pca.it (Postfix, from userid 1000) id 64B4059E04; Tue, 08 Jan 2008 00:20:34 +0100 (CET) From: Luca Capello To: The development of GRUB 2 References: <1199736618.7025.9.camel@localhost.localdomain> <20080107220751.GB23660@thorin> <1199745077.7025.38.camel@localhost.localdomain> Date: Tue, 08 Jan 2008 00:20:34 +0100 In-reply-to: <1199745077.7025.38.camel@localhost.localdomain> Message-id: <87odbx43zx.fsf@gismo.pca.it> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) Subject: Re: LVM on debian 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: Mon, 07 Jan 2008 23:21:10 -0000 Hi all! Maybe a bit too Debian-specific :-) On Mon, 07 Jan 2008 23:31:17 +0100, Martin Braure de Calignon wrote: > On lun, 2008-01-07 at 23:07 +0100, Robert Millan wrote: >> On Mon, Jan 07, 2008 at 09:10:18PM +0100, Martin Braure de Calignon wrote: >>> I have an lvm /usr partition. And everything works great. >>> I only have to look on /etc/grub.d/10_linux to see what was the variable >>> for command line option of the kernel. >> >> Yeah I'm afraid we lack documentation. We could use some help on that ;-) > > Of course. One possible temporary solution would be to insert all > customization variables in 10_linux and other files in /etc/default/grub > with no value no and a simple comment over it (all the common used > variables). I can try to do it if you want, but I've just discovered > grub2 so it's quite risky. Filling /etc/default/grub with all the variables empty by default (or commented, as other files in the same dir, e.g. ifupdown) is for sure an improvement over the current situation. > Is it complicated to convert kopt= options in grub menu.lst to the > GRUB_CMDLINE_LINUX ? in postinst ? This would work for upgrades grub -> grub2, but not for existing installations (see Debian bug #459247 [1]). So, yes, this can be done, but having proper documentation (hint, `man update-grub`) would be the best thing to do. What's funny is that I had on my ToDo list a note to submit a Debian bug about the same issue ;-) Thx, bye, Gismo / Luca Footnotes: [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=459247