Install CentOS 5 along side Ubuntu OS

Say, I have one hard disk with Ubuntu installed and I would like to install CentOS on the same PC. What are the exact step tp follow for a dual boot system? Tx
shaunwinginAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mrjoltcolaCommented:
You can use GRUB or whichever bootloader you want to boot both.

Do you have anough partitions on the disk? You need at minimum an extra partition for the 2nd root filesystem.

1) Install the first Linux and put enough partitions for a separate root & swap partition. You can leave a primary partition free or you can go ahead and partition as a Linux partition as well, but leave it for the 2nd OS.

2) Install 2nd OS, choose the free paritition as the primary for root, and you can probably reuse the swap partition from the 1st install, since you will not be booting both simultaneously.

I've not installed CentOS but on most distros GRUB setup step gives you an option to boot other parititions / OSes, and at that step, you can add in / maintain the separate bootable partitions.

You can even choose in each install to mount the filesystem from the other install, so you can always access both from either boot.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
shaunwinginAuthor Commented:
TX. Its using grub
How do I create the 2nd partition please?
Is there a simple way to copy the CentOS DVD to the HD and install off the HD rather than DVD?
0
mrjoltcolaCommented:
Do you have free space on the drive? If there is no space, you won't be able to create a partition unless you use a separate tool to resize partitions to free up space.

If you have free space, then during the CentOS install you'll be given a chance to create / choose / format a new partition. Just make sure not to choose the existing partition from the Ubuntu install.

I've never installed from the HD. Usually its preferred to boot from the DVD
0
Kerem ERSOYPresidentCommented:
Another option is to format the HDD with CentOS and select virtualization among installed file sets. Once the setup is done you can install a virtualized ubuntu client over the CentOS . This will allow you to use both distros on the same system concurrently available.  
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.