On Thu, Dec 30, 2010 at 1:21 PM, Norm Mackey
Is the drive as large or larger than the old drive (you can clone the whole old drive to a larger one, you end up losing the remaining space unless you add a partition. Cloning first 512 bytes copies boot sector and partition table. Often I delete and recreate the last partition afterwards to fill the remaining storage space, then copy the contents using "cp -a /{olddiskmountpoint}/* /{newdiskmountpoint}/" in rescue mode.
Alternatively, just make the partition larger and then grow the file system using resize2fs. If you are expanding the file system you can even do it on mounted partitions including "/" and this is *way* faster than a complete re-copy (like 10 seconds). For anyone reading this who hasn't done much with partitions, in "fdisk" you can actually delete then recreate the partition to enlarge it and this is perfectly data safe (as long as the starting point for the partition remains the same which it will unless you do something stupid). Tools like cfdisk allow you to "edit" the partition to make it bigger but in reality it does the same thing. -- John Lange www.johnlange.ca -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org