LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 08-12-2014, 04:59 PM   #1
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 750

Rep: Reputation: 156Reputation: 156
dual boot centos6 & 7


Hi,

my server currently runs Centos6. I have been playing about with Centos7 in VirtualBox for a few weeks now and would like to install. In the short term I would like to dual boot with 6 just in case.

I have documented my installation procedure so that should be easy enough. However, I do not see any options to locate a bootloader - this may be due to the VM. Does the installer just install a bootloader and recognise existing distros? Or have I missed something at install time? I have the "everything" ISO.

Cheers
 
Old 08-12-2014, 06:13 PM   #2
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
Usually the bootloader install just picks up existing entries or OS's and incorporates them.

I don't want to jinx you, but so far this has worked pretty flawlessly for me. I just installed RHEL7 alongside Fedora last week or the week before and it auto-detected everything without issue.

Now as for there being extra repositories ready for me to use in RHEL7 ... well, that's another story... :-)
 
Old 08-12-2014, 06:14 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,341

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Quote:
Originally Posted by timl View Post

In the short term I would like to dual boot with 6 just in case.

I do not see any options to locate a bootloader - this may be due to the VM. Does the installer just install a bootloader and recognise existing distros?
What I am describing is how most distributions work and I think CentOS follows this pattern. My description is also for x86 architecture only.

The installer will run the grub bootloader. The grub bootloader will find all of your installed operating systems and describe them in grub configuration files located in /boot/grub. Then grub will place a boot record on your MBR which points to the grub configuration file called /boot/grub/grub.config.

If you install two different versions of CentOS then each install will configure and install grub. (The installer might give you the option of skipping installing grub.) Which ever install you do last will be the one with a bootloader on the MBR. I suggest that you do CentOS 7 last so that you will be using the latest version of grub.

But you don't have to do the installs in that order. When you finish all of the installs you can boot into whichever distribution you want to supply grub and go through the grub install process. Here is a description of the grub install process.

http://wiki.centos.org/HowTos/GrubInstallation

-------------------
Steve Stites

Last edited by jailbait; 08-12-2014 at 06:16 PM.
 
Old 08-12-2014, 06:27 PM   #4
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 750

Original Poster
Rep: Reputation: 156Reputation: 156
Thanks. Centos6 will still be there so if I don't automatically get a dual boot I can tinker with grub - it is not the end of the world. The rest of the house relies on this server so I don't want it unavailable.

Before I install I need to resize one of the disks and that is causing me grief now so I need to concentrate on that first.

Cheers
 
Old 08-14-2014, 04:56 PM   #5
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 750

Original Poster
Rep: Reputation: 156Reputation: 156
Update. I wrote a procedure with Centos7 under VirtualBox. There IS an option to specify the boot disk. When you click on "Installation Destination" there is a link right at the bottom of the screen "Full Disk Summary and Bootloader".

Sorted!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot CentOS6.5 / Win7 Enterprise thedatapusher Linux - General 8 03-22-2014 05:13 PM
Dual boot Dual Drive Ubuntu Jaunty & XP - Advice on Best Way? Paul Langdon Linux - Newbie 4 05-28-2009 05:11 AM
how to remove ubuntu8.04 from a dual boot lappy as has 8.04 & 8.10 & windows Cooder Linux - Newbie 1 12-13-2008 04:54 AM
When I boot my comp. (dual boot sys-Suse 10.1 & Win XP) the first boot stalls. philip niedermeyer Linux - Desktop 5 11-13-2006 06:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 04:40 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