On Sun, 2005-08-21 at 06:29 -0400, David Campbell wrote: > Ok, thanks.. is there a way I can tell for sure which kernels I have > installed. I have tried rpm -i and the 686 kernel name and it says already > installed.. tried it with the 586 also and got same results... also tried > rpm -e for each and it said "not installed" though I did the rpm -i again > and it said it was, so I found it strange. > > Thanks > > Dave > Use the following commands to see the arches of your installed kernels: rpm -q --qf '[%{name}-%{version}-%{release}.%{arch}\n]' kernel and rpm -q --qf '[%{name}-%{version}-%{release}.%{arch}\n]' kernel-devel (you would substitute kernel-smp and kernel-smp-devel if you had an smp kernel installed) > -----Original Message----- > From: centos-bounces at centos.org [mailto:centos-bounces at centos.org]On > Behalf Of Johnny Hughes > Sent: Sunday, August 21, 2005 6:22 AM > To: CentOS ML > Subject: RE: [CentOS] RE: trying to > upgradefromCentos4.0tocurrent--repairRPMdatabase > > > 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/fdad22b0/attachment-0005.sig>