Solved

Kernel Upgrade

Posted on 1997-03-27
4
298 Views
Last Modified: 2013-12-15
I currently have redhat4.0, linux kernel 2.0.18 installed. I downloaded the 2.0.29 kernel and installed it to my /usr/src/linux directory. Next I ran make config, and compiled my kernel. Then I performed the following in this order..
make dep; make clean; make zlilo

after 20 min or so I was back at my prompt and typed
sync; sync
reboot


Then the system rebooted and I was back to my 2.0.18 login.

Why is this? It should read 2.0.29 right?

I then created a boot floppy by doing this

fdformat /fd0
cd /usr/src/linux/arch/i386/boot
rdev -R zImage 1
cat zImage > /dev/fd0

Rebooted from floppy and there I was at a 2.0.29 prompt.
I have the new kernel source in my /usr/src/linux dir, Im not sure why it wont boot 2.0.29 from the hard drive. Do you know why? Im almost out of points here, please help!!!!

To sum all this up I dont want to boot from floppy, Id rather boot from my hard disk. I have the drive partitioned as follows.

/dev/hda1   main linux system
/dev/hda2   swap

The drive is IDE type and Im very new to Linux. Can you reply in idiot type terms cause Im a newbie. : )
0
Comment
Question by:denise032397
  • 2
4 Comments
 

Author Comment

by:denise032397
ID: 1627023
Edited text of question
0
 

Author Comment

by:denise032397
ID: 1627024
Edited text of question
0
 
LVL 1

Accepted Solution

by:
ggeens earned 100 total points
ID: 1627025
Red Hat apparently stores its kernel (the result of make zlilo) on a non-standard place.
Basically, you can try this:
- download the new kernel sources from Red Hat. These will install your new kernel in the same place as the 2.0.18 you have now.
- Look in /etc/lilo.conf . There should be a line containing something like `image=.../vmlinuz'. Change the path to /vmlinuz (i.e., replace anything between the `=' and `vmlinuz' by a `/')
0
 

Expert Comment

by:wiggs
ID: 1627026
I would be better to move the new kernel file to the same location as the old kernel file is.  I ran into this same situation when I recently installed a new kernel (V2.0.30) "make zImage" created the new kernel in the /usr/src/linux/i386/boot subdirectory (yours maybe in another directory, to find it use the following command "find . -name zImage -print" from the root directory.  Once you have located it, use the copy command to
put it in your root directory (where your current kernel is located).
NOTE: Make a backup copy of your current kernel before over writing it with the new one ( I used "mv vmlinuz vmlinuz.old").  Once you are ready to copy the new kernel to the root directory use the following command ("cp zImage /vmlinuz" from the directory that has your zImage kernel file.
You should do this as root.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
cannot rename datastore 3 93
winscp 000webhost.com 6 95
Check for Linux process in script 7 65
edit firefox cookie settings via shell script on ubuntu 14? 1 32
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question