I have two hard drives. One is a 4GB and I'm replacing it with a 40 GB. I already have everything I need on the 4GB, but I want the new one to be the sole hard drive in the computer. Right now I have the 4 as /dev/hda and the 40 as /dev/hdb. The 4 has three partitions; /dev/hda2 is swap, so it doesn't matter. How can get all the info on /dev/hda1 to be on /dev/hdb1 and /dev/hda3 to be on /dev/hdb3?
I was reaching for dd, a command I'm a little unfamiliar with, but then I got to wondering about the filesystem underneath. Would 'dd if=/dev/hda1 of=/dev/hdb1' work? Should I already have a filesystem on /dev/hdb1 or no? The man page doesn't help on this issue. -todd -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
