LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-09-2003, 05:33 AM   #1
nelsonnery
Member
 
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57

Rep: Reputation: 15
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.
 
Old 10-09-2003, 05:46 AM   #2
nelsonnery
Member
 
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57

Original Poster
Rep: Reputation: 15
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!
 
  


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
One newb's disaster Showtime8000 Linux - General 1 10-24-2004 06:32 PM
kernel disaster... teona Linux - Newbie 2 12-25-2003 08:31 PM
AHHH!!! kernel upgrade disaster! axion0917 Linux - General 35 12-11-2003 07:45 AM
Newbie Kernel re-compile disaster Neorio Linux - General 7 10-23-2003 03:52 AM
freeswan kernel module - syslog a disaster toovato Debian 1 08-24-2003 03:28 AM


All times are GMT -5. The time now is 02:41 AM.

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