Re: Problem duplicating system
According to Ole J. Tetlie [EMAIL PROTECTED]: I'm not sure if the cp on the floppies is different from the normal cp. Have you tried 'cp -a source destination'? Unfortunately it is very different. It can hardly do anything. According to cp -h it accepts -r for recursive copying, but I didn't get it to work. Besides it wouldn't copy links etc. correctly. Anyone else? Thanks, Andy. -- Andy Spiegl, University of Technology, Muenchen, Germany E-Mail: [EMAIL PROTECTED] URL: http://www.spiegl.de Finger [EMAIL PROTECTED] for my PGP key o _ _ _ - __o __o /\_ _ \\o (_)\__/o (_) --- _`\,__`\,__(_) (_)/_\_| \ _|/' \/ -- (_)/ (_) (_)/ (_) (_)(_) (_)(_)' _\o_ ~~~
Problem duplicating system
Hi! I got a problem here without a solution. (as usual) I want to duplicate a debian system from one (remote) pc to a new one. So I made a cd-image on a jaz drive medium and had it send to me via normal mail. I booted the new machine with the rescue floppy and went through the install menus up to partitioning the hard disk and mounting them in /target. Then I mounted the cdrom image (as a loop device) under /cdrom. So far everything went perfectly. But then I got stuck. :-( I could not figure out how to copy the contents from /cdrom to /target. The simple cp on the root image couldn't do it. The simple tar star I didn't know how to use (is there any documentation anywhere) and trying to use the cp command on the cd-image /cdrom/bin/cp failed because the necessary libraries couldn't be found. I also tried to set the LD_LIBRARY_PATH variable to /lib:/cdrom/lib, but that didn't help either. I there any correct method to do a recursive copy in this simple state of the system? Thanks in advance, Andy. -- Andy Spiegl, University of Technology, Muenchen, Germany E-Mail: [EMAIL PROTECTED] URL: http://www.spiegl.de Finger [EMAIL PROTECTED] for my PGP key o _ _ _ - __o __o /\_ _ \\o (_)\__/o (_) --- _`\,__`\,__(_) (_)/_\_| \ _|/' \/ -- (_)/ (_) (_)/ (_) (_)(_) (_)(_)' _\o_ ~~~
Re: Problem duplicating system
[EMAIL PROTECTED] (Andy Spiegl) | | I could not figure out how to copy the contents from /cdrom to /target. | The simple cp on the root image couldn't do it. The simple tar star | I didn't know how to use (is there any documentation anywhere) and | trying to use the cp command on the cd-image /cdrom/bin/cp failed because | the necessary libraries couldn't be found. I also tried to set the | LD_LIBRARY_PATH variable to /lib:/cdrom/lib, but that didn't help either. I'm not sure if the cp on the floppies is different from the normal cp. Have you tried 'cp -a source destination'? -- Eschew obfuscation(go on; look them both up) (Brian White) [EMAIL PROTECTED] [-: .elOle. :-] [EMAIL PROTECTED]