You need to boot off the CDROM so that neither the source partition nor the target partition is mounted.
Procedure:
Assume in the following example that we are copying /dev/sdb3 to /dev/sda6:
1.Boot Ubuntu CDROM
2.Click on Terminal in order to get command prompt
3.Run fdisk to create partition:
sudo fdisk /dev/sda
p <- display partition table
n then p <- create a new primary partition
NOTE: If you have Windows XP, you can use it to create the partition – but don’t format it.
4.sudo mkfs -t ext3 /dev/sda6 <– make file system, format it
5.mkdir /tmp/sdb3 <– mount points
6.mkdir /tmp/sda6
7.sudo mount -t ext3 /dev/sdb3 /tmp/sdb3
8.sudo mount -t ext3 /dev/sda6 /tmp/sda6
9.cd /tmp/sda3 <- go here to start copy
10.sudo cp -a * /tmp/sda6 <- copy relative to this 更多 »










