How can make Dual boot on CentOS 6 for booting Ubuntu?

General support questions
Post Reply
nobody
Posts: 66
Joined: 2012/04/13 00:53:49

How can make Dual boot on CentOS 6 for booting Ubuntu?

Post by nobody » 2017/09/10 11:23:18

Hi,

I installed CentOS 6.8 with following dual boots for Ubuntu 14.04, but CentOS 6 grub cannot boot Ubuntu 14.04, it could not boot ubuntu, during the booting, it did some loading process then stuck with a cursor in a black page. Has anyone knows how to boot Ubuntu from CentOS grub? Thank you.

title CentOS 6 (2.6.32-642.el6.x86_64)
root (hd1,5)
kernel /boot/vmlinuz-2.6.32-642.el6.x86_64 ro root=UUID=7053314a-13bd-43cd-8e0f-b7603925c780 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
initrd /boot/initramfs-2.6.32-642.el6.x86_64.img

title Ubuntu LTS 14.04.5
root (hd1,6)
kernel /boot/vmlinuz-4.4.0-31-generic root=/dev/sdb7 ro quiet text single rdblacklist=nouveau nouveau.modeset=0
initrd /boot/initrd.img-4.4.0-31-generic

scottro
Forum Moderator
Posts: 2556
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: How can make Dual boot on CentOS 6 for booting Ubuntu?

Post by scottro » 2017/09/10 17:56:41

This is for an older version of Fedora, but might work.

That article assumes you want to use CentOS' grub.

http://srobb.net/rhgrub.html

The other option, which might be better is that once you've mounted the Ubuntu partition as described in the article, instead of running grub-install /dev/sda1 (or wherever the Ubuntu system is),, you can just run grub-install /dev/sda which will put it in the machine's MBR. Then it will use the Ubuntu grub which should see the CentOS system.
New users should check the FAQ and Read Me First pages

Post Reply