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
Who is Participating?
mrjoltcolaConnect With a Mentor Commented:
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.
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?
mrjoltcolaConnect With a Mentor Commented:
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
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.  
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.