2 Kernels, wrong one active

Issues related to configuring your network
Post Reply
Posts: 12
Joined: 2008/04/17 21:11:54

2 Kernels, wrong one active

Post by Likeless » 2008/04/17 21:28:30

Hi. I installed MySQL 5 from centOSplus using yum, and it also installed the centos plus kernel. I want the centosplus kernel for ufs support, but my attempts to mount my solaris drive fail:

[code][root@localhost ~]# mount -r -t ufs -o ro,ufstype=sunx86 /dev/hde /mnt
mount: fs type ufs not supported by kernel[/code]

So, I seem to have the centosplus kernel installed and yet not installed?

Here's some other, hopefully useful, info:

[root@localhost ~]# yum list --enablerepo=centosplus kernel
Setting up repositories
Reading repository metadata in from local files
Installed Packages
kernel.i686 2.6.9-67.0.7.plus.c4 installed
kernel.i686 2.6.9-67.EL installed
Available Packages
kernel.i586 2.6.9-67.0.7.plus.c4 centosplus
[root@localhost ~]# cat /proc/version
Linux version 2.6.9-67.ELsmp (mockbuild@builder10.centos.org) (gcc version 3.4.6 20060404
(Red Hat 3.4.6-9)) #1 SMP Fri Nov 16 12:48:03 EST 2007

How do I switch to make the centosplus kernel active? Failing that, is there an easy way to get at the files on the solaris drive from within centOS?

Thanks! :-)

User avatar
Forum Moderator
Posts: 7457
Joined: 2006/09/03 16:37:24
Location: California, US

2 Kernels, wrong one active

Post by toracat » 2008/04/17 23:36:53

Look at your /etc/grub.conf file. Locate the line [b]default=x[/b]. Each of your installed kernel is listed starting with the line [b]title[/b]. The [b]default[/b] starts counting from 0 (zero). Therefore, if the kernel you want to make default is listed as the second item, then you should set it to [b]default=1[/b].

If you need help, post your grub.conf file.

[EDIT] After having changed the grub.conf file, reboot the system. Make sure you are now running the centosplus kernel by [b]uname -r[/b] or by [b]cat /proc/version[/b] as you did previously.

Posts: 12
Joined: 2008/04/17 21:11:54

Re: 2 Kernels, wrong one active

Post by Likeless » 2008/04/18 00:31:56

I can now acess the kernel of my choice, thank you! :-D

Post Reply

Return to “CentOS 4 - Networking Support”