Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
picky detail about initramfs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sat Dec 15, 2007 3:21 pm    Post subject: picky detail about initramfs Reply with quote

Hi all. I'm not sure this is the right forum for this
question ... but here goes.

I've set my notebook to boot with an initramfs (via an
initrd line). The notebook is a fujitsu p7010 (old I know)
with intel graphics ...

This is kernel tuxonice-2.6.23-r4. Everything
works great.

Except for about 1 second or so after grub is finished and
the kernel starts to boot I can see the boot messages *before*
the splashscreen appears (on my faster desktop computer you
can't really notice any such delay).

My question - which is purely cosmetic - is this: is there any way
to suppress the boot text messages before the splash screen loads?
Ideally, I want a blank screen and then the splash screen with zero
time spent revealing the first few boot text messages (if you see
what I mean - like ubuntu :) )
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 988
Location: The Village, Portmeirion

PostPosted: Sat Dec 15, 2007 5:12 pm    Post subject: Reply with quote

Adding the boot parameter quiet should do the trick.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sat Dec 15, 2007 7:47 pm    Post subject: Reply with quote

thanks for that but "quiet" is already in place :(

Here's the relevant part of my grub.conf

Code:

# 3 2.6.23
title Gentoo 2.6.23 tickless kernel
root (hd0,1)
kernel /boot/2.6.23r4_1 root=/dev/hda4 resume=swap:/dev/hda4:0x806c000 acpi_sleep=s3_bios video=uvesafb:1024x768-16,mtrr:3 splash=silent,theme:testgentoo quiet CONSOLE=/dev/tty1
initrd=/fbsplash-newtestgentoo-1024x768


(of course, the kernel .... line is just one line)
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
niceness
Tux's lil' helper
Tux's lil' helper


Joined: 02 May 2006
Posts: 86
Location: NS, Serbia

PostPosted: Sat Dec 15, 2007 8:18 pm    Post subject: Reply with quote

If the message looks something like this, then it is grub stage2 and not the kernel.
You will need to patch grub to hide it (look at ubuntu patches).
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sat Dec 15, 2007 10:08 pm    Post subject: Reply with quote

You are right, niceness - it is a grub message I see.
Well, I can find the ubuntu patch for grub 1.97 (which
is what I'm using) but I'm a little fuzzy on how you
patch an ebuild. Anyone got some pointers?
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sun Dec 16, 2007 2:45 pm    Post subject: Reply with quote

OK, this is what I did.

First I copied the ubuntu grub-0.97-silent_succeed.patch file
into the /usr/portage/sys-boot/grub directory.

Second, I modified the ebuild by adding one line (marked
by *** in the code below):

Code:
src_unpack() {
        unpack ${A}
        cd "${S}"

        # patch breaks booting for some people #111885
        rm "${WORKDIR}"/patch/400_*

        if [[ -n ${PATCHVER} ]] ; then
                EPATCH_SUFFIX="patch"
                epatch "${WORKDIR}"/patch
                eautoreconf
        fi

*** epatch "/usr/portage/sys-boot/grub/grub-0.97-silent_succeed.patch"

}


Third, I ran ebuild ... digest.

Fourth, I re-emerged grub. A nice message came up during the
build that said that the silent_succeed patch was being applied.

But, sadly, I still see the initrd message for a second at boot up.

Anyone know what's wrong here?
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
JeliJami
Veteran
Veteran


Joined: 17 Jan 2006
Posts: 1086
Location: Belgium

PostPosted: Mon Dec 17, 2007 11:21 am    Post subject: Reply with quote

albright wrote:
but I'm a little fuzzy on how you
patch an ebuild. Anyone got some pointers?

You've done it almost right: HOWTO Create an Updated Ebuild on the gentoo-wiki
_________________
Unanswered Post Initiative | Search | FAQ
Former username: davjel
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Mon Dec 17, 2007 4:42 pm    Post subject: Reply with quote

The "inherit eutils" was already present. And I get
an OK with the applying patch message during the
compile.

I've carefully watched my other gentoo computer (amd64x2)
boot and there is not so much as a flicker of grub messages.
That computer has standard gentoo grub.

Can't imagine what might be wrong ...
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum