LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Missing initrd image (https://www.linuxquestions.org/questions/linux-kernel-70/missing-initrd-image-513409/)

neogeek23 12-24-2006 12:52 PM

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!

runnerfrog 12-24-2006 01:29 PM

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


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