View previous topic :: View next topic |
Author |
Message |
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Sat Dec 15, 2007 3:21 pm Post subject: picky detail about initramfs |
|
|
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 |
|
|
skellr l33t
Joined: 18 Jun 2005 Posts: 988 Location: The Village, Portmeirion
|
Posted: Sat Dec 15, 2007 5:12 pm Post subject: |
|
|
Adding the boot parameter quiet should do the trick. |
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Sat Dec 15, 2007 7:47 pm Post subject: |
|
|
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 |
|
|
niceness Tux's lil' helper
Joined: 02 May 2006 Posts: 86 Location: NS, Serbia
|
Posted: Sat Dec 15, 2007 8:18 pm Post subject: |
|
|
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 |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Sat Dec 15, 2007 10:08 pm Post subject: |
|
|
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 |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Sun Dec 16, 2007 2:45 pm Post subject: |
|
|
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 |
|
|
JeliJami Veteran
Joined: 17 Jan 2006 Posts: 1086 Location: Belgium
|
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Mon Dec 17, 2007 4:42 pm Post subject: |
|
|
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 |
|
|
|