LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


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

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


Hi!

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)
BUT:
during boot up, (as is required by bootsplash) I need to specify an initrd.img
I used
Code:
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
Code:
man update-initramfs
but that didn't give me any clues.

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

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

???
 
Old 03-31-2007, 05:50 PM   #3
hungrigerhaifisch
Member
 
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 08:34 PM.

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