[CentOS] RE: trying to upgrade fromCentos4.0tocurrent--repairRPMdatabase

Johnny Hughes mailing-lists at hughesjr.com
Sun Aug 21 10:21:35 UTC 2005


On Sun, 2005-08-21 at 05:59 -0400, David Campbell wrote:
> Here is what grub.conf says..
> 
> 
> 
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to this file
> # NOTICE:  You have a /boot partition.  This means that
> #          all kernel and initrd paths are relative to /boot/, eg.
> #          root (hd0,0)
> #          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
> #          initrd /initrd-version.img
> #boot=/dev/hda
> default=0
> timeout=5
> splashimage=(hd0,0)/grub/splash.xpm.gz
> hiddenmenu
> title CentOS 4.0 (2.6.9-5.0.3.EL)
>         root (hd0,0)
>         kernel /vmlinuz-2.6.9-5.0.3.EL ro root=/dev/VolGroup00/LogVol00 rhgb
> quiet
>         initrd /initrd-2.6.9-5.0.3.EL.img
> ~
> 
> 
> 
> 
> 
> Thanks
> 
> Dave
> 
> 

Dave,
You need the i686 kernel and not the i586 kernel.

Make your grub.conf look like this (leave all the remarked stuff, that
begins with #, alone) :

default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS 4.0 (2.6.9-5.0.3.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-5.0.3.EL ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.9-5.0.3.EL.img

title CentOS 4 (2.6.9-11.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-11.EL ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.9-11.EL.img

#-----------------------------------------------

If, for some reason the new kernel doesn't boot, shift to default=0 in
grub.conf.


> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org]On
> Behalf Of Craig White
> Sent: Sunday, August 21, 2005 12:12 AM
> To: CentOS mailing list
> Subject: RE: [CentOS] RE: trying to upgrade
> fromCentos4.0tocurrent--repairRPMdatabase
> 
> 
> On Sat, 2005-08-20 at 20:21 -0400, David Campbell wrote:
> > Output is as follows
> >
> >
> > kernel-2.6.9-11.EL
> > kernel-2.6.9-5.0.3.EL
> > kernel-2.6.9-5.0.5.EL
> > kernel-utils-2.4-13.1.66
> > kernel-utils-2.4-13.1.48
> >
> > The only available kernel that shows in the boot is the 2.6.9-5.0.3EL
> ----
> why not 'cat /boot/grub/grub.conf' and 'ls -l /boot' and we'll give you
> the changes to make to /boot/grub/grub.conf
> 
> Craig

-- Johnny Hughes
< http://www.hughesjr.com/ >

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20050821/6f046bae/attachment.sig>


More information about the CentOS mailing list