LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-24-2006, 12:52 PM   #1
neogeek23
Member
 
Registered: Jan 2006
Distribution: Kubuntu 8.10
Posts: 41

Rep: Reputation: 15
Exclamation Missing initrd image


Alright. This is my problem.

I'm trying to get Mandrivia 2007 free to work on my laptop and all is going well except for my ipw 2200BG. So I compile the new 2.6.19.1 kernel and include the drivers. I put the firmware in the /lib/firmware folder so everything is cool except that I have to get the new kernel to boot. I use lilo (by default don't know how to change to grub). I edited lilo.conf to be as such:

Quote:
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

default="2.6.19.1"
boot=/dev/hda
map=/boot/map
keytable=/boot/us.klt
menu-scheme=wb:bw:wb:bw
compact
prompt
nowarn
timeout=100
message=/boot/message
image=/boot/vmlinuz-2.6.17-5mdv
label="2.6.17-5mdv"
root=/dev/hda5
initrd=/boot/initrd-2.6.17-5mdv.img
append=" resume=/dev/hda1 splash=silent"
vga=788
image=/boot/vmlinuz-2.6.19.1
label="2.6.19.1"
root=/dev/hda5
initrd=/boot/initrd-2.6.17-5mdv.img
append=" resume=/dev/hda1 splash=silent"
vga=788
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda5
initrd=/boot/initrd.img
append=" resume=/dev/hda1"
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda5
initrd=/boot/initrd.img
append=" failsafe resume=/dev/hda1"
Notice in red is an incorrect img file for the new kernel. I need the kernel img for 2.6.19.1 not 2.6.17-5mdv. Here is what is in my /boot:

Quote:
[brad@localhost boot]$ dir
boot.0300
kernel.h
System.map-2.6.17-5mdv
config
kernel.h-2.6.17-5mdv
System.map-2.6.19.1
config-2.6.17-5mdv
map
us.klt
config-2.6.19.1
message
vmlinuz
grub
message-graphic
vmlinuz-2.6.17-5mdv
initrd-2.6.17-5mdv.img
message-text
vmlinuz-2.6.19.1
initrd.img
System.map
I complied the kernel with the following comands:

tar -xfj ... bz2_file (may have been four letter in the -xxxx
make clean
make xconfig
make rpm

cd rpm file location

rpm -ivh kernel rpm

What is it that I am doing wrong? Where can find or how can I make the 2.6.19.1.img file that I desparately need to get this work. I'm dead set against going back to windows. Please help me!
 
Old 12-24-2006, 01:29 PM   #2
runnerfrog
Member
 
Registered: Jul 2006
Location: Paraná, Argentina
Distribution: Frugalware 0.6 (Terminus) - Kubuntu 7.04 (Feisty Fawn Herd 5)
Posts: 217

Rep: Reputation: 31
Hi.
Try building the image, e.g., mkinitrd -o /boot/initrd-2.6.19.1.img 2.6.19.1
 
  


Reply


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
Make new initrd image qewldude Fedora - Installation 3 02-15-2008 09:56 AM
mounting the initrd image d0tc0mguy Linux - Newbie 1 09-29-2006 05:16 AM
changing contents of initrd image kushalkoolwal Debian 4 08-10-2006 09:05 PM
loading modules with an Initrd image? komuthan Slackware 4 12-07-2005 12:17 AM
What's initrd image? Nerox Linux - Newbie 2 08-25-2004 04:53 PM


All times are GMT -5. The time now is 01:22 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration