doherty pete writes:
> when kernel start ,display this
>
> Your system seems to be missing critical device files
> in /dev ! Although you may be running udev or devfs,
> the root partition is missing these required files !
>
> To rectify this situation, please do the following:
> mkdir /mnt/fixit
> mount --bind / /mnt/fixit
> cp -a /dev/* /mnt/fixit/dev/
> umount /mnt/fixit
> rmdir /mnt/fixit
>
> You may refer to these instructions at /etc/issue.
> If you previously had an issue file, it has been
> backed up at /etc/issue.devfix. Once you've fixed
> your system, you will have to restore your old issue
> file in order to get rid of this warning.
>
> Thanks for using Gentoo ! :)
> http://bugs.gentoo.org/show_bug.cgi?id=40987
>
>
> i have done:
> mkdir /mnt/fixit
> mount --bind / /mnt/fixit
> cp -a /dev/* /mnt/fixit/dev/
> umount /mnt/fixit
> rmdir /mnt/fixit
Strange.
I think when I had forgotten to create the necessary items in /dev, the
system did not even come up. It needs at least console and null, and for
framebuffer stuff also tty1. So I have these:
weird ~ # ls -l /mnt/dev/
insgesamt 0
crw------- 1 root tty 5, 1 10. Jun 2010 console
crw-rw-rw- 1 root root 1, 3 10. Jun 2010 null
crw------- 1 root tty 4, 1 10. Jun 2010 tty1
The bug report has this, maybe this is your problem, too?
I just ran into this and managed to fix it with an extra step. The
problem was in changed permissions on /dev/null. ls -l /dev/null
gave crw-rw-rw- 1 root root 1, ... while /mnt/fixit/dev/null gave
crw-r--r-- 1 root root 19, ... In order to fix it I had to rm
/mnt/fixit/dev/null first, and then cp -a /dev/null /mnt/fixit/dev/null
as suggested.
I can't say I understand how this happens but now the computer boots
again.
I'd prefer to have only those in /dev, and not all the other stuff that udev
adds, but it shouldn't harm either.
How does your /fixit/dev/ look like? Are there any entries at all? Is
console and null there? Please show the output of this:
ls -l /fixit/dev | wc -l
ls -l /fixit/dev/{console,null}
I get this:
weird ~ # ls -l /fixit/dev | wc -l
4
weird ~ # ls -l /fixit/dev/{console,null}
crw------- 1 root tty 5, 1 10. Jun 2010 /mnt/dev/console
crw-rw-rw- 1 root root 1, 3 10. Jun 2010 /mnt/dev/null
Wonko