Boot manager beep (revisited)
Giorgos Keramidas
keramida at freebsd.org
Mon May 1 05:43:31 UTC 2006
On 2006-04-30 21:36, Garrett Cooper <youshi10 at u.washington.edu> wrote:
>Eric Anderson wrote:
>> This thread:
>> http://lists.freebsd.org/pipermail/freebsd-stable/2005-December/020572.html
>>
>> mentions a patch to disable the boot manager beep, and also discusses
>> having it optional. I don't have enough asm-fu to make that option
>> happen, but I can tell you, that on laptops, that beep is really
>> annoying, and amazingly loud. Is this just waiting for an able minded
>> person to code up the options and submit?
>
> Someone tell me how to use patch and I'll give it a shot. I sure as hell
> hate that stupid pc speaker beep notification.
My own patch to disable this is at:
http://people.freebsd.org/~keramida/diff/boot0_beep.diff
It should have a checksum of:
% md5 boot0_beep.diff ; sha1 boot0_beep.diff
MD5 (boot0_beep.diff) = edc1cdbdf6552c8f243ef7ec4fd9787a
SHA1 (boot0_beep.diff) = 1da96efff024282f5911871fe9f19ebd82628e24
You can fetch it with:
# cd /tmp
# fetch http://people.freebsd.org/~keramida/diff/boot0_beep.diff
Patching your source tree, since this patch has been generated from the
toplevel src/ tree should be as easy as:
# cd /usr/src
# patch -p0 < /tmp/boot0_beep.diff
Then rebuild your boot0 block, and install the new boot0 file in /boot:
# cd /usr/src/sys/boot/i386/boot0
# make cleandir ; make cleandir
# make obj
# make all && make install
and update the MBR of your boot disk with boot0cfg, i.e.:
# boot0cfg -vB /dev/ad0
This should take care of it all.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060501/3aa0abca/attachment.pgp
More information about the freebsd-questions
mailing list