LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 04: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, 04: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 05:32 PM
kernel disaster... teona Linux - Newbie 2 12-25-2003 07:31 PM
AHHH!!! kernel upgrade disaster! axion0917 Linux - General 35 12-11-2003 06:45 AM
Newbie Kernel re-compile disaster Neorio Linux - General 7 10-23-2003 02:52 AM
freeswan kernel module - syslog a disaster toovato Debian 1 08-24-2003 02:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:46 PM.

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
Open Source Consulting | Domain Registration