1 |
On Sun, 2002-01-06 at 10:45, Kevin Gordon wrote: |
2 |
> Thank you Martin for a most helpful response. |
3 |
> |
4 |
> I had not entered in /etc/devfsd.conf "LOOKUP ppp MODLOAD" but |
5 |
> now realise this would be necessary from 'ppp for Linux" by Paul Mackerrsa. |
6 |
> |
7 |
|
8 |
It should not be needed to do this or anything for ppp to |
9 |
auto load the ppp module (as the alias is already in |
10 |
modules.devfs). I just merged the net-dialup/ppp and i havent |
11 |
changed a thing (except /etc/init.d/net.ppp0) or created a |
12 |
device. Hundreds of reboots, and it still work fine. |
13 |
|
14 |
> I did not cd / before umount /mnt/gentoo. Now noted. |
15 |
> I am now reluctant to # reboot. |
16 |
> I had not made a # umount /proc. Now noted. |
17 |
> |
18 |
|
19 |
You do not need to unmount /proc (in theory). Just unmount |
20 |
/mnt/* and then do a |
21 |
|
22 |
mount -o remount,ro / |
23 |
|
24 |
to remount / readonly and make sure all other *real* |
25 |
filesystems (not /proc or /dev) is unmounted or mounted |
26 |
readonly and reboot. |
27 |
|
28 |
After install, you can just #reboot, as the Gentoo initscripts |
29 |
will take care of the rest. |
30 |
|
31 |
> re PROCFS & TMPFS at boot have: |
32 |
> Mounting /proc |
33 |
> Mounting devfs |
34 |
> Mounting tmpfs |
35 |
> I think this is what you asked. |
36 |
> |
37 |
> I have not had repeating messages on this install. |
38 |
> Your advice re info required is noted. |
39 |
> |
40 |
|
41 |
great! |
42 |
|
43 |
> RE backup of gentoo and devfs: |
44 |
> |
45 |
> I have written a script to backup the whole system. Get error messages: |
46 |
> tar: /dev/log: socket ignored |
47 |
> tar: /lib/dev-state/log: socket ignored |
48 |
> tar: 3 tmp files: socket ignored |
49 |
> tar: /proc/2.....to......14/exe: Cannot read link: No such file or directory |
50 |
> tar: /proc/801/fd/4: Cannot stat: No such file or directory |
51 |
> tar: Error exit delayed from previous errors |
52 |
> |
53 |
> Backed up 3.65GB to another partition.. |
54 |
> |
55 |
> Would it be safe / ok to umount /proc before and mount after the backup? |
56 |
> |
57 |
> Would devfs and /proc be ok after a restore? |
58 |
> |
59 |
|
60 |
How do you backup the partition ? BTW, you do not need to |
61 |
backup /dev and /proc, as these are *virtual* filesystems. |
62 |
meaning, your backup'd copy should just have a empty /dev |
63 |
and /proc, and no contents as the contents is created at |
64 |
mounting them. |
65 |
|
66 |
How you can do a backup with copy, is by doing: |
67 |
|
68 |
cp -ax / /mnt/backup |
69 |
|
70 |
this will copy everyting but stay on the original filesystem, |
71 |
and leave /dev and /proc uncopied as like I said, you do not |
72 |
need to backup them. |
73 |
|
74 |
Hope this is of some help. Feel free to ask if I was not too |
75 |
clear. |
76 |
|
77 |
|
78 |
Greetings, |
79 |
|
80 |
-- |
81 |
|
82 |
Martin Schlemmer |
83 |
Gentoo Linux Developer, Desktop Team Developer |
84 |
Cape Town, South Africa |