You need to pass in a custom file containing the correct configuration
at boot time with grub.
I did a small writeup[1] on how to do that here:
http://blog.shalman.org/overriding-driver-config-files-on-smartos/
If it were me, on my USB stick I would create a text file named
system.nobeep
containing that "exclude: pit_beep" line.
Then I would modify my boot entry in menu.lst to look like:
title Live 64-bit (text)
kernel /platform/i86pc/kernel/amd64/unix -B console=text,smartos=true
module /platform/i86pc/amd64/boot_archive type=rootfs name=ramdisk
module /system.nobeep type=file name=etc/system
(If you prefer a serial console vs vga, etc. then obviously adjust to
taste.)
The important detail is to add the "type=rootfs name=ramdisk" to the
boot_archive line
as well as adding the line for the extra file.
I haven't tested this for turning off console beep so I'll be curious to
hear if it works.
-Nahum
[1] Real credit goes to Keith:
http://dtrace.org/blogs/wesolows/2013/12/28/anonymous-tracing-on-smartos/
On 10/23/2014 08:39 PM, G B via smartos-discuss wrote:
In Solaris/OI/OmniOS to disable the &*#@ console beep:
# vi /etc/system
exclude: pit_beep
How can I do this with SmartOS?
*smartos-discuss* | Archives
<https://www.listbox.com/member/archive/184463/=now>
<https://www.listbox.com/member/archive/rss/184463/22280019-340ab187>
| Modify
<https://www.listbox.com/member/?&>
Your Subscription [Powered by Listbox] <http://www.listbox.com>
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com