WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: hiding grub message  (Read 3493 times)

Offline muruli

  • Newbie
  • *
  • Posts: 22
hiding grub message
« on: November 12, 2009, 05:41:54 AM »
hi,
Is there any way to hide these messages while booting ie
title ....
kernel ....
initrd ....

thanks


Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: hiding grub message
« Reply #1 on: November 12, 2009, 08:32:11 AM »
hiddenmenu

10+ Years Contributing to Linux Open Source Projects.

Offline muruli

  • Newbie
  • *
  • Posts: 22
Re: hiding grub message
« Reply #2 on: November 15, 2009, 09:10:32 PM »
what is this hiddenmenu ?
Is this a command for grub ?

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: hiding grub message
« Reply #3 on: November 15, 2009, 09:26:43 PM »
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.
10+ Years Contributing to Linux Open Source Projects.

Offline muruli

  • Newbie
  • *
  • Posts: 22
Re: hiding grub message
« Reply #4 on: November 15, 2009, 10:36:31 PM »
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.

Offline ^thehatsrule^

  • Administrator
  • Hero Member
  • *****
  • Posts: 1726
Re: hiding grub message
« Reply #5 on: November 17, 2009, 03: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.

Offline Sensui666

  • Newbie
  • *
  • Posts: 8
Re: hiding grub message
« Reply #6 on: November 17, 2009, 04: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
« Last Edit: November 23, 2009, 11:28:38 PM by ^thehatsrule^ »

Offline ^thehatsrule^

  • Administrator
  • Hero Member
  • *****
  • Posts: 1726
Re: hiding grub message
« Reply #7 on: November 17, 2009, 05:08:34 PM »
Mind posting what you did to get that?

Alhough, I guess there would be some source package on your site?

Offline Sensui666

  • Newbie
  • *
  • Posts: 8
Re: hiding grub message
« Reply #8 on: November 22, 2009, 06: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.

Offline ^thehatsrule^

  • Administrator
  • Hero Member
  • *****
  • Posts: 1726
Re: hiding grub message
« Reply #9 on: November 23, 2009, 11:34:02 PM »
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

Offline muruli

  • Newbie
  • *
  • Posts: 22
Re: hiding grub message
« Reply #10 on: December 03, 2009, 12:14:16 AM »
THANKS . I got it  :)