PDA

View Full Version : [ubuntu] Dual boot setup | ubuntu16 over centos7



praduman1417
January 14th, 2017, 01:25 PM
hi guys

i am trying to install ubuntu machine with centos installed on diff. partition....so that i can make dual boot and from grub i can boot one of them.

but after installing ubuntu ...the grub still showing centos grub entries...( no ubuntu entry )

how can i get ubuntu grub entry??

===========================

FYI
installing on same hard disk ( /dev/sda)
centos boot (/dev/sda3) and (/dev/sdb4)

ubuntu on ( /dev/sda1)
=================================

praduman1417
January 14th, 2017, 01:27 PM
right now i am able to boot to centos machine

oldfred
January 14th, 2017, 03:52 PM
May be best to see details, you can run from Ubuntu live installer or any working install:
Post the link to the Create BootInfo summary report. Is part of Boot-Repair:
https://help.ubuntu.com/community/Boot-Info
(https://help.ubuntu.com/community/Boot-Info)
https://sourceforge.net/p/boot-repair/home/Home/


(https://help.ubuntu.com/community/Boot-Info)

praduman1417
January 14th, 2017, 05:22 PM
Hey guys its resolved

i just rerun the command on centos
grub2-mkconfig -o /boot/grub2/grub.cnf

running this automatically made entry for ubuntu grub line
after that i am able to boot in both the machines