LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-14-2011, 05:28 AM   #1
wsm888
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, 05:48 AM   #2
nicolasjengler
Member
 
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, 11:24 AM   #3
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,581

Rep: Reputation: 1428Reputation: 1428Reputation: 1428Reputation: 1428Reputation: 1428Reputation: 1428Reputation: 1428Reputation: 1428Reputation: 1428Reputation: 1428
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
 
  


Reply


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 10:37 AM
dual booting XP and ubuntu with ubuntu being installed first kajangmarc Linux - General 6 01-30-2009 02:06 PM
Dual Booting Ubuntu 8.10 with Vista Installed First George Jeng Linux - Newbie 2 11-04-2008 01:13 AM
Installed Ubuntu....Now Can't Access XP when Dual-booting corey1980 Linux - Newbie 3 05-18-2008 08:53 PM
help dual booting windows on already installed ubuntu machine ralphbluecoat Linux - Software 2 02-09-2007 09:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:00 AM.

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