Re: [gentoo-user] cannot get boot splash work (initrd fail to load)

2004-01-22 Thread Bill Roberts
On 21:56 Wed 21 Jan , Tianran Chen wrote:
 
 
 On Wed, 21 Jan 2004, Petro Verkhogliad wrote:
  the strange thing is that have the bootplash and background working. however, i
  am still getting the message about the RAM disk being invalid. 
  
  for me, the key to the whole configuration was getting the kernel settings
  right. 
  
  at the same time, i am running 2.6.1-love5 which is prepatched for bootsplash.
  it makes the configurations issuses less troublesome.
  
  good luck
 
 it is really strange. i thought the kernel as to load images from the 
 initrd. if it is invalid, how can the kernel load anything?
 
 
 --
 [EMAIL PROTECTED] mailing list
 

I had the same dmesg. I had been following the instructions in the
bootsplash howto, they worked fine on one machine, not on this one.
I did some sleuthing and found that the command to create the images
given in the howto seems out-of-date. The path has changed. I has to
use:

/sbin/splash -s -f \
/etc/bootsplash/gentoo/config/bootsplash-1024x768.cfg  \
/boot/initrd-1024x768

to get mine to work. Of course, change the resolution to suit your
taste.

-- 
Bill Roberts

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] cannot get boot splash work (initrd fail to load)

2004-01-21 Thread Petro Verkhogliad
On Wed, 21 Jan 2004 00:17:44 -0500 (EST)
Tianran Chen [EMAIL PROTECTED] wrote:

 hi,
 
 i am trying to get the boot splash and background from terminals to work, 
 however, after a whole day of try, it seems there are something i did 
 wrong.
 
 i am now using kernel 2.4.22-gentoo-r5, following exactly the steps shown, 
 i set up the the boot splash, recompile the kernel (this kernel is already 
 patched) and generate the initrd. but after reboot, i got error message 
 saying that:
 
 RAMDISK: couldn't find valid RAM disk image starting at 0.
 
 it seems the initrd image is invalid.
 
 can anyone tell me what i did wrong?
 
 
 --
 [EMAIL PROTECTED] mailing list
 

the strange thing is that have the bootplash and background working. however, i
am still getting the message about the RAM disk being invalid. 

for me, the key to the whole configuration was getting the kernel settings
right. 

at the same time, i am running 2.6.1-love5 which is prepatched for bootsplash.
it makes the configurations issuses less troublesome.

good luck

-- 


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] cannot get boot splash work (initrd fail to load)

2004-01-21 Thread Tianran Chen
thanks for replying.

i'm quite sure /boot is mounted at the time i generate and copy the initrd 
image. the kernel is manually configured. the 2.4.22-gentoo-r5 seems 
already patched with the boot splash patch, since i saw the option:

[*] Use bootsplash instead of boot logo.

i was following the HOWTO from 
http://reviewed.homelinux.org/gentoo/bootsplash/
and the steps i went through are:

0. emerge bootsplash

1. configure the kernel, with following options enabled:
[*] MTRR (Memory Type Range Register) support
[*] Loopback device support
[*] RAM disk support
[*] Initial RAM disk (initrd) support
[*] VGA text console
[*] Video mode selection supportB
[*] Support for frame buffer devices
[*] VESA VGA graphics console
[*] Use splash screen instead of boot logo

2. compiled new kernel, and copy it to /boot.

3. rc-update add bootsplash boot.

4. copied an initrd from /usr/share/bootsplash to /boot
4.alt. also tried generate a new initrd by:

/sbin/splash -s -f
/etc/bootsplash/default/config/bootsplash-1024x768.cfg 
 /boot/initrd-1024x768

5. edit grub.conf:

kernel  /kernel-2.4.22-splash root=/dev/hda2 
video=mtrr,vesa:1024x768 vga=0x317 splash=silent
initrd=/initrd-1024x768

6. reboot

kernel obviously enabled framebuffer. but boot logo is shown, but no boot 
splash. the /proc/splash does not exist neither.

can anyone help me?
thanks


On Tue, 20 Jan 2004, Rainer Sigwald wrote:
 Hmm.  Was /boot mounted when you copied the initrd over?  Are you using the
 genkernel automagic-everything, or doing it manually?  What was the exact
 command you used to make the initrd?
 
 Also, you were following the steps shown . . . where?
 
 I'm no expert, but I think the guys that are will need to know this stuff.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] cannot get boot splash work (initrd fail to load)

2004-01-21 Thread Jakub Krajcovic
After you boot, check dmesg, whether it found the boot image, and if it did, what went 
wrong...

On Wed, 21 Jan 2004 19:55:51 -0500 (EST)
Tianran Chen [EMAIL PROTECTED] wrote:

 thanks for replying.
 
 i'm quite sure /boot is mounted at the time i generate and copy the initrd 
 image. the kernel is manually configured. the 2.4.22-gentoo-r5 seems 
 already patched with the boot splash patch, since i saw the option:
 
   [*] Use bootsplash instead of boot logo.
 
 i was following the HOWTO from 
 http://reviewed.homelinux.org/gentoo/bootsplash/
 and the steps i went through are:
 
 0. emerge bootsplash
 
 1. configure the kernel, with following options enabled:
   [*] MTRR (Memory Type Range Register) support
   [*] Loopback device support
   [*] RAM disk support
   [*] Initial RAM disk (initrd) support
   [*] VGA text console
   [*] Video mode selection supportB
   [*] Support for frame buffer devices
   [*] VESA VGA graphics console
   [*] Use splash screen instead of boot logo
 
 2. compiled new kernel, and copy it to /boot.
 
 3. rc-update add bootsplash boot.
 
 4. copied an initrd from /usr/share/bootsplash to /boot
 4.alt. also tried generate a new initrd by:
 
   /sbin/splash -s -f
   /etc/bootsplash/default/config/bootsplash-1024x768.cfg 
/boot/initrd-1024x768
 
 5. edit grub.conf:
 
   kernel  /kernel-2.4.22-splash root=/dev/hda2 
   video=mtrr,vesa:1024x768 vga=0x317 splash=silent
   initrd=/initrd-1024x768
 
 6. reboot
 
 kernel obviously enabled framebuffer. but boot logo is shown, but no boot 
 splash. the /proc/splash does not exist neither.
 
 can anyone help me?
 thanks
 
 
 On Tue, 20 Jan 2004, Rainer Sigwald wrote:
  Hmm.  Was /boot mounted when you copied the initrd over?  Are you using the
  genkernel automagic-everything, or doing it manually?  What was the exact
  command you used to make the initrd?
  
  Also, you were following the steps shown . . . where?
  
  I'm no expert, but I think the guys that are will need to know this stuff.
 
 --
 [EMAIL PROTECTED] mailing list
 


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] cannot get boot splash work (initrd fail to load)

2004-01-21 Thread Tianran Chen
On Thu, 22 Jan 2004, Jakub Krajcovic wrote:
 After you boot, check dmesg, whether it found the boot image, and if it did, what 
 went wrong...

first, it saids:

bootsplash: slient mode

this seems to me that the kernel does support bootsplash, and is trying to 
load it.

then later it saids:

RAMDISK: couldn't find valid RAM disk image starting at 0

this seems to me that the initrd is invalid. nowhere in the dmesg had 
mentioned loading image. /etc/init.d/bootsplash also fail to load since 
/proc/splash does not even exist.

i have been tried to solve this problem for almost three days already. it 
is so confusing. any help are appreciated.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] cannot get boot splash work (initrd fail to load)

2004-01-21 Thread Tianran Chen


On Wed, 21 Jan 2004, Petro Verkhogliad wrote:
 the strange thing is that have the bootplash and background working. however, i
 am still getting the message about the RAM disk being invalid. 
 
 for me, the key to the whole configuration was getting the kernel settings
 right. 
 
 at the same time, i am running 2.6.1-love5 which is prepatched for bootsplash.
 it makes the configurations issuses less troublesome.
 
 good luck

it is really strange. i thought the kernel as to load images from the 
initrd. if it is invalid, how can the kernel load anything?


--
[EMAIL PROTECTED] mailing list



[gentoo-user] cannot get boot splash work (initrd fail to load)

2004-01-20 Thread Tianran Chen
hi,

i am trying to get the boot splash and background from terminals to work, 
however, after a whole day of try, it seems there are something i did 
wrong.

i am now using kernel 2.4.22-gentoo-r5, following exactly the steps shown, 
i set up the the boot splash, recompile the kernel (this kernel is already 
patched) and generate the initrd. but after reboot, i got error message 
saying that:

RAMDISK: couldn't find valid RAM disk image starting at 0.

it seems the initrd image is invalid.

can anyone tell me what i did wrong?


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] cannot get boot splash work (initrd fail to load)

2004-01-20 Thread Rainer Sigwald
On 00:17 Wed 21 Jan , Tianran Chen wrote:
 i am now using kernel 2.4.22-gentoo-r5, following exactly the steps shown, 
 i set up the the boot splash, recompile the kernel (this kernel is already 
 patched) and generate the initrd. but after reboot, i got error message 
 saying that:
 
 RAMDISK: couldn't find valid RAM disk image starting at 0.
 
 it seems the initrd image is invalid.
 
 can anyone tell me what i did wrong?
 

Hmm.  Was /boot mounted when you copied the initrd over?  Are you using the
genkernel automagic-everything, or doing it manually?  What was the exact
command you used to make the initrd?

Also, you were following the steps shown . . . where?

I'm no expert, but I think the guys that are will need to know this stuff.

-R


pgp0.pgp
Description: PGP signature