From: "John G. Heim" <jheim@math.wisc.edu>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Subject: Re: grub2 impressions
Date: Sun, 29 Nov 2009 14:19:47 -0600 [thread overview]
Message-ID: <0888C164F12E4DEAA3F74296947FDFC1@mcgee> (raw)
In-Reply-To: <hepsdh$ha2$1@ger.gmane.org>
----- Original Message -----
From: "Jason White" <jason@jasonjgw.net>
To: <speakup@braille.uwo.ca>
Sent: Friday, November 27, 2009 6:55 PM
Subject: Re: grub2 impressions
> Zachary Kline <speakup@braille.uwo.ca> 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.
next prev parent reply other threads:[~ UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
Zachary Kline
` John G. Heim
` Zachary Kline
` Jason White
` Steve Holmes
` John G. Heim [this message]
` Kirk Reiser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0888C164F12E4DEAA3F74296947FDFC1@mcgee \
--to=jheim@math.wisc.edu \
--cc=speakup@braille.uwo.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).