Installing On Second Drive

Home » CentOS » Installing On Second Drive
CentOS 7 Comments

Hello list,

I have two drives – the first drive currently has F14 on it. The second drive is empty. If I select custom partition and only partititon and format the second drive, will CentOS install on the second and not touch the first drive?

This is using the installer from the CentOS 6.4 Live DVD.

Thanks,

7 thoughts on - Installing On Second Drive

  • The installer may replace/modify the bootloader configuration, so you’ll need to be careful of that.

    If you’re unsure, I’d suggest making sure you have backups first and/or disconncting the disk containing Fedora before you install CentOS.

  • CentOS 6.4 and Fedora 14 are both using GRUB Legacy, so it should be OK to install CentOS along with F14. The installer should detect both operating systems and add entries in GRUB menu for them.

    If the disk with Fedora is removed during the installation of CentOS, the system won’t dual-boot… at least not without some GRUB tweaking.

  • Hi,

    My concern is that the installer will see the F14 / and /boot partitions on the first drive and try to install there as opposed to the newly created / and /boot partitions on the second drive.

  • The installer shouldn’t mess with them. Unless you choose a guided disk layout that removes existing partitions or formats existing file systems … you should be fine. But you’ll want to choose the option for manual partitioning.

    Just unhook the second drive. It’s a simple, [hopefully] quick way of avoiding a catastrophe and you don’t have to back up the partitions or MBR on that disk.

    Make sure your volume group names are unique [if using LVM] or that you use labels or UUIDs. When you hook that primary drive back up, the drive naming will change for the secondary drive.

  • Thanks to everyone who replied.

    We manually partitioned the second drive and the install went without any problem, except that we had to say put the boot loader on the second drive. This meant we had to change the boot order in the bios to boot from the second drive first.

  • We tried putting over the kernel, ramdisk, etc from the second drives /boot to the first drives /boot dir and copied the entry from the grub.conf file to the grub.conf file on the first drive – changing the root drive from
    root (hd0,0) to root (hd1,0) but when we tried to boot we got a message saying illegal format when trying to load the kernel. The only thing I could think of was the F14 was a 32bit system and the new CentOS was a 64 bit system. We didn’t spend much time then – just changed the bios boot order.

LEAVE A COMMENT