Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 03-30-2007, 09:16 AM   #1
Registered: Aug 2005
Distribution: Arch Linux
Posts: 91

Rep: Reputation: 15
Question this initrd.img file???


I've recently compiled my own kernel version 2.6.20.
As I'm running Debian, I applied the bootsplash patch to the sources to make everything look nice.
I configured and compiled my kernel, its running fine. (bootsplash also works)
during boot up, (as is required by bootsplash) I need to specify an initrd.img
I used
make-kpkg --append-to-version=.290307 --initrd kernel_image
to compile my kernel which then generates the initrd.img for me when installing my *deb.

However I don't really need a 'full' initrd.img, I just need it to store the bootsplash config/image during boot. For some reason the initrd.img seems to be missing this 'modules.dep' file (it is there in my local filesystem).
This generates ALOT of 'FATAL' errors during bootup even slowing down bootup in general. The errors occur before 'init' gets initialised! I would post a log, but these errors don't show up in dmesg or kernel.log, or anywhere. How can I access what is displayed on-screen during start-up??? How can I scroll backwards on the console?

I tested booting my kernel without an initrd.img, the errors are gone, bootup is fast, but obviously theres no splashimage

So how do I controll 'what' goes into my initrd.img and what doesn't. How can I even 'see' whats inside? I tried
man update-initramfs
but that didn't give me any clues.

Help me!
Old 03-31-2007, 05:21 AM   #2
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 918

Rep: Reputation: 32
# make-kpkg --append-to-version=.290307 --initrd kernel_image modules_image

Old 03-31-2007, 06:50 PM   #3
Registered: Aug 2005
Distribution: Arch Linux
Posts: 91

Original Poster
Rep: Reputation: 15
Its a Debian specific command that builds a kernel image.
"--append-to-version" just gives the image a 'custom name'
"--initrd" means that an initrd.img gets built.


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
Initrd.img spaguzz Slackware 4 12-16-2004 04:35 AM
Initrd.img spaguzz Linux - Software 1 12-09-2004 04:21 PM
What's an initrd.img? hotel-lima Linux - Newbie 2 06-11-2004 06:50 PM
initrd.img php_rocks Linux - Newbie 1 09-01-2003 12:20 AM
Initrd-x.x.x-x.img File bas12547 Linux - Software 1 07-05-2003 08:47 AM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 02:22 AM.

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