On Sun, 2004-12-19 at 15:33 +0100, Christian wrote: > Am Sonntag, 19. Dezember 2004 14:36 schrieb Darryl Clarke: > > Hi, [snip] > > Make a filesystem on the new partition (i'd choose reiserfs or ext3) > mkfs -t reiserfs /dev/sda1 > > Mount the new filesystem > mount /dev/sda1 /mnt/new_disk > > Copy the whole old disks contents to the new disk and preserve all file > attributes > cp -a / /mnt/new_disk
This has failed for me, with symlink issues. Say the original drive /dev/hda is partitioned into : hda1 / hda2 /usr Because of /etc/alternatives, there are symlinks between hda1 and hda2. So, if you cp hda1 to sda1 and hda2 to sda2, the symlinks will still be pointing to the hda partitions. Thus, when you umount, all the inter-partition symlinks will be broken. -- ----------------------------------------------------------------- Ron Johnson, Jr. Jefferson, LA USA PGP Key ID 8834C06B I prefer encrypted mail. "The UN couldn't break up a cookie fight in a Brownie meeting." Larry Miller
signature.asc
Description: This is a digitally signed message part