Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 May 2006 08:43:19 +0300
From:      Giorgos Keramidas <keramida@freebsd.org>
To:        Garrett Cooper <youshi10@u.washington.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Boot manager beep (revisited)
Message-ID:  <20060501054319.GA89181@gothmog.pc>
In-Reply-To: <44559034.9010702@u.washington.edu>
References:  <445581DE.50901@centtech.com> <44559034.9010702@u.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On 2006-04-30 21:36, Garrett Cooper <youshi10@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.


--3MwIy2ne0vdjdPXF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEVZ/31g+UGjGGA7YRAm33AJ9Z+RXnsK/7w3Xu4YjiWXWiy7C5yACghx0J
g8iExZkRSMCL/sRpFGvkhmE=
=Md4Z
-----END PGP SIGNATURE-----

--3MwIy2ne0vdjdPXF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060501054319.GA89181>