LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kERNEL DISASTER (http://www.linuxquestions.org/questions/linux-newbie-8/kernel-disaster-101986/)

nelsonnery 10-09-2003 04:33 AM

kERNEL DISASTER
 
Panic!

I was trying to install a brand new kernel (for the very first time) and I messed everything up!

I have an rpm for the latest kernel available from redhat and the latest stable kernel from kernel.org, which is a tar file.

The problem is that I can't make any of these work.

The rpm I tried it with the options rpm -ivh --force and it tells me that there some "grubby error".

The tar file, I follow the instructions from the README file but it doesn't work either.

And I'm afraid that my old kernel is not recoverable (stupidly deleted it!).

Can someone give me any help with this?

If I could star the X-environment maybe I could go to the redhat up2date and, somehow, get a new kernel. I should add that this is the only way I updated kernels before, so I don't know much about kernel installation.

Any help would be REALLY welcome!

Thanks!

NELSON

P.S. I'm running redhat 9 on a laptop amd athlon.

nelsonnery 10-09-2003 04:46 AM

Just want to add something.

I would like to do it using the tar file.

What I did was:

mkdir /usr/src/linux

put the tar file in this dir

cd /usr/src/linux/linux-2.4.22

make mrproper

make menuconfig

make dep

make bzImage

make modules

make modules_install

cp System.map /boot/System.map

cp arch/i386/boot/bzImage /boot/bzImage

cp vmlinux /boot/vmlinux

/boot/grub/grub-install /dev/hda


reboot

But it doesn't work!

Can someone give me the right "step-by-step" way of doing this?

Thanks a lot!


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