To copy from a 10GB to a 40GB drive, I used the following command string to copy _everything_, including devices and the /proc tree :
mount <newroot> /<newmount> cd /<newmount> tar --exclude=/<newmount> -Scpf - <oldroot> | tar -Sxvpf - . (the dot at the end is part of the command string)
tar flags used:
"-c" to create an archive
"-p" to preserve permissions
"-f" to create a file
"-" file to be created on stand output
"-S" to efficiently handle handle sparse files
"-x" to extract files from an archive
"-v" to be verbose on extract only. Do _not_ use -v on both sides of the command string
After this finishes, make sure to check the following on /<newmount>:
= delete /proc tree from /<newmount>
= update /<newmount>/etc/fstab
= make sure you install lilo or grub on /<newmount> MBR before swapping the drives
HTH,
Hendrik Schaink
Jon Copeland wrote:
I have 2 HD's in my PC, one is a 5400rpm drive and the other is a 7200rpm drive, currently the OS is sitting on the 5400rpm drive and i'd like to take advantage of the slight increase in speed that the 7200rpm drive offers. The 7200rpm drive is empty and both HD's are 40Gig's. Whats the best way of transferring *.* from the 5400rpm drive to the 7200rpm drive without this becoming a hassle?
-- Hendrik M. Schaink Chief Consultant
"Integrated Business Solutions & Dependable Service"
InfoVision Consulting Calgary, Alberta, Canada Phone: (403) 239-0099
"The Vision: We are the partners of choice for companies and organizations that share our commitment to creating a world that is truly wise, courageous, prosperous, innovative, inclusive, sustainable and humane." --Ruben Nelson
_______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca

