Hylton Conacher (ZR1HPC) skrev:
Anders Norrbring wrote:
Christopher Stender skrev:
On Tuesday 03 July 2007 13:33, James Knott wrote:
Christopher Stender wrote:
I usually use dd and ssh to clone disks from one machine to another, but that only works when the target is equally big or larger than the source.
Is there any easy way to do it from a 13% filled 60GB disk to a remote disk that's only 16GB?
Obviously dd won't work... You can use:
On Tuesday 03 July 2007 12:06, Anders Norrbring wrote: dd if=/dev/sda1 | gzip > some_file.img.gz
This compress the image on the fly. And then, when you try to unzip it on a disk that's too small???
Whether you zip it or not, you can't use an image to move to a smaller disk. Well, I assumed that he wanted to do a backup only. Of course you can not unzip a compressed disc image which is bigger than your hdd.
Exactly... What I'm looking for is to move a working system to another computer with smaller disk...
Yes, but just so no-one forgets, if I remember correctly, the used disk space on the current large HDD is smaller than the avaioable size of the new HDD?
Exactly. The used space on the source drive will occupy ca half of the new, SMALLER, drive. Anyway, I did a couple of attempt with piping a tar archive of the file system, but it resulted in a non-bootable system that lacked quite a few things, like /proc for example. Finally I tested Acronis disk copy and it worked perfectly fine, resizing the partition on the fly when recreating on the new system. Just reconfig the bootloader from IDE to SCSI disks and I was up and running. Anders. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org