From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mta1.math.wisc.edu (mta1.math.wisc.edu [144.92.166.194]) by speech.braille.uwo.ca (Postfix) with ESMTP id CDC9F105A1 for ; Sun, 29 Nov 2009 15:19:49 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at mta2.math.wisc.edu Received: from mta1.math.wisc.edu ([127.0.0.1]) by localhost (mta1.math.wisc.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RzANdgpym8gB for ; Sun, 29 Nov 2009 14:19:49 -0600 (CST) Received: from mta1.math.wisc.edu (localhost.localdomain [127.0.0.1]) by mta1.math.wisc.edu (Postfix) with ESMTP id 1F1323E008C for ; Sun, 29 Nov 2009 14:19:49 -0600 (CST) Received: from ulam.math.wisc.edu (ulam.math.wisc.edu [144.92.166.245]) by mta1.math.wisc.edu (Postfix) with ESMTP for ; Sun, 29 Nov 2009 14:19:49 -0600 (CST) Received: from mcgee (lambeau.johnheim.com [66.222.31.17]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by ulam.math.wisc.edu (Postfix) with ESMTPSA id 026992BDA7 for ; Sun, 29 Nov 2009 14:19:48 -0600 (CST) Message-ID: <0888C164F12E4DEAA3F74296947FDFC1@mcgee> From: "John G. Heim" To: "Speakup is a screen review system for Linux." References: <20091128001400.GA4428@blackbird><09DEEF968E8543AAACD9EA38B997614C@mcgee><20091128004237.GA4288@blackbird> Subject: Re: grub2 impressions Date: Sun, 29 Nov 2009 14:19:47 -0600 Organization: University of Wisconsin MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5843 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.12 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2009 20:19:50 -0000 ----- Original Message ----- From: "Jason White" To: Sent: Friday, November 27, 2009 6:55 PM Subject: Re: grub2 impressions > Zachary Kline wrote: >>A little experimenting has found an answer to the beep problem. Similar >>to what you would do in grub-legacy, put a ctrl+g bell character in the >>possibly quoted name of a menuentry title, before the left brace. >>I just did this for my ArchLinux entry, and it beeped the PC speaker >>properly. > > Also, for the serial console: > http://linux.xvx.cz/188/debian-with-grub2-and-serial-connection/ > > This is for debian. On other distributions, the preferred approach may be > to > edit grub.cfg directly. > I configured a serial console for grub2 on my debian system by editing /etc/default/grub and adding these lines: GRUB_CMDLINE_LINUX_DEFAULT="console=tty0 console=ttyS0,19200n8" GRUB_TERMINAL=serial GRUB_SERIAL_COMMAND="serial --speed=19200 --unit=0 --word=8 --parity=no --stop=1" There was already a line specifying GRUB_CMDLINE_LINUX_DEFAULT="". I commented that out. The other lines were not already specified in the default file installed by the debian grub2 package. You have to run update-grub after making these changes. I also got a beep in a menu item by editing the /boot/grub/grub.conf file but I lost it when I ran update-grub. Clearly, on a debian system, editing grub.conf is not the way to go. It says so right in the file, in fact. On a debian system, grub.conf is generated from the files in /etc/grub.d/. But I don't know how to get a beep in there. Actually, the files in /etc/grub.d/ are scripts. So you could probably add a script with a sed command in it to add a beep to the first menu item. But other than that, I don't see how to add a beep such that it won't be lost when you run update-grub. On the other hand, it's no different than it was with a menu.lst file.You'd lose your beep when you ran update-grub with legacy grub.