1 |
On 17/03/2017 18:24, tuxic@××××××.de wrote: |
2 |
> Hi, |
3 |
> |
4 |
> Finally I moved to my new root and it seems to be $HOME |
5 |
> enough to wiupe the old root. |
6 |
> |
7 |
> The old root is on a separate partition to which I will move |
8 |
> the contents of the new root after wiping the new root. |
9 |
> |
10 |
> May be the following question is born from to much worry, but... |
11 |
> |
12 |
> First I thought: Mount the old root to a certain mountpoint |
13 |
> somewhere, cd into it (as root) and do a rm -rf.... |
14 |
> |
15 |
> Then I saw symlinks directly pointing to /usr/lib... (for example) |
16 |
> right into my new root... |
17 |
|
18 |
How on earth did you manage that? Provide examples with full background |
19 |
info. Sounds like you might have been monkeying with PREFIX and not |
20 |
setting proper chroots, or similar |
21 |
|
22 |
|
23 |
> |
24 |
> What is a recommended way to do what I am trying to do without |
25 |
> a) deleting anything outside the old root |
26 |
> b) doing it not TOOO SLOW |
27 |
> c) without leaving filesystem debris somewhere (for example after |
28 |
> a dd if=/dev/zero of=/dev/sda2 count=1 bs=4096 |
29 |
> d) anything else I forgot to think about |
30 |
|
31 |
Yeah, you forgot the part where you realise we can't see and think what |
32 |
you see and think. |
33 |
As Grant said, we don't really know what you are up to from the given |
34 |
information. |
35 |
|
36 |
|
37 |
-- |
38 |
Alan McKinnon |
39 |
alan.mckinnon@×××××.com |