1

I am using Linux Mint 17.3 now and I want to install CentOS 7 alongside Linux Mint which I can choose when booting. How can I do dual boot from these distributions?

8
  • 1
    1. Why do you want two Linux distributions one alongside others? 2. Isn't virtualization a more viable solution? 3. If you really want to, use either one's grub and it will detect the other OS and allow you to boot it.
    – schaiba
    Commented Sep 7, 2016 at 11:49
  • No. I am going to prepare for RHCSA and I need a virtualization on CentOS . Also I don't want to remove my Mint. Commented Sep 7, 2016 at 11:51
  • It is impossible virtualization inside of Virtual Machine. Therefore I need it. Commented Sep 7, 2016 at 11:54
  • You just install the new system. What exactly is the issue here? There's nothing special about these two, you can install both just like you would for any other operating system. Have you read any information about dual booting? Which part of it is giving you trouble?
    – terdon
    Commented Sep 7, 2016 at 11:58
  • So you have a VM with Mint and you want CentOS on the same VM? Why not create a new VM?
    – schaiba
    Commented Sep 7, 2016 at 11:58

1 Answer 1

1

Install CentOS as usually , Reboot into Linux mint and run the following command:

grub-mkconfig -o /boot/grub/grub.cfg

The grub.cfg will be updated and a new entry will be added automatically to GRUB menu

3
  • 1
    Why? The CentOS grub should have detected the Mint install anyway. Why re-run it?
    – terdon
    Commented Sep 7, 2016 at 12:36
  • @terdon Recently i have installed opensuse , Freebsd and Remixos alongside Debian , the two last OS can't be detected after adding two new entry to my /etc/grub.d/40_custom until i have regenerate the grub.cfg from debian
    – GAD3R
    Commented Sep 7, 2016 at 12:50
  • 1
    @GAD3R no, the last two probably won't since they probably don't install their own bootloader unless told to. Most Linux distros do so though and the ones here use grub by default, so this shouldn't be necessary. CentOS should install its own grub and detect the other systems. Of course, should is not always will, but still. . .
    – terdon
    Commented Sep 7, 2016 at 12:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .