[plug] "Ghosting" drives

Bernard Blackham bernard at blackham.com.au
Sat Mar 27 14:33:57 WST 2004


On Sat, Mar 27, 2004 at 02:31:41PM +0800, Garry wrote:
> One by one, mount each one on /mnt. Copy the corresponding partition 
> over with cp -a /<choose a partiton name> /mnt
> 
> Be aware of duplication of partitions - eg /, /swap /usr /var /var/www. 
> Remove duplicates with *eg* rm -rf /var/www

Or use -x on cp:
       -x, --one-file-system    stay on this file system

Bernard.

-- 
 Bernard Blackham <bernard at blackham dot com dot au>



More information about the plug mailing list