PDA

View Full Version : How to turn off Kali live first boot Menu's beep - menu.cfg '^G' sign



Gerboa
2015-05-08, 23:12
Hello everyone,
anybody know how to turn off Kali Menu's first beep in a custom live ISO build??


1. The ISO file
I've modified the /isolinux/menu.cfg file to remove the '^G' sign a the end of the menu line
in the ISO generated file.... It's the ^G sign that make produce the beep sound...
Well, now, how to make new iso with this modification ?


2.A. The Doc - bootloaders
The bootloader configuration doc can be find here:
http://live.debian.net/manual/3.x/ht...binary.en.html

I've tried to copy /usr/share/live/build/bootloaders to config/bootloaders
and edit the ./isolinux/menu.cfg file removing the '^G' sign at the end of Title Boot menu line
but without succes... So, I'm very new to this kind of things... Many things can be wrong at mine.


2.B. The Doc - menu.cfg file
The second thing is that it seems we could put the modified menu.cfg file in the config/includes.binary/isolinux/ ...
... But It didn't worked...



Any suggestion?

3. The build.sh file
Is it possible to edit the build.sh to create or copy a menu.cfg file without '^G' in the menu.cfg file ?



Thanks a lot :-)

Gerboa
2015-05-13, 11:04
Hi EveryOne :-)

There it was...

The solution:
remove the '^G' sign in the /usr/share/live/build/bootloaders/isolinux/menu.cfg file...

then, lb build your favorite ISO ;-)



PS:
to see or remove this famous '^G' sign, use "nano" ...
a "cat" won't show it ;-)
Best whishes

g0tmi1k
2015-05-14, 08:04
Hi EveryOne :-)
PS:
to see or remove this famous '^G' sign, use "nano" ...
a "cat" won't show it ;-)
Best whishes


Use cat -A



root@kali ~$ cat -A /usr/share/live/build/bootloaders/isolinux/menu.cfg
menu hshift 0$
menu width 82$
$
menu title Boot menu^G$
include stdmenu.cfg$
include live.cfg$
include install.cfg$
menu begin advanced$
^Imenu title Advanced options$
^Iinclude stdmenu.cfg$
^Ilabel mainmenu$
^I^Imenu label ^Back..$
^I^Imenu exit$
^Iinclude advanced.cfg$
menu end$
$
menu clear$
root@kali ~$ cat /usr/share/live/build/bootloaders/isolinux/menu.cfg
menu hshift 0
menu width 82

menu title Boot menu
include stdmenu.cfg
include live.cfg
include install.cfg
menu begin advanced
menu title Advanced options
include stdmenu.cfg
label mainmenu
menu label ^Back..
menu exit
include advanced.cfg
menu end

menu clear
root@kali ~$