- Jun 30, 2000
- 5,885
- 8
- 81
I just bought new, larger, harddrives for two laptops. Both are partitioned, and the partition sizes need to expand. I have partition magic 7, and I have access to a linux machine, a OpenBSD machine, or a Windows 2000 machine to put the harddrives in and copy the data.
One computer runs Windows 2000 (Fat32), 2 different distributions of linux (all Ext3 partitions), and has an IBM hidden recovery partition. The other runs Windows XP (NTFS) and has a Dell hidden recovery partition.
I've come up with two options for moving the data and would like opinions on those or any other ideas.
One is to use the program that comes with the harddrives and copy the data to the new drives then use partition magic/parted to resize the partitions. The second is to recreate the partition structure with the new sizes on the new drive and use dd to copy each filesystem over.
As for the first idea, I think I remember partitioning programs not being able to move the beginning of an ext2/ext3 partition. For the second one, will dd correctly move everything to the larger partition? Any other suggestions?
I'll obviously make a backup before doing anything.
One computer runs Windows 2000 (Fat32), 2 different distributions of linux (all Ext3 partitions), and has an IBM hidden recovery partition. The other runs Windows XP (NTFS) and has a Dell hidden recovery partition.
I've come up with two options for moving the data and would like opinions on those or any other ideas.
One is to use the program that comes with the harddrives and copy the data to the new drives then use partition magic/parted to resize the partitions. The second is to recreate the partition structure with the new sizes on the new drive and use dd to copy each filesystem over.
As for the first idea, I think I remember partitioning programs not being able to move the beginning of an ext2/ext3 partition. For the second one, will dd correctly move everything to the larger partition? Any other suggestions?
I'll obviously make a backup before doing anything.
