Hi all, In much the same vain as Graeme's report, I successfully (atleast it looks this way at the moment :-)) managed to duplicate my 6gig hard disk to my 10gig disk.
I thought I'd share basically how I went about this: 1) setup partitions as desired 2) added these new partitions to fstab and mounted them all under /newdisk 3) mounted all of the partitions with the following (off the top of my head, also not to mention that I didn't change the number of partitions either): for dir in `mount | grep -v newdisk | grep -v proc | grep -v devpts | cut -d' ' -f3 | sort` do; mount $dir /newdisk$dir; done to go through and mount in a sane order (i.e. / before anything else, /usr before /usr/local etc) the new partitions under /newdisk. 4) Then using a similar command, I reversed the sort and used cp -ax to copy each partition individually: for dir in `mount | grep -v newdisk | grep -v proc | grep -v devpts | cut -d' ' -f3 | sort -r` do; cp -ax $dir/* /newdisk$dir; done 5) modified /newdisk/etc/lilo.conf so that it only pointed to /dev/hda(newdisk) 6) chroot /newdisk /bin/bash (I love this command) 7) lilo Overall I had to do a bit of fiddling to get a handle on the behavior of some of the commands however it's all up and running and no longer has any dependancy on the old disk. *NOTE* I'm sure that there are better/quicker ways of doing this however this is how I decided to go about it at the time. Copying partition by partition gave me control over the copy that prevented it going all over the place. Thanks to all of those who helped me in doing this. Regards, Kieran -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
