1 |
doherty pete writes: |
2 |
|
3 |
> when kernel start ,display this |
4 |
> |
5 |
> Your system seems to be missing critical device files |
6 |
> in /dev ! Although you may be running udev or devfs, |
7 |
> the root partition is missing these required files ! |
8 |
> |
9 |
> To rectify this situation, please do the following: |
10 |
> mkdir /mnt/fixit |
11 |
> mount --bind / /mnt/fixit |
12 |
> cp -a /dev/* /mnt/fixit/dev/ |
13 |
> umount /mnt/fixit |
14 |
> rmdir /mnt/fixit |
15 |
> |
16 |
> You may refer to these instructions at /etc/issue. |
17 |
> If you previously had an issue file, it has been |
18 |
> backed up at /etc/issue.devfix. Once you've fixed |
19 |
> your system, you will have to restore your old issue |
20 |
> file in order to get rid of this warning. |
21 |
> |
22 |
> Thanks for using Gentoo ! :) |
23 |
> http://bugs.gentoo.org/show_bug.cgi?id=40987 |
24 |
> |
25 |
> |
26 |
> i have done: |
27 |
> mkdir /mnt/fixit |
28 |
> mount --bind / /mnt/fixit |
29 |
> cp -a /dev/* /mnt/fixit/dev/ |
30 |
> umount /mnt/fixit |
31 |
> rmdir /mnt/fixit |
32 |
|
33 |
Strange. |
34 |
I think when I had forgotten to create the necessary items in /dev, the |
35 |
system did not even come up. It needs at least console and null, and for |
36 |
framebuffer stuff also tty1. So I have these: |
37 |
|
38 |
weird ~ # ls -l /mnt/dev/ |
39 |
insgesamt 0 |
40 |
crw------- 1 root tty 5, 1 10. Jun 2010 console |
41 |
crw-rw-rw- 1 root root 1, 3 10. Jun 2010 null |
42 |
crw------- 1 root tty 4, 1 10. Jun 2010 tty1 |
43 |
|
44 |
The bug report has this, maybe this is your problem, too? |
45 |
|
46 |
I just ran into this and managed to fix it with an extra step. The |
47 |
problem was in changed permissions on /dev/null. ls -l /dev/null |
48 |
gave crw-rw-rw- 1 root root 1, ... while /mnt/fixit/dev/null gave |
49 |
crw-r--r-- 1 root root 19, ... In order to fix it I had to rm |
50 |
/mnt/fixit/dev/null first, and then cp -a /dev/null /mnt/fixit/dev/null |
51 |
as suggested. |
52 |
I can't say I understand how this happens but now the computer boots |
53 |
again. |
54 |
|
55 |
|
56 |
I'd prefer to have only those in /dev, and not all the other stuff that udev |
57 |
adds, but it shouldn't harm either. |
58 |
|
59 |
How does your /fixit/dev/ look like? Are there any entries at all? Is |
60 |
console and null there? Please show the output of this: |
61 |
|
62 |
ls -l /fixit/dev | wc -l |
63 |
ls -l /fixit/dev/{console,null} |
64 |
|
65 |
I get this: |
66 |
weird ~ # ls -l /fixit/dev | wc -l |
67 |
4 |
68 |
weird ~ # ls -l /fixit/dev/{console,null} |
69 |
crw------- 1 root tty 5, 1 10. Jun 2010 /mnt/dev/console |
70 |
crw-rw-rw- 1 root root 1, 3 10. Jun 2010 /mnt/dev/null |
71 |
|
72 |
Wonko |