Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: kevman on July 02, 2004, 03:18:39 PM

Title: How move the old system to other harddisc
Post by: kevman on July 02, 2004, 03:18:39 PM
hello,

i wanner move the complet system with the partition to other harddisk, because the old disk is to small and i would like to put the old to the new one, without to install sme new?

it is a possibility to do it?

thx
kevman
Title: How move the old system to other harddisc
Post by: duncan on July 02, 2004, 04:09:29 PM
Use dd to make an exact copy

dd if=/dev/hda of=dev/hdc

Substituting the devices as required.

However - your new partitions will equal the size of the original drive.
Title: How move the old system to other harddisc
Post by: kevman on July 02, 2004, 04:42:39 PM
thx,

so i have first make the partitions on the new disk and then copy the partition with dd if=...

kevman
Title: How move the old system to other harddisc
Post by: duncan on July 02, 2004, 05:06:54 PM
No - Just run the command. It will create the partitions as it goes.

if is your existing drive
of is your new drive
Title: How move the old system to other harddisc
Post by: kevman on July 02, 2004, 05:15:28 PM
but if i do it how you discribe,

then the partition is the same how on the old one!

i have the problem, the log-files are bigger and bigger and i have not enough space on the partition!

kevman
Title: How move the old system to other harddisc
Post by: duncan on July 02, 2004, 05:25:17 PM
True - But you can create a fourth partition in the empty space and mount it as your home/ibay directory. Move your files accross.

There is a howto on site to do this.
Title: How move the old system to other harddisc
Post by: kevman on July 02, 2004, 05:45:10 PM
duncan,

but if i have mount the /home dirctory so i can let the old system and mount the directory on the new disc or not ???

kevman
Title: How move the old system to other harddisc
Post by: duncan on July 02, 2004, 05:59:03 PM
Yes - That would work as well. A word of advice - back everything up before you start shifting directories around.

Regards Duncan