I use dd command to copy all system from hda1 to hdb1:
dd if=/dev/hda1 of=/dev/hdb1
it works fine when I remove hda1 and reboot hdb1, the only question is: hda1 has only 2GB and hdb1 has 30GB, but after I use dd command, I found hdb1 also has only 2GB recogonized by linux system, how can I have all the rest of space when I use dd to clone system from small HD to large HD? Thanks.
dd if=/dev/hda1 of=/dev/hdb1
it works fine when I remove hda1 and reboot hdb1, the only question is: hda1 has only 2GB and hdb1 has 30GB, but after I use dd command, I found hdb1 also has only 2GB recogonized by linux system, how can I have all the rest of space when I use dd to clone system from small HD to large HD? Thanks.