Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] why always display this when kernel start
Date: Fri, 14 Jan 2011 14:14:54
Message-Id: AANLkTikVjzD84af514X0-XcJhzdNfGJT-HeGm1xyZxR=@mail.gmail.com
In Reply to: Re: [gentoo-user] why always display this when kernel start by Dale
1 On 14 January 2011 13:41, Dale <rdalek1967@×××××.com> wrote:
2 > doherty pete wrote:
3 >
4 > when kernel start ,display this
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 > 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 > You may refer to these instructions at /etc/issue.
15 > If you previously had an issue file, it has been
16 > backed up at /etc/issue.devfix.  Once you've fixed
17 > your system, you will have to restore your old issue
18 > file in order to get rid of this warning.
19 > Thanks for using Gentoo ! :)
20 > http://bugs.gentoo.org/show_bug.cgi?id=40987
21 >
22 > i have done:
23 > mkdir /mnt/fixit
24 > mount --bind / /mnt/fixit
25 > cp -a /dev/* /mnt/fixit/dev/
26 > umount /mnt/fixit
27 > rmdir /mnt/fixit
28 > --
29 > pete_doherty
30 >
31 > It looks like some files are missing in /dev but before /dev is mounted as
32 > tmpfs.  This is what I would do to fix it.  Boot a bootable CD, Knoppix,
33 > systemrescue or whatever.  Mount the root partition of Gentoo.  Copy null
34 > and console over to the dev directory on the hard drive.  If you mount like
35 > in the install guide, cp -v /dev/null /mnt/gentoo/dev and repeat for
36 > console.  If you mount differently, replace the needed parts.  ;-)
37 >
38 > Keep in mind, when you first start to boot, /dev/ is not mounted like it is
39 > after you get booted.  So, before udev gets started making the needed files,
40 > the system needs null and console.  It seems there was a third one that was
41 > needed but I'm not 100% sure. I always make sure to copy those two when I do
42 > a install.  No problems so far.
43
44 This problem was created because Pete did not follow to the letter the
45 handbook, which advises to mount -o bind /dev /mnt/gentoo/dev, or if
46 he did, he did not untar the stage 3 fs properly, or if he used a
47 stage 4 tar file he did not create the necessary /dev files manually.
48
49 --
50 Regards,
51 Mick

Replies

Subject Author
Re: [gentoo-user] why always display this when kernel start doherty pete <nishizawa23@×××××.com>
[gentoo-user] Re: why always display this when kernel start Grant Edwards <grant.b.edwards@×××××.com>