Ask Your Question
0

Dual boot Fedora & CentOS

asked 2015-03-07 15:51:45 -0500

Kostas gravatar image

updated 2015-06-25 22:54:31 -0500

mether gravatar image

Hi,

I am looking for a new setup on my linux box. More specifically I would like to have 2 independent distros on the same box. One distro (Fedora 21) for using all latest gnome, etc goodies and one stable distro (CentOS 7) for falling back when the latest dirsto (Fedora 21) is failing. What would be the best setup?

Background: Generally, I am a professional server side java developer and I would say I am an experienced bash shell user (on Red Hat). However I don't have admin linux experience and never used linux as my main personal OS. Now I would like to make that switch. So far I have used CentOS 7 and I am happy with it but I am missing all latests Gnome updates available in the Fedora releases.

I was thinking of using 2 partitions for each distro and one partition for my home directory. Using grub I will dual boot between fedora (default) and centos. If the fedora upgrade/update fails then I will use centOS. Is these setup recommended? Is there a better way achieving the same? Any documentation/resource on the web?

I am not experienced with grub. How both distros can use the same grub config so that I can get both OS configuration on the grub screen during boot?

edit retag flag offensive close merge delete

Comments

It's best to use a separate /boot partition for each distro. grub2-mkconfig from either centos7 or Fedora should find the other. It's not much more complicated than that :)

randomuser gravatar imagerandomuser ( 2015-03-09 20:35:16 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-03-08 23:06:01 -0500

You could install Oracle's virtual box and run what ever os you want in it. Install CentOS 7 on the machine & run Fedora in Virtual box.

I ran Fedora 19 and Debian on different partitions. I had no trouble getting these to work together. I installed Fedora then Debian. No trouble with grub. I would install Centos 7 then fedora to be using the latest version of grub for the second install. I'd avoid LVM like the plague. Fedora will still create create two partitions for Fedora plus a third parition for swap. To install the second os. Let free space on the disk. This way Fedora install can chop out it's two partition plus swap space.

Create a standalone cd/flash drive of a bootable Gparted. I like gparted graphical display of the disk.

A common home directory -- mostly would work -- some apps might have changed their file formats and react negatory with the switch between os's. You will have to experiment.

Use clonnezilla to to a complete backup of your system, if you have anything important on the disk.

Robert

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-03-07 15:51:45 -0500

Seen: 1,853 times

Last updated: Mar 08 '15