Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] why always display this when kernel start
Date: Fri, 14 Jan 2011 13:43:24
Message-Id: 4D305281.3060906@gmail.com
In Reply to: [gentoo-user] why always display this when kernel start by doherty pete
1 doherty pete wrote:
2 > when kernel start ,display this
3 >
4 > Your system seems to be missing critical device files
5 > in /dev ! Although you may be running udev or devfs,
6 > the root partition is missing these required files !
7 >
8 > To rectify this situation, please do the following:
9 > mkdir /mnt/fixit
10 > mount --bind / /mnt/fixit
11 > cp -a /dev/* /mnt/fixit/dev/
12 > umount /mnt/fixit
13 > rmdir /mnt/fixit
14 >
15 > You may refer to these instructions at /etc/issue.
16 > If you previously had an issue file, it has been
17 > backed up at /etc/issue.devfix. Once you've fixed
18 > your system, you will have to restore your old issue
19 > file in order to get rid of this warning.
20 >
21 > Thanks for using Gentoo ! :)
22 > http://bugs.gentoo.org/show_bug.cgi?id=40987
23 >
24 >
25 > i have done:
26 > mkdir /mnt/fixit
27 > mount --bind / /mnt/fixit
28 > cp -a /dev/* /mnt/fixit/dev/
29 > umount /mnt/fixit
30 > rmdir /mnt/fixit
31 > --
32 > pete_doherty
33
34 It looks like some files are missing in /dev but before /dev is mounted
35 as tmpfs. This is what I would do to fix it. Boot a bootable CD,
36 Knoppix, systemrescue or whatever. Mount the root partition of Gentoo.
37 Copy null and console over to the dev directory on the hard drive. If
38 you mount like in the install guide, cp -v /dev/null /mnt/gentoo/dev and
39 repeat for console. If you mount differently, replace the needed
40 parts. ;-)
41
42 Keep in mind, when you first start to boot, /dev/ is not mounted like it
43 is after you get booted. So, before udev gets started making the needed
44 files, the system needs null and console. It seems there was a third
45 one that was needed but I'm not 100% sure. I always make sure to copy
46 those two when I do a install. No problems so far.
47
48 Hope that helps.
49
50 Dale
51
52 :-) :-)

Replies

Subject Author
Re: [gentoo-user] why always display this when kernel start Mick <michaelkintzios@×××××.com>