I have a debian webserver all up and running. I've added a new hard drive and need to move the boot to the new drive. I'm fairly new to linux admin on this level so hang with me. My problem comes in with the fact that the old drive is an IDE drive and the new drive is a SATA drive. ( this machine was set up with a Virtualmin boot disc, FYI )
What I've done so far is plug the drive in, image the old drive to the new drive so it exactly mirrors the original drive. Now I'm still booted on the old drive, but can see the new drive. It is not mounted, but I can see it and all it's partitions with " fdisk -l "
The old drive is /dev/hda and has partitions hda1, hda2, hda3. The new drive is /dev/sda and has partitions sda1, sda2, sda3.
As I understand it, I think the only thing I have left to do is to install grub into the boot sector of the new drive. Although I have some concerns with things like fstab mounting the drive since there are entries there with /hda. This makes me wonder if there are other entries hiding in other config files like the ones for quotas and the like.
Any input here would be great.
I imagine what I'll have to do is to edit the files needed to boot and run correctly on the /dev/sda drive, install grub onto that drive, and then reboot. Maybe a search of the entire hard drive for any files containing " hda " is in order so I can edit them all to point to " sda " ?
Thanks in advance!