problem in creating dual image of redhat9 linux kernel2.4.20-8
hello ,
I'm making my project on redhat9 linux kernel2.4.20-8
I'm able to boot from it .theres no problem with that.My project involves making some changes in the kernel file(TCP files)and then recompiling the kernel to make the changes permanent and then analyze the performance of the new tcp code.
So before doing any changes i'm trying to create an image of the same kernel and try to find out if its working or not ...........because i need to have 2 images of kernel in my system --the original one and the changed one for the project.
When i try to compile the kernel following the required steps::
make mrproper
make xconfig
make dep
make clean
make bzImage
make modules
cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.20.-8
mkinitrd -v /boot/initrd-2.4.20-8.img 2.4.20-8
and then making changes in the grub by copying the first entry and pasting as second entry
title linux-2.4.20-8
root(hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=label=/
initrd /initrd-2.4.20-8.img
title linux
root(hd0,0)
kernel /vmlinuz-2.4.20 ro root=label=/
initrd /initrd-2.4.20.img
however when i'm creating a second image of the same kernel i change names of vmlinuz and initrd
but when i try to boot from the second option it gives me the following errors::
VFS:cannot open root device "Label=/" or 00:00
Please append a correct "root=" boot option
Kernel panic:VFS:Unable to mount root fs on 00:00
i dont have nay idea how to compile file ext2 or ext3 as i saw as a solution on other sites
|