-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2008-07-15 at 20:47 -0400, Bob S wrote:
Hello SuSE people,
I know that you can do a dd if=/dev/sda of=/dev/sdb which actually clones an entire drive, partitions, links, etc.
Yes, but: if the destination is bigger, you loose all the extra space. It only works perfect if both disks are exactly equall.
Question is can I dd single partitions like dd if=/dev/sda1 of=/dev/sdb1 and still have the same result ? Partition by partition?
Yes, but each partition must be exactly equal size, or a bit bigger the destination (extra space is lost). If source is linux, I prefer to create partitions via fdisk, and copy files using rsync. Boot sectors and mbr (and grub/lilo) is another matter.
What I'm trying to do is split an OS off a large drive to a smaller one to gain the partitions back on the larger drive because of that stupid libata decision. I will put it on a drive I have wiped from a much older OS .Will I need to paartition the wiped drive first? or will dd do that for me.
If you dd the entire disk, no need to partition (it will be overwritten). If you dd partition by partition, you need to create them first.
Possible? Practical?
RANT ON: For the life of me I cannot understand that stupid decision by the devs to use libata with it's 16 partition limitation just as hard drives were getting bigger and bigger. Really really dumb. And someone said they were working hard to get the large number of partitions back. That was a year ago. Nothing yet !! RANT OFF
Agreed :-( - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIfdCEtTMYHG2NR9URAmUqAKCDbmDAwQ+dkyIKyKhhkCxZlo+xYQCcDmCX c8/VeAdI8WVpzN+aRTYBb5U= =Os2a -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org