How to disable the messages during bootup


Forum: DSL Embedded
Topic: How to disable the messages during bootup
started by: dialomar

Posted by dialomar on July 06 2006,20:42
Hi everyone,

How can I disable the messages during bootup?
I would like not to see the messages during bootup and shutdown like: checking, booting kernel messages, autoconfiguring devices, ….

Thank you for your great help.

Posted by konka on July 09 2006,02:39
edit menu.lst

kernel console=/dev/null CONSOLE=/dev/null

and another file
linuxrc

Posted by dialomar on July 11 2006,13:38
Thanks a lot.

another issue :
When we select an entry in Grub menu, how to disable this lines in the screen :
kernel /boot/linux24 root=/dev/hda1 quiet vga=normal noacpi noapm nodma nascsi frugal
[Linux-bzImage, setup=0x1400, size=0xf17f7]

Thanks a lot.

Posted by aptenikhil on Jan. 01 2007,08:56
hi all,
I tried editing the menu.lst file but the problem is that i am unable to change the menu.lst file listed under /KNOPPIX/boot/grub/menu.lst.
It says "Cannot open file for writing"
I am logged in as dsl and changed to root using "sudo su" command. The file permissions for menu.lst file are -rw-rw-r--
Even the grup directory has write permissions.
Can you please help me regarding this?
Thanks in advance!

Posted by ^thehatsrule^ on Jan. 01 2007,16:13
aptenikhil: /KNOPPPIX is mounted read-only, and afaik does not contain your system grub configuration.  Edit /cdrom/boot/grub/menu.lst which should be the partition which holds the image data to KNOPPIX.  If you use toram, youll have to manually mount the partition first, then navigate to /mnt/xdXx/boot/grub/menu.lst
Posted by beakmyn on Jan. 01 2007,17:17
My curiosity is getting the better of me. What type of device are you creating that you're trying to remove all references to it running Linux?
Posted by aptenikhil on Jan. 05 2007,14:26
Hi,
Let me tell you what i have done in detail.
I burned dsl-3.1.iso on the CD.
I booted using that CD.

mkdir newcd
mkdir newcd/KNOPPIX
sudo su
cp -Rp /KNOPPIX/* source/.
vi source/boot/grub/menu.lst

There i added kernel console=/dev/null CONSOLE=/dev/null
at the end.
mkisofs -R source/ | create_compressed_fs - 65536 > newcd/KNOPPIX/KNOPPIX

Now instead of creating and burning the new image. I just downloaded the dsl-3.1.embedded.zip which is the embedded DSL.
I replaced /KNOPPIX/KNOPPIX file with the new one created using above procedure.

Clicked on dsl-windows.bat which is used to start the embedded dsl.

But still i am getting the boot messages. I want no boot message to come.
Can u help me regarding this?

Thanks in advance.

Posted by ^thehatsrule^ on Jan. 05 2007,21:48
aptenikhil: if you are using the default qemu setup in dsl-embedded, you will not be using grub.  Edit dsl-windows.bat and add in the parameters there.
Posted by aptenikhil on Jan. 15 2007,06:17
Hi ^thehatsrule,
Thanks for the reply.
You know what r my requirements. I want to get rid of all boot messages when booting from a CD (burned using dsl image) and when booting using embedded DSL also.
I tried using

kernel console=/dev/null CONSOLE=/dev/null
at the start of dsl-embedded.bat right after @echo off but before START qemu\qemu.exe.... but it doesn't disable boot messages.
2nd thing which i tried is that I placed the kernel console=/dev/null CONSOLE=/dev/null right after START qemu\qemu.exe.... , but this also couldnt solve the problem,

Can u please tell me where to place it.

The dsl-windows.bat file contents are-
REM Start qemu on windows.
@ECHO OFF

START qemu\qemu.exe -L qemu/ -no-kqemu -m 128 -soundhw sb16 -localtime -kernel linux24 -initrd minirt24.gz -hda KNOPPIX/knoppix -hdb qemu/harddisk -append "qemu sb=0x220,5,1,5 frugal quiet modules=hdb noscsi nousb nofirewire atapicd noideraid noacpi acpi=off noapm noagp ide1=noprobe ide2=noprobe nomce"

CLS
EXIT

I am using dsl embedded verson 3.1 i.e. dsl-3.1-embedded.zip

Can you please help me regarding this.
Thanks in advance!

Posted by ^thehatsrule^ on Jan. 15 2007,20:08
Since they are boot/cheatcodes, they will be applied as such, so you can add " console=/dev/null CONSOLE=/dev/null" to the 'append' parameter.
Posted by aptenikhil on Jan. 16 2007,05:09
Hi. Thanks for the help,

I tried putting that console=/dev/null CONSOLE=/dev/null in the append string
The string now looks like:
START qemu\qemu.exe -L qemu/ -no-kqemu -m 128 -soundhw sb16 -localtime -kernel linux24 -initrd minirt24.gz -hda KNOPPIX/knoppix -hdb qemu/harddisk -append "qemu sb=0x220,5,1,5 frugal quiet modules=hdb noscsi nousb nofirewire atapicd noideraid noacpi acpi=off noapm noagp ide1=noprobe ide2=noprobe nomce console=/dev/null CONSOLE=/dev/null"

But still the boot messages are visible.
How can i disable them?

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.