Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 03-05-2006, 04:50 PM   #1
LQ Newbie
Registered: Feb 2006
Location: belgium
Distribution: Debian
Posts: 11

Rep: Reputation: 0
Question kernel panic after changing initrd for bootsplash

im running debian (etch) on a 2.6.15 kernel, which i just recompiled so i could use bootsplash. i backed up my initrd file and then did

splash -s -f /etc/bootsplash/themes/current/config/bootsplash-1024x768.cfg >> /boot/initrd.img-

when i rebooted, i got my pretty bootsplash theme, but i also got this:

RAMDISK: Couldn't find valid RAM diskimage starting at 0
VFS: CAnnot open root device "hda0" or unknown block (0,0)
Please append a correct root= boot option
Kernel panic- no suncing: VFS: unable to mount fs on unknown - block

pointing grub to my backup initrd file solves the problem, but then i dont get the nice debblue background.

so whats the problem? the splash command above obviously isnt making a working initrd file, but why not? and how do i get past this problem? google has shown me that lots of people have had this problem, but no one has given any solutions...
Old 03-05-2006, 05:12 PM   #2
Senior Member
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
You surely adapted your grub config-file - could you post it? ( along with your disk-layout: fdisk -l )
Old 03-05-2006, 06:00 PM   #3
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
Thats because debian has switched from cramfs to initramfs. I have posted very specific instructions on how to add the bootsplash to your initrd for recent debian kernels on the bootsplash mailing list. Someone else has even written a hook for mkinitramfs to do it for you.

Just search their archives.
Old 03-06-2006, 09:43 AM   #4
LQ Newbie
Registered: Feb 2006
Location: belgium
Distribution: Debian
Posts: 11

Original Poster
Rep: Reputation: 0
I found out the simply running this script fixes the problem, this is just manually adding the bootsplash to the initrd as described in the troubleshout section in this site

thanx anyway dracae
Old 06-07-2006, 10:09 PM   #5
LQ Newbie
Registered: Nov 2005
Posts: 21

Rep: Reputation: 0
clarification / expansion on bootsplash for 2.6.15+

Okay, here is a summary of the mkinitramfs-related stuff at [URL=""]
  1. download the bootsplash mkinitramfs script from, and place that in /usr/share/initramfs-tools/hooks/bootsplash
  2. chmod u+x /usr/share/initramfs-tools/hooks/bootsplash
  3. add a line to /etc/default/bootsplash for your screen resolution
    # Resolution of splash screen
  4. update-initramfs -uv

There might be other places with an English version of these instructions. Hopefully this should give you enough of a start so that you can have a hunt through archives and such for more useful / specific instructions.
Old 06-18-2007, 02:15 PM   #6
LQ Newbie
Registered: Jun 2007
Posts: 1

Rep: Reputation: 0
initramfs vs bootsplash solution

I actually created an user id so I can answer your question.

I am not sure if you found a solution or installed ubuntu or some other linux distro.

I had same problem yesterday.

The main problem is you can not do

splash -c -f "config" >> /boot/initrd.img.<your kernel version>

Debian uses initramfs and it's compressed so you can't just append splash images to the end. This has been explained in the But no real solution other than 'ya look up my comment in archieve'.

All you had to do is remove your initrd.img and run

update-initramfs -c -k <your kernel version>

OR you can go back and make the old format of initrd using mkinitrd.

I still had to modify "/etc/initramfs-tools/hooks/bootsplash" line 51 from "splash -s -f $blahblah" to "/usr/sbin/splash -s -f .."


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
bootsplash causes kernel panic after modifying initrd bewareofthesnowman Linux - Software 2 02-28-2006 07:33 PM
Bootsplash kernel panic half resolved conn-fused Mandriva 1 01-26-2005 04:16 AM
cramfs, kernel-panic...initrd, bootsplash... Outabux Debian 3 10-26-2004 07:42 PM
initrd & kernel panic asjapulk Linux - General 2 01-13-2004 02:35 AM
initrd kernel panic gavares Linux - General 0 08-25-2003 12:40 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration