Click to See Complete Forum and Search --> : SATA (fedora 2)


KyPeN
10-27-2004, 03:11 PM
We're running a server that is up and running on IDE drives , because of issues with installing on SATA drives and multiple processors. We're using fedora core 2. What's the easiest way to copy over the installation to the sata drives?

gehidore
10-27-2004, 06:46 PM
FROM A LIVE CD!

make dirs for the sata partitions AND! the ide partitions
then mount them
eg

mkdir /mnt/ide
mount /dev/hda1 /mnt/ide/
mount /dev/hda2 /mnt/ide/boot

mkdir /mnt/sata
mount /dev/sda1 /mnt/sata/
mkdir /mnt/sata/boot
mount /dev/sda2 /mnt/sata/boot

then run this:

cd /mnt/ide/ ; tar cSpf - . | ( cd /mnt/sata/ ; tar xSpf - )

Or you can use dd but again from a live cd

make partitions of equal or greater sizes for each partition on the ide drives.

dd if=/dev/hda1 of=/dev/sda1
dd if=/dev/hda2 of=/dev/sda2