Upgrading RH7.1 to kernel-2.4.20-19.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Red Hat support > Red Hat Kernel > Upgrading RH7.1 to kernel-2.4.20-19.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Upgrading RH7.1 to kernel-2.4.20-19.  
Wang Yu III


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:28 AM

I had always use RHN to upgrade, this time trying to upgrade
my RH7.1 to kernel-2.4.20-19.7 it got to 'kernel panic' while
booting the newly installed kernel for the first time.
I tried downloading the 'kernel-2.420-19.7.i386.rpm' by ftp
and tried 'rpm -Uvh kernel-2.4.20-19.7.i386.rpm' but it got
into so many weird parade of 'lib incompatible' errors.
Upgrading the RH7.1 kernel by RPM, am I doing it correctly?
If not, any suggestion?  Thanks.








[ Post a follow-up to this message ]



    Re: Upgrading RH7.1 to kernel-2.4.20-19.  
jgk


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:28 AM

Wang Yu III,


If your system is registered with Red Hat Network, just use up2date.


Regards,


Jan Gerrit Kootstra

"Wang Yu III" <wangyu3@netzero.net> schreef in bericht
news:3F21978C.684DDC3C@netzero.net...
quote:
> I had always use RHN to upgrade, this time trying to upgrade > my RH7.1 to kernel-2.4.20-19.7 it got to 'kernel panic' while > booting the newly installed kernel for the first time. > I tried downloading the 'kernel-2.420-19.7.i386.rpm' by ftp > and tried 'rpm -Uvh kernel-2.4.20-19.7.i386.rpm' but it got > into so many weird parade of 'lib incompatible' errors. > Upgrading the RH7.1 kernel by RPM, am I doing it correctly? > If not, any suggestion? Thanks. > > >




[ Post a follow-up to this message ]



    Re: Upgrading RH7.1 to kernel-2.4.20-19.  
Wang Yu III


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:28 AM

My system is registered with RHN but when I run the up2date and
installed the new kernel, I got to the 'kernel panic'.

jgk wrote:
[QUOTE]
> Wang Yu III,
>
> If your system is registered with Red Hat Network, just use up2date.
>
> Regards,
>
> Jan Gerrit Kootstra
>
> "Wang Yu III" <wangyu3@netzero.net> schreef in bericht
> news:3F21978C.684DDC3C@netzero.net... 






[ Post a follow-up to this message ]



    Re: Upgrading RH7.1 to kernel-2.4.20-19.  
Wang Yu III


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:28 AM

Yes I also tried 'rpm -ivh' but gave same error...


Mark Taylor wrote:
quote:
> Wang Yu III <wangyu3@netzero.net> wrote in > news:3F21978C.684DDC3C@netzero.net: > > > To install kernel packages manually, use "rpm -ivh <package>" and > modify system settings to boot the kernel you have installed. To > do this, edit /boot/grub/grub.conf and change the default entry to > "default=0" (or, if you have chosen to use LILO as your boot loader, > edit /etc/lilo.conf and run lilo) > > Do not use "rpm -Uvh" as that will remove your running kernel binaries > from your system. You may use "rpm -e" to remove old kernels after > determining that the new kernel functions properly on your system. > > (Copied right off the Red Hat errata page for the kernel rpm. RTFM! > > Mark




[ Post a follow-up to this message ]



    Re: Upgrading RH7.1 to kernel-2.4.20-19.  
Mark Taylor


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:28 AM

Wang Yu III <wangyu3@netzero.net> wrote in
news:3F222D1E.4A578A2E@netzero.net:
quote:
> Yes I also tried 'rpm -ivh' but gave same error... > >
Of course it did... when you used rpm -Uvh it erased the working kernel binaries. What you now need to do is reboot the machine to an older, known to work, kernel. Then install the new kernel with up2date or with rpm -ivh It should then install. You will likely have to remove the trashed kernel(s) and edit lilo for it to all work right. Mark




[ Post a follow-up to this message ]



    Re: Upgrading RH7.1 to kernel-2.4.20-19.  
Wang Yu III


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:28 AM

Okay, I just did 'rpm -ivh kernel-2.4.20-19.7' and seemed it installed
normally.  I made coldboot and tried the newly installed kernel.  I got
stuck with the 'kernel panic'.

I tried 'rpm -q kernel-2.4.20-19.7' it returned 'not installed' but why I
see the newly installed kernel at '/lib/modules/' so I did 'rpm -e
kernel-2.4.20-19.7' but it also returned 'not installed'.  :-(

Mark Taylor wrote:
quote:
> Wang Yu III <wangyu3@netzero.net> wrote in > news:3F222D1E.4A578A2E@netzero.net: > > > Of course it did... when you used rpm -Uvh it erased the working kernel > binaries. > > What you now need to do is reboot the machine to an older, known to work, > kernel. Then install the new kernel with up2date or with rpm -ivh > > It should then install. You will likely have to remove the trashed > kernel(s) and edit lilo for it to all work right. > > Mark




[ Post a follow-up to this message ]



    Re: Upgrading RH7.1 to kernel-2.4.20-19.  
Mark Taylor


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:28 AM

Wang Yu III <wangyu3@netzero.net> wrote in
news:3F24C4B7.A8744886@netzero.net:
quote:
> I tried 'rpm -q kernel-2.4.20-19.7' it returned 'not installed' but why
Because the proper command would be: rpm -q kernel Quite likely your getting a kernel panic because the old kernel is trying to boot. Have a look at, or post, your /etc/lilo.conf file. Mark




[ Post a follow-up to this message ]



    Re: Upgrading RH7.1 to kernel-2.4.20-19.  
Mark Taylor


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:28 AM

Wang Yu III <wangyu3@netzero.net> wrote in
news:3F24D0D3.998E0250@netzero.net:
quote:
> But why it updated the kernel before without me doing all > this craps? >
Glad you got it working.. but we may never know. The only thing I would guess it that by attempting to Upgrade the kernel the first time you overwrote some necessary files preventing the proper install. Whatever you did to make it work then just live with it. Next time do an install instead of an upgrade and see if you get a cleaner install... Now you can consider uninstalling old kernels that you no longer use. Otherwise you will run out of space after installing the 4th or 5th new kernel. To uninstall use rpm -e kernel-x.x.x-x You may need to then edit and run lilo...maybe not. Cheers, Mark




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:49 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register