Koozali.org: home of the SME Server

How move the old system to other harddisc

kevman

How move the old system to other harddisc
« 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

duncan

How move the old system to other harddisc
« Reply #1 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.

kevman

How move the old system to other harddisc
« Reply #2 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

duncan

How move the old system to other harddisc
« Reply #3 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

kevman

How move the old system to other harddisc
« Reply #4 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

duncan

How move the old system to other harddisc
« Reply #5 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.

kevman

How move the old system to other harddisc
« Reply #6 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

duncan

How move the old system to other harddisc
« Reply #7 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