okay here it is:(from Linux Journal December 2000 Issue 80, pg.16)
"Wanna make a clone of one hard disk to another? Use tar. Hook up your soon-to-be-cloned hard disk to your system (power off during this operation). Boot your box. As root, cd to /. Mount the new hard drive on /mnt. Then run the following command: $ tar clf - . | ( umask 0; cd /mnt; tar xvf - )
This only works if you have one Linux partition; that is, all your files are under a single root partition. BTW, in this case, the l option is meaningless. Also, the disk-to-be-cloned-to needs to have an already-created filesystem, which should be empty. It sounds like what Hein wants to do would be best served by Michael Perry's solution. You basically want to wipe the disk clean and stuff a fresh build onto it. Tar would work, but it would require you to mount the disk onto a machine already running Linux which (if you've wiped the disk clean) has just disappeared. -- -Mike suse-list@Linux.Schwager.com -o) Go to www.forsitesolutions.com to read Linux /\ "Guides for Reasonably Intelligent People" __v The list will grow as I do.