1 |
On Tue, 15 Jul 2008 09:43:33 +0300, Nikos Chantziaras wrote: |
2 |
|
3 |
> 'cp -a' your existing / to your target / (except /dev, /sys and /proc). |
4 |
> If you mounted your target / as /root/target, you do: |
5 |
> |
6 |
> cp -a /usr /root/hd |
7 |
> (repeat this for all directories in your current / |
8 |
> *EXCEPT* /dev, /proc, /sys and /lost+found) |
9 |
> |
10 |
> mkdir /root/hd/dev |
11 |
> mkdir /root/hd/proc |
12 |
> mkdir /root/hd/sys |
13 |
|
14 |
Or replace all this with one command |
15 |
|
16 |
cp -al / /root/hd |
17 |
|
18 |
or, my preference |
19 |
|
20 |
rsync -ax / /root/hd/ |
21 |
|
22 |
|
23 |
|
24 |
-- |
25 |
Neil Bothwick |
26 |
|
27 |
SUBLIMINALsendmoneyTAGLINE |