Here is a quick way I do it.
lets say you put in a spare hard drive at /dev/hdc make the filesystems you want on /dev/hdc (at least on for the / partition) and leave room for the swap partition. now mount your filesystems together off of say /mnt now 'find / -xdev -print | cpio -p -admuV /mnt' The -xdev means find wont descend directories on other filesystems. so if you have /usr on another partition it wont copy it. you'll need to run 'find /usr -xdev -print | cpio -p -admuV /mnt' to copy it. The bonus here is it also wont copy /mnt... now that would make a mess :) also note the V in -admuV tells cpio to print one '.' per file copied take it out if you want. cd to /mnt/etc/ and fix the fstab file to your new setup and off you go. This may not be complete instructions but it should take you 99% there. I probably dont need to say this but: _always_ be careful doing anything as root and read the man pages to understand what you are doing. --Udjat On Tue, 13 Jan 1998, Gregory Guthrie wrote: » I have setup a small Debian Linux system as a router, is there an easy way » to "clone" this? I.e. to create copies of it on similar machines. Ee need » them in pairs for WAN links between segments (EN-PPP-EN). » » E.g. a small boot to an LRP* or recovery disk, and a tftp, or, ....? » » Now we have to take disks to a system with a CDROM, or move a CDROM around, » etc.. ich! » » Thanks. » --------------- » *http://www.psychosis.com/linux-router/ » -------------------------------------------------------- » Dr. Gregory Guthrie » [EMAIL PROTECTED] (515)472-1125 Fax: -1103 » Computer Science Department » College of Science and Technology » Maharishi University of Management » (Maharishi International University 1971-1995) » -------------------------------------------------------- » » » -- » TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to » [EMAIL PROTECTED] . » Trouble? e-mail to [EMAIL PROTECTED] . » » -- Microsoft is not the answer. Microsoft is the question. NO is the answer. ,, / ( "> _______________________________________________________ _(-}) B I T B U R N A C C E S S System Administrator .' ^^ http://www.bitburn.org/ mailto: [EMAIL PROTECTED] `-> -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .