LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-15-2016, 05:15 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 11
Post Install Two Linux Distros.


Hello.
I have a Debian 7 X64 nad I want to install a CentOS too but can CentOS detect my Debian and automatically configure bootloader? I like to have two Distros.

Thank you.
 
Old 10-15-2016, 07:49 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Quote:
but can CentOS detect my Debian and automatically configure bootloader? I like to have two Distros.
Whether CentOS-installer can detect or not it doesn't matter, still you can install two distros and boot either from grub. You only need to do these:
1--Back up your Debian (running) partition and most important: BACKUP THE MBR using dd.
2--Make sure you have one free partition for the new distro (shrink and create if needed using Gparted, download this iso).
3--See that Grub is already installed in Debian. Upon installation of CentOs do not choose to install boot loader. Leave this for later configuration from the Debian.
4--After installing the new CentOS (that being there now without bootloader of its own yet) boot back to your Debian and from there open up a terminal and issue following commands:
Code:
/usr/sbin/grub-probe
(you will need wait until probing is completed. Then issue the next command)
/usr/sbin/grub-mkconfig
wait again until re-creation of grub.cfg is completed.
and lastly
Code:
/usr/sbin/grub-update
Reboot. If everything went well you will be offered an option to boot your new CentOS.
I have given in answer more than what your simple question sought for. Why? Because as a new Linux user you must at least learn to do the simple maintenance work --configuring Grub2 to multiboot new distro is just one of maintenance work. Try those instructions, if you want to learn the simple trick. Come back for issues.

Hope that helps. Good luck and enjoy.

m.m.
 
2 members found this post helpful.
Old 10-17-2016, 03:36 PM   #3
offgridguy
Senior Member
 
Registered: Nov 2015
Location: Alberta Canada
Distribution: Windows10, Debian
Posts: 1,109

Rep: Reputation: 147Reputation: 147
@ malekmustaq,
Very helpful answer, thanks.
 
  


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
Cant install any linux distros Disobedience Linux - Software 9 01-10-2013 12:49 PM
64 bit linux distros - To Install or not to install aytida.xavierite Linux - Distributions 6 03-20-2008 03:39 PM
Linux distros won't install bci Linux - Newbie 2 01-29-2007 02:03 AM
Cannot Install linux (several distros) abhinav7 Linux - Newbie 7 09-30-2005 03:50 PM
Cannot Install any Linux distros tb28025 Linux - Newbie 34 06-24-2005 03:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:34 PM.

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