Koozali.org: home of the SME Server

copy to smaller harddisk

erland

copy to smaller harddisk
« on: July 19, 2005, 02:17:56 PM »
Hi All !

I wish to copy a sme6.0 to a smaller harddisk. I tried this way :
1. installed a new sme6.0 oin new harddisk
2. deleted everything on hda3
3. copied from old harddisk cp -a /old3 /new3

everything looks fine but it won't start.

What am I missing ?

Regards Erland

Offline marsa_matruh

  • *****
  • 250
  • +0/-0
copy to smaller harddisk
« Reply #1 on: July 19, 2005, 03:02:38 PM »
Copying to a new hard-drive. What I did :

Backup to desktop.

Install the same version of SME (6.0) on the new HD.

Re-install the additionnal contributions

Restore backup from desktop.

Offline raem

  • *
  • 3,972
  • +4/-0
copy to smaller harddisk
« Reply #2 on: July 19, 2005, 03:37:37 PM »
You could change the size of partition(s) on your hard disk to match the smaller disk and then clone the disk. Use the utility on the free Linux System Rescue CD to change partition sizes.
...

erland

copy to smaller harddisk
« Reply #3 on: July 19, 2005, 05:42:40 PM »
Thanks for the replies.
I wish to find out if it is possible to copy the old harddisk to a newer smaller harddisk and make it work. For various reasons I can't use the backup to workstation.
Does the "cp -a /mnt/hda3/* /mnt/hdc3/" command copy everything ?
Do I need to copy the hda1 partition too ?

Regards Erland

erland

problem solved
« Reply #4 on: July 21, 2005, 01:21:10 PM »
Hi All

I solved the problem. I used Acronis to copy the disk and then reinstalled lilo.

Regards Erland

Offline raem

  • *
  • 3,972
  • +4/-0
Re: problem solved
« Reply #5 on: July 22, 2005, 05:37:51 AM »
erland

> I used Acronis to copy the disk and then reinstalled lilo.

Can you give us a mini HOWTO for that
Thanks
...

erland

copy to smaller harddisk
« Reply #6 on: July 24, 2005, 05:00:41 PM »
I will do that later

Regards Erland