Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LyiZV-0001CA-44 for mharc-grub-devel@gnu.org; Tue, 28 Apr 2009 04:21:45 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LyiZS-0001Bw-I2 for grub-devel@gnu.org; Tue, 28 Apr 2009 04:21:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LyiZR-0001Bc-EN for grub-devel@gnu.org; Tue, 28 Apr 2009 04:21:42 -0400 Received: from [199.232.76.173] (port=39653 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LyiZR-0001BZ-9p for grub-devel@gnu.org; Tue, 28 Apr 2009 04:21:41 -0400 Received: from ironport-smtp01.maxnet.net.nz ([123.100.71.100]:54054) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LyiZQ-0003JJ-Qk for grub-devel@gnu.org; Tue, 28 Apr 2009 04:21:41 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAMRZ9knAqAK+/2dsb2JhbADOWYNzBQ X-IronPort-AV: E=Sophos;i="4.40,259,1238932800"; d="scan'208";a="119369824" Received: from smtp01.maxnet.net.nz ([123.100.71.110]) by ironport-smtp01.maxnet.net.nz with ESMTP; 28 Apr 2009 20:21:34 +1200 Received: from [192.168.2.190] (121-73-135-210.cable.telstraclear.net [121.73.135.210]) by smtp01.maxnet.net.nz (Postfix) with ESMTPA id E30A0A3B7C for ; Tue, 28 Apr 2009 20:21:34 +1200 (NZST) From: Daniel Reurich To: The development of GRUB 2 In-Reply-To: <1240899898.24914.10.camel@mj> References: <1240531791.4507.236.camel@ezra> <1240899898.24914.10.camel@mj> Content-Type: text/plain Organization: Centurion Computer Technology (2005) Ltd Date: Tue, 28 Apr 2009 20:21:33 +1200 Message-Id: <1240906893.8040.829.camel@ezra> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: grub-mkconfig for combined serial and console 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, 28 Apr 2009 08:21:42 -0000 On Tue, 2009-04-28 at 02:24 -0400, Pavel Roskin wrote: > On Fri, 2009-04-24 at 12:09 +1200, Daniel Reurich wrote: > > Hi > > > > I'd like to be able to define terminal --timeout=5 serial console in a > > way that grub-mkconfig will automatically set that when updating the > > grub.cfg file. > > > > Is there an easy way to do this (and disable the use of gfxterm). > > See 00_header file (it's installed to /usr/local/etc/grub.d by default). > Try variables found in that file, such as GRUB_TERMINAL_INPUT, > GRUB_TIMEOUT, GRUB_SERIAL_COMMAND and others. I did before I posted. grub-mkconfig seems to have been designed around the (false) assumption that one would only ever want a single terminal interface rather than the option to choose at boot time, and thus only allows either console or serial but not both. I believe GRUB_TIMEOUT has nothing to do with the --timeout option of the terminal module. Thanks, -- Daniel Reurich Centurion Computer Technology (2005) Ltd Ph 021 797 722