On 2006-04-30 21:36, Garrett Cooper <[EMAIL PROTECTED]> 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:


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.

Attachment: pgpptdqNtIG9x.pgp
Description: PGP signature

Reply via email to