LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Dual boot CentOS 6 and mint 11 kataya (https://www.linuxquestions.org/questions/linux-newbie-8/dual-boot-centos-6-and-mint-11-kataya-915252/)

scorpionking1223 11-24-2011 12:07 AM

Dual boot CentOS 6 and mint 11 kataya
 
Hiii all,
I have two hard drives- one of 500gb and another of 160gb

I have installed CentOS 6 in the 500 GB HDD and Linux Mint 11 Kataya in 160 GB HDD separately respectively.

I want to make them dual boot and thus want the menu of booting any of them in the grub menu. Plzz help me...!!!


*Note-Both the HDDs are attached to my desktop , but by default i get the option to choose two kernels in the grub menu(both the kernels shown there are of centos).

Also after i log in, i can view all the partitions of my both the HDDs, also the "/" partition of mint 11 named as "30 GB File system".

Thanks in advance.

EDDY1 11-24-2011 12:40 AM

Which drive boots first?
If you change boot order to boot linux drive first
boot into mint
open terminal issue command
as root
Quote:

update-grub
or as user
Quote:

sudo update-grub

scorpionking1223 11-24-2011 12:54 AM

My 500 GB HDD Boots 1st i,e CentOS 6 boots 1st by default.

scorpionking1223 11-24-2011 01:15 AM

Thank you very very much EDDY1... Your suggestion worked for me.. :D :D

should i use the same process if i used ubuntu instead of mint ?

EDDY1 11-24-2011 02:00 AM

Yes & you're welcome, but it could've been also accomplished thru centos but I haven't worked with centos grub.

yancek 11-24-2011 08:32 AM

You should be able to boot Mint or Ubuntu with an entry like the one below in your CentOS grub.conf file:

Quote:

title Linux Mint
root (hd0,4)
kernel /boot/grub/core.img
#savedefault
#boot
You would just need to change the root line to show the partition your Mint boot files are on.
The core.img file would need to present. This should work with any Ubuntu derivative using Grub2.
Sometime the savedefault and boot lines are needed, sometimes they won't work if they are there. I have no idea why. Depends on the OS.


All times are GMT -5. The time now is 06:51 PM.