From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MBxV2-0002Fe-4d for mharc-grub-devel@gnu.org; Wed, 03 Jun 2009 16:55:52 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MBxUz-0002Df-EA for grub-devel@gnu.org; Wed, 03 Jun 2009 16:55:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MBxUu-0002AU-OT for grub-devel@gnu.org; Wed, 03 Jun 2009 16:55:48 -0400 Received: from [199.232.76.173] (port=45968 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MBxUu-0002AR-Is for grub-devel@gnu.org; Wed, 03 Jun 2009 16:55:44 -0400 Received: from c60.cesmail.net ([216.154.195.49]:16972) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1MBxUu-0005hM-2r for grub-devel@gnu.org; Wed, 03 Jun 2009 16:55:44 -0400 Received: from unknown (HELO smtprelay2.cesmail.net) ([192.168.1.112]) by c60.cesmail.net with ESMTP; 03 Jun 2009 16:55:42 -0400 Received: from [192.168.0.22] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by smtprelay2.cesmail.net (Postfix) with ESMTPSA id CA38634C6D for ; Wed, 3 Jun 2009 16:59:02 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <1244022215.3429.17.camel@fz.local> References: <1244022215.3429.17.camel@fz.local> Content-Type: text/plain; charset="ISO-8859-1" Date: Wed, 03 Jun 2009 16:55:40 -0400 Message-Id: <1244062540.20653.11.camel@mj> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 (2.26.1-2.fc11) Content-Transfer-Encoding: 8bit X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: grub-mkconfig fails on every non i386-pc because of gfxterm/vbe 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: Wed, 03 Jun 2009 20:55:50 -0000 On Wed, 2009-06-03 at 11:43 +0200, Felix Zielcke wrote: > I wonder why nobody on this list noticed this yet. > Jordi reported this already on Debian a while ago [0] > > It fails with `No suitable backend could be found for gfxterm.' > The problem is that gfxterm is used when nothing is explicitly specified > and the fonts were compiled, but the fails because vbe.mod only gets > compiled for i386-pc whereas gfxterm.mod gets compiled for every arches. It looks like a conflict between grub-mkconfig and 00_header. grub-mkconfig sets GRUB_TERMINAL_OUTPUT to gfxterm because gfxterm.mod is present, but 00_header refuses to use it because vbe.mod is absent. Or maybe Debian sets GRUB_TERMINAL_OUTPUT to gfxterm somewhere. > I suggest as Jordi to just change the `exit 1' to Žexit 0' and telling > the user that it falls back to native terminal: I believe it's a wrong fix, as it would not prevent adding the gfxterm code to grub.cfg. I believe the fix belongs to grub-mkconfig (if it's not a Debian specific issue). Setting defaults in grub-mkconfig should be done very carefully, as the numbered scripts treat those defaults as explicit requests by the user. -- Regards, Pavel Roskin