[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:Beeping LILO



 From          : earthlink>tandwg
 To            : adam
 Subject       : Re:Beeping LILO
 Date          : 09/29/99 21:00


>Thanks for the idea, however the system in question is a stand-
>alone home PC, I'm not sure I want to go that far for a beep.
>Basically, I'd like it just for the "Hey stupid!  I'm booting into an OS
>here!" effect...  But since it seems to be something that is going to
>be convoluted, I guess I'll just have to pay attention while I'm
>booting, *sigh*.~

It's not covoluted.  In the /etc/lilo.conf file you can specify~

message=message-file~

for a file that will be "cat-ted" to the screen BEFORE the boot prompt.  You
embed some \007's (Control-G, the ASCI Bell Code)  your PC might beep when
it displayed the message.~

Try:~

1.Add "message=/boot/bootmesg.text" to your /etc/lilo.conf~
2.echo -e "\007\007\007\007" > /boot/bootmesg.text~
3.Rerun "lilo"~
4.Reboot


~
>>>What I have is a Linux-Mandrake (meaning it's like RedHat) 6.0
>>>and Windows 98 dual boot computer.  Sometimes I turn it on and
>>>get distracted by something and next thing I know, it's booting the
>>>OS I don't want.  I don't want to make it wait forever until I choose
>>>an OS, so it there a way I can have LILO make the computer beep
>>>prior to the pause?
>>Well, one way is to hook a dumb terminal to S0 or S1 and set Lilo to use
>>that as the system console and embed \007 in your boot prompt.  If the
>>terminal is anything like  a VT??? it will beep.  This might work on a PC
>>display,  but it might not.  Worth a shot anyway.