Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: muruli on November 12, 2009, 08:41:54 AM

Title: hiding grub message
Post by: muruli on November 12, 2009, 08:41:54 AM
hi,
Is there any way to hide these messages while booting ie
title ....
kernel ....
initrd ....

thanks

Title: Re: hiding grub message
Post by: roberts on November 12, 2009, 11:32:11 AM
hiddenmenu

Title: Re: hiding grub message
Post by: muruli on November 16, 2009, 12:10:32 AM
what is this hiddenmenu ?
Is this a command for grub ?
Title: Re: hiding grub message
Post by: roberts on November 16, 2009, 12:26:43 AM
Yes. Add to grub's menu.lst typically after the timeout section.
You will probably also want to set the timeout  to 0 otherwise a message will appear to Press ESC to get to see the menu.
Title: Re: hiding grub message
Post by: muruli on November 16, 2009, 01:36:31 AM
After adding those lines also it is showing,
Booting "TinyCore"
kernel /boot/bzImage
initrd /boot/tinycore.gz
I think hiddenmenu is to hide the menu, when we have two os.
Title: Re: hiding grub message
Post by: ^thehatsrule^ on November 17, 2009, 06:58:34 PM
If there are no config options, there may be compile time options.  Otherwise, editing the source could be a way.  An alternative would be to try another bootloader.
Title: Re: hiding grub message
Post by: Sensui666 on November 17, 2009, 07:53:16 PM
I got it done... Silent Grub

[removed]

Just copy package content files to /boot/grub/

and re-install grub, like
$ sudo grub
> root (hd0,0)
> setup (hd0)
>quit

Remember to add kernel boot options also: quiet loglevel=0


BBye
Title: Re: hiding grub message
Post by: ^thehatsrule^ on November 17, 2009, 08:08:34 PM
Mind posting what you did to get that?

Alhough, I guess there would be some source package on your site?
Title: Re: hiding grub message
Post by: Sensui666 on November 22, 2009, 09:33:23 AM
This is something I did some time ago for my board demos...

To get that I edited Stage2.c from Grub sources and recompiled it...

Im sorry I dont have the edited sources anymore, I just kept what I needed to achieve it... But I can tell you it was really simple change like some grub_printf routine.
Title: Re: hiding grub message
Post by: ^thehatsrule^ on November 24, 2009, 02:34:02 AM
If it wasn't obvious, the sources need to be provided as well... so it's pulled for now.

Here's a link that might be helpful though: http://www.mail-archive.com/bug-grub@gnu.org/msg10567.html
Title: Re: hiding grub message
Post by: muruli on December 03, 2009, 03:14:16 AM
THANKS . I got it  :)