On Tue, 15 Jul 2008 09:43:33 +0300, Nikos Chantziaras wrote:

> 'cp -a' your existing / to your target / (except /dev, /sys and /proc). 
>    If you mounted your target / as /root/target, you do:
> 
> cp -a /usr /root/hd
> (repeat this for all directories in your current /
> *EXCEPT* /dev, /proc, /sys and /lost+found)
> 
> mkdir /root/hd/dev
> mkdir /root/hd/proc
> mkdir /root/hd/sys

Or replace all this with one command

cp -al / /root/hd

or, my preference

rsync -ax / /root/hd/



-- 
Neil Bothwick

SUBLIMINALsendmoneyTAGLINE

Attachment: signature.asc
Description: PGP signature

Reply via email to