Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-14-2011, 06:28 AM   #1
LQ Newbie
Registered: Apr 2011
Posts: 1

Rep: Reputation: 0
Question Dual booting Ubuntu and CentOS with Ubuntu installed first

Hi there.I need help with dual booting Ubuntu 10 and CentOS with Ubuntu installed first on my machine.

Thanx in advance....
Old 04-14-2011, 06:48 AM   #2
Registered: Apr 2011
Location: /dev/null
Distribution: Debian, Ubuntu, Arch, OpenSUSE, Puppy, Feather, DSL, DeLi, SliTaz, Bodhi, PCLinuxOS, Crunchbang,etc.
Posts: 74

Rep: Reputation: 9
Considering that CentOS is a Linux distro it should be available with Grub or LiLo so after you install it on another partition it may update-grub (or LiLo :P) and get you two (actually more but there's only two that will be the most used) entries in Grub (again, or LiLo) menu, one for Ubuntu and the other for CentOS.
1 members found this post helpful.
Old 04-14-2011, 12:24 PM   #3
LQ Veteran
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Xubuntu
Posts: 5,404

Rep: Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880
If CentOS behaves like Fedora (and it probably does), then when it creates grub it will make an entry for Windows (if found) but not for other versions of Linux. Ubuntu definitely sets up grub for everything it finds.

So, if you put Ubuntu on first there will be two options:

1. Let CentOS install grub to the MBR and then edit grub.conf to give an entry for Ubuntu, like this (using the original grub)
title Ubuntu
root (hd0,0)
kernel /boot/vmlinuz ro root=/dev/sda1
initrd /boot/initrd

2. Get CentOS to install grub on its own root partition and edit Ubuntu's configuration file (I can't remember what they call it) to call it, like thus (with grub2, assuming partition 3)
title CentOS
rootnoverify (hd0,3)
chainloader +1


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Dual booting CentOs and Ubuntu Godsson Linux - Newbie 5 06-16-2010 11:37 AM
dual booting XP and ubuntu with ubuntu being installed first kajangmarc Linux - General 6 01-30-2009 03:06 PM
Dual Booting Ubuntu 8.10 with Vista Installed First George Jeng Linux - Newbie 2 11-04-2008 02:13 AM
Installed Ubuntu....Now Can't Access XP when Dual-booting corey1980 Linux - Newbie 3 05-18-2008 09:53 PM
help dual booting windows on already installed ubuntu machine ralphbluecoat Linux - Software 2 02-09-2007 10:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration