Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JCBam-0000qt-PY for mharc-grub-devel@gnu.org; Tue, 08 Jan 2008 05:21:56 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCBak-0000qM-BM for grub-devel@gnu.org; Tue, 08 Jan 2008 05:21:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCBai-0000qA-O3 for grub-devel@gnu.org; Tue, 08 Jan 2008 05:21:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCBai-0000q7-Ia for grub-devel@gnu.org; Tue, 08 Jan 2008 05:21:52 -0500 Received: from smtp23.orange.fr ([80.12.242.50]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JCBai-00083x-Az for grub-devel@gnu.org; Tue, 08 Jan 2008 05:21:52 -0500 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2304.orange.fr (SMTP Server) with ESMTP id 1CD6C1C0008D for ; Tue, 8 Jan 2008 11:21:51 +0100 (CET) Received: from [192.168.0.21] (ABordeaux-158-1-22-189.w90-55.abo.wanadoo.fr [90.55.77.189]) by mwinf2304.orange.fr (SMTP Server) with ESMTP id 12DEC1C0008C for ; Tue, 8 Jan 2008 11:21:49 +0100 (CET) X-ME-UUID: 20080108102149774.12DEC1C0008C@mwinf2304.orange.fr From: Martin Braure de Calignon To: The development of GRUB 2 In-Reply-To: <20080108092431.GB4044@thorin> References: <1199736618.7025.9.camel@localhost.localdomain> <20080107220751.GB23660@thorin> <1199745077.7025.38.camel@localhost.localdomain> <20080108092431.GB4044@thorin> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-NIgARSSAgAMpDW6jilnh" Date: Tue, 08 Jan 2008 11:21:43 +0100 Message-Id: <1199787703.7671.18.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.12.2 X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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: Tue, 08 Jan 2008 10:21:54 -0000 --=-NIgARSSAgAMpDW6jilnh Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On mar, 2008-01-08 at 10:24 +0100, Robert Millan wrote: > On Mon, Jan 07, 2008 at 11:31:17PM +0100, Martin Braure de Calignon wrote= : > > Of course. One possible temporary solution would be to insert all > > customization variables in 10_linux and other files in /etc/default/gru= b > > with no value no and a simple comment over it (all the common used > > variables). >=20 > I don't like it. 10_linux is technicaly a config file, but it's also a s= cript, > which means it's much more likely to be updated (causing upgrade conflict= s for > those who modify it) than /etc/default/grub. >=20 > Also, /etc/default/grub is provided by debian, while 10_linux is not. We > wouldn't want to put "GRUB_DISTRIBUTOR=3DDebian" in 10_linux would we ? >=20 > And not all variables in /etc/default/grub are meant for 10_linux. Some = are > there for 00_header. And even GRUB_DISTRIBUTOR is also used by 10_hurd. Ok it makes sense to not include all the variables in /etc/default/grub because of course, /etc/default/grub should only contains variable that do not really depends on script. But a kernel command line personalization should be in there. If there's no default in there with non-valued variables, it should be documented. > > Is it complicated to convert kopt=3D options in grub menu.lst to the > > GRUB_CMDLINE_LINUX ? in postinst ? >=20 > Maybe. It's basicaly just some sedding, but you have to be careful to ge= t all > the corner cases right. I didn't do it because I didn't consider it impo= rtant, > but feel free to send a patch. Well, I think it can be important when you want grub2 to replace grub because people don't want their computer do not boot any longer (some options (noapictimer) missing can make my system unbootable). For now, it's probably not urgent. A simple=20 sed '/^# kopt=3D/!d;s/^# kopt=3D//g' /boot/grub/menu.lst gives the kernel command line Then one could use a "echo GRUB_CMD_LINE_LINUX=3D$(sed '/^# kopt=3D/!d;s/^# kopt=3D//g' /boot/grub/menu.lst) >> /etc/default/grub=20 It's probably not very robust, so a better transitional solution could be to ask in debconf for experimental importing of grub1 configuration. If not, one could also add these informations to README.Debian I can try to do a patch for this, but I need some advices do not make common and obvious mistakes on how manage this conversion. > Yes, but first I need to understand better what you saw. Does "graphical= " > mean it was in VESA mode? You can tell that because "terminal" command w= ould > return "gfxterm" rather than "console". Or does it simply mean you had a > menu? > When you say "with no entry", does this mean you didn't see any text at all > (including the messages at the top and bottom)? Or just that there were = no > options in the menu? >=20 I've just reinstall the default configuration files of grub2 and reboot. What I have is a black and white screen with "GNU GRub Version 1.95", then a menu without any entry and then the message on the bottom saying me that I can do some commands. Then I go in 'command mode', do a insmod lvm, then configFile /boot/grub/grub.cfg and it works perfectly. Cheers, --=20 Martin Braure de Calignon --=-NIgARSSAgAMpDW6jilnh Content-Type: application/pgp-signature; name=signature.asc Content-Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHg063cHEx8cor214RAlgnAJ0WJK2xhxT0X1qhIC7w4dl/SRhGmQCg8tBW 5bi+60sXBU6ZmMWwoUi09X0= =AxH9 -----END PGP SIGNATURE----- --=-NIgARSSAgAMpDW6jilnh--