grub / CentOS Linux kernel questions

General support questions
Post Reply
jvsrvcs
Posts: 31
Joined: 2011/06/24 01:00:39

grub / CentOS Linux kernel questions

Post by jvsrvcs » 2011/08/12 16:16:33

Question 1)
I did a #grub-install /dev/sda

and now it boots to a default kernel, but when I press the space bar, I get two options.


CentOS Linux 2.6.32-71.29.1.el6_x86-64
CentOS Linux 2.6.32-71.el6_x86-64

What makes the "29.1" more special than the "" non "29.1"?

Why would I need or want to use #2?

---

Question 2) With this version of grub (0.97), how do I configure to boot my Windows 7 disk (on sdb)?

I have asked on the grub mailing list and the answser is that grub 1 (0.97) is not supported on the list, only 0.98 and higher (grub2)

Regards,


J.V.

markkuk
Posts: 739
Joined: 2007/09/07 10:56:28
Location: Finland

grub / CentOS Linux kernel questions

Post by markkuk » 2011/08/12 16:26:48

1. 2.6.32-71 is the original version installed from CentOS 6.0 media, 2.6.32-71.29.1 is an updated version.
2. Legacy GRUB documentation is on the Web at http://www.gnu.org/software/grub/manual/legacy/ or you can read it on your CentOS machine with the command "info grub".

User avatar
TrevorH
Site Admin
Posts: 33225
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: grub / CentOS Linux kernel questions

Post by TrevorH » 2011/08/12 18:29:37

[quote]
Why would I need or want to use #2?
[/quote]

You get more than one kernel because it's such an important part of the operating system that if the newly installed one does not work, then you have the option of booting the old - and hopefully still working - one that you had before.

jvsrvcs
Posts: 31
Joined: 2011/06/24 01:00:39

Re: grub / CentOS Linux kernel questions

Post by jvsrvcs » 2011/08/13 00:53:27

Thanks for the help. So at some point I updated something? I do not remember specifically updating the kernel, but I did do a #yum update.

Would that have put the new kernel on?

thanks

J.V.

User avatar
TrevorH
Site Admin
Posts: 33225
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: grub / CentOS Linux kernel questions

Post by TrevorH » 2011/08/13 01:22:09

[quote]
Would that have put the new kernel on?
[/quote]

Yes

Post Reply