Where is grub on CentOS 6
Where is grub on CentOS 6
So I googled on how to install grub.
I want a dual boot system (CentOS 6 & Windows XP and Windows 7) all on the same box.
I found many, articles saying that I could just run: $grub-mkconfig -o /boot/grub/grub.conf
but there is no grub-mkconfig command anywhere.
Was it accidentally left out of CentOS 6?
Was it that it is not that useful of a tool such that it was left out?
also many other grub commands (grub-probe) that are not on CentOS 6.
How do we vote useful commands onto the next release of CentOS6?
How do I yum install these commands? (how do I add the repo that has it for cent os 6) and how do I add the command after the repo has been added?
thanks
J.V.
I want a dual boot system (CentOS 6 & Windows XP and Windows 7) all on the same box.
I found many, articles saying that I could just run: $grub-mkconfig -o /boot/grub/grub.conf
but there is no grub-mkconfig command anywhere.
Was it accidentally left out of CentOS 6?
Was it that it is not that useful of a tool such that it was left out?
also many other grub commands (grub-probe) that are not on CentOS 6.
How do we vote useful commands onto the next release of CentOS6?
How do I yum install these commands? (how do I add the repo that has it for cent os 6) and how do I add the command after the repo has been added?
thanks
J.V.
Re: Where is grub on CentOS 6
Never used it, so I don't know. There is a file, /etc/grub.conf, that can be edited manually.
Grub2, the newer version, might use that. The articles you're viewing might have to do with Ubuntu, which uses the later grub2. I should add that many, including the developer of Sabayon Linux, feel that rather than an improvement, it's a regression. See
http://lxnay.wordpress.com/2011/07/08/open-source-projects-are-gone-crazy-period/
Grub2, the newer version, might use that. The articles you're viewing might have to do with Ubuntu, which uses the later grub2. I should add that many, including the developer of Sabayon Linux, feel that rather than an improvement, it's a regression. See
http://lxnay.wordpress.com/2011/07/08/open-source-projects-are-gone-crazy-period/
Re: Where is grub on CentOS 6
less than helpful, this does not help me get grub on the system and do what I want to do. Amazing that people can talk and post links and go on and on and still not provide an answer to what I am really looking for.
Re: Where is grub on CentOS 6
The response could be shortened: "The grub version shipped with CentOS 6 sucks really badly, don't know what to tell you. See this article of people who agree with me. You are screwed I suppose."
Re: Where is grub on CentOS 6
Errm no, the article says that the grub which the articles you mention are apparently referring to is really bad, and that CentOS was smart enough to keep using the older, better, grub.
In one of your other, several posts, all over the forum about grub, I believe I posted a link to a page of mine that gives instructions that are applicable to the grub you have.
In one of your other, several posts, all over the forum about grub, I believe I posted a link to a page of mine that gives instructions that are applicable to the grub you have.
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Where is grub on CentOS 6
[quote]
jvsrvcs wrote:
So I googled on how to install grub.
I want a dual boot system (CentOS 6 & Windows XP and Windows 7) all on the same box.[/quote]
If you had installed with the Windows drive in the system it would have been [i]automagically[/i] added to your GRUB configuration.
[quote]
...
How do we vote useful commands onto the next release of CentOS6?[/quote]
You don't. CentOS will follow what [url=http://wiki.centos.org/FAQ/General?highlight=%28TUV%29#head-d29a2b7e61ffc544973098f9dd49fe4663efba50]TUV[/url] does.
Adding the capability to boot the second drive should be as simple as adding a stanza to /boot/grub/grub.conf. If we assume that CentOS is on /dev/sda and XP is on /dev/sdb1 but was originally on /dev/sda1 when installed, requiring GRUB to "fool" XP, it would look something like this:[code]
title XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
[/code]
You should have been able to discover this by judicious use of [url=http://www.google.com/search?q=windows+grub+map+hd0+hd1&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a]google[/url].
jvsrvcs wrote:
So I googled on how to install grub.
I want a dual boot system (CentOS 6 & Windows XP and Windows 7) all on the same box.[/quote]
If you had installed with the Windows drive in the system it would have been [i]automagically[/i] added to your GRUB configuration.
[quote]
...
How do we vote useful commands onto the next release of CentOS6?[/quote]
You don't. CentOS will follow what [url=http://wiki.centos.org/FAQ/General?highlight=%28TUV%29#head-d29a2b7e61ffc544973098f9dd49fe4663efba50]TUV[/url] does.
Adding the capability to boot the second drive should be as simple as adding a stanza to /boot/grub/grub.conf. If we assume that CentOS is on /dev/sda and XP is on /dev/sdb1 but was originally on /dev/sda1 when installed, requiring GRUB to "fool" XP, it would look something like this:[code]
title XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
[/code]
You should have been able to discover this by judicious use of [url=http://www.google.com/search?q=windows+grub+map+hd0+hd1&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a]google[/url].
- AlanBartlett
- Forum Moderator
- Posts: 9345
- Joined: 2007/10/22 11:30:09
- Location: ~/Earth/UK/England/Suffolk
- Contact:
Re: Where is grub on CentOS 6
[quote]
I want a dual boot system (CentOS 6 & Windows XP and Windows 7) all on the same box.
[/quote]
Hmm [img]http://www.centos.toracat.org/ajb/tmp/hmmm.gif[/img] . . . "dual boot" plus "CentOS 6 & Windows XP and Windows 7" . . . something doesn't seem to be quite right!
I want a dual boot system (CentOS 6 & Windows XP and Windows 7) all on the same box.
[/quote]
Hmm [img]http://www.centos.toracat.org/ajb/tmp/hmmm.gif[/img] . . . "dual boot" plus "CentOS 6 & Windows XP and Windows 7" . . . something doesn't seem to be quite right!
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: Where is grub on CentOS 6
1 + 1 + 1 = Triple boot :-)
Re: Where is grub on CentOS 6
It's more of a two-stage rocket: in this case you get a dual-dual-boot :-D