LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 06-16-2014, 01:50 AM   #1
ralphank
LQ Newbie
 
Registered: Feb 2006
Posts: 3

Rep: Reputation: 0
Installing CentOS 6 on Windows7, Fedora20 dual boot system.


Hi,
I'm posting to the Red Hat forum because there is no separate Centos forum.
I recently installed Fedora 20 on my local Windows 7 machine and I'm using GRUB2 to boot both systems. Fedora was installed on unused space on the single hard drive.
Everything works well. The installer was a pleasure to work with.
Since I'm also running a Centos 6 VPS remotely, I'd like to install Centos 6 on the same local machine as Fedora and Windows 7. I still have plenty of unallocated space on my hard drive
Since Centos 6 uses GRUB 1, I'm wondering how I might handle the installation. GRUB 2 is currently on the MBR. Could I somehow use GRUB2 to boot all three OS's. Or, will the Centos installer overwrite the MBR with GRUB1 ? If so, would GRUB 1 handle booting Fedora 20, Centos 6 and Windows 7 ? Would I have to modify some of the GRUB configuration files?
Any insight would be much appreciated.
Hank
 
Old 06-16-2014, 03:46 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
You might want to think about installing it as a virtualised guest. Then you don't have to worry about it at all.
Quote:
Originally Posted by ralphank View Post
Or, will the Centos installer overwrite the MBR with GRUB1 ? If so, would GRUB 1 handle booting Fedora 20, Centos 6 and Windows 7 ? Would I have to modify some of the GRUB configuration files?
Been a while since I installed CentOS, but
- yes the default install will overwrite the MBR.
- grub legacy can boot all 3, but F20 using os-prober and grub2 is better, and automatic.
- yes, you'd have to update menu.lst (probably still called grub.conf in CentOS).

You have the option to not install a boot-loader at all in the CentOS installer, but if you have the option it might be a better bet to install to the root partition if you have that option. Check the drop-down list to see what options you get.
 
Old 06-16-2014, 07:06 AM   #3
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
I forget where exactly the choice is in the Centos install sequence, but there is a choice to install the first sector of legacy Grub in the boot sector of the partition where the rest of legacy Grub is installed, rather than the default location in the MBR.

In Grub2 it is easy to configure a menu item to boot Centos 6 directly skipping legacy Grub. But you may prefer to put in a menu item to chainload to the boot sector of the partition containing Grub. That would give you the Grub2 menu followed by the legacy Grub menu (you can make the legacy Grub menu fast and silent if you like).
 
Old 06-16-2014, 07:42 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
I just installed CentOS for the first time last week and it does have an option to install Grub to the root partition. The default is to the mbr so you need to pay attention during the install to make the selection. If you want the Fedora Grub2 booting, you will need to boot into Fedora after installing CentOS and run the grub-mkconfig command so that Fedora can add CentOS to its boot menu. See link below:

http://fedoraproject.org/wiki/GRUB_2
 
Old 06-16-2014, 08:09 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Note that on Fedora that would be grub2-mkconfig (yes, I know it's lame, but it's what we have to live with). The wiki should have the correct (for Fedora) command(s).
 
Old 06-17-2014, 11:10 AM   #6
ralphank
LQ Newbie
 
Registered: Feb 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the quick replies. You have given me a lot to think about. After I decide on the approach I'm going to take I shall post my results.
Hank
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS & Windows7 dual boot problem rupeshm62 Linux - Desktop 3 08-15-2012 11:36 AM
Dual Boot Windows7 and Fedora14 Subrat6 Linux - Newbie 1 09-02-2011 02:52 AM
Problem of dual OS of Windows7 and CentOS 5.5.. TonyGh Linux - Newbie 2 01-26-2011 04:34 PM
trying to uninstall debian5 or dual boot with windows7 one2know Linux - Software 2 08-26-2010 03:08 PM
dual boot problem: windows7 and ubuntu baxzius Linux - Newbie 2 02-03-2010 04:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration