Mark:As far as I know, what he did was not make a ghost drive. The tech duplicated everything on a new drive.
XCOPY *.*/s should do it. However, you must FDISK it first if it is a new drive. If you don't use the /s, it will not copy sub-directories. Use Daryl's command line if the /s I suggested does not copy everything.
By the way, which version of DOS are you using? If it is anything less than 6.22, use Daryl's command line suggestion. If your version of DOS doesn't like it, you will have an insult hurled back at you which will basically tell you why. The command line is space and switch sensitive, so watch your typing.
The most sure-fire way is to use a hard drive installation disk supplied with new hard drives and it will copy everything, including the boot sector.
Just about every installation disk eliminates the use of "FDISK."
Don't let DOS low-level format a high capacity disk. And, since you are using it for DOS, don't allow the hard drive installation disk to go "FAT-32". Use FAT-16.
I use Maxtor's version of Max-Blast and it has not failed me yet. You can probably download it form Maxtor's site, but I don't know that for sure anymore. The version 1.24S (which I use) works with Western Digital, Seagate, Maxtor, Fugitwhateverthehellitis, and probably others as well that use the FAT 16 or FAT 32 tables. The hottest drive installation disks will allow the NTFS format.
It is a self-booting disk to start the program. Set your BIOS to boot from floppy. Also make sure you have floppy drive seek on boot-up is enabled. Most newer BIOS's give you that option.
If you use the Maxi-Blast (or software supplied with your new drive) be sure to read the prompts before you do it. Personally, I would recommend you use the drive's new software. If you have an old DOS computer that can't see a new drive because it is too big, DOS will probably partition it to about 540 megs.
If you have a large capacity drive and the BIOS won't recognize it, you would have to allow the software to install EZ Bios so your MB can recognize the new drive. But it will want you to also install EZ Bios in your old drive as well. The software will point that out to you, and after you OK it, it'll partition your new drives to chunks big enough for the the BIOS to see. When you log to any partition through the root directory of when you go to file manager in Windows and you don't see the extra drives, you will have to modify your config.sys file which is in the root directory. Add a line to the bottom that says:
LASTDRIVE=Z
Save it on exit, and then reboot. It should come back and show your new drives and all its partitions.
Now that you are completely confused, just exactly what do you want to do? Make a Ghost drive, or make a clone of your old drive that you want to rathole somewhere in case your old drive goes to Drive Heaven? (Or the junk pile)
Rather than screwing around with all these command lines, just get a hard drive installation disk and "have at it."
If you need one, I have a bunch and will be happy to send you one.