Gentoo Archives: gentoo-user

From: doherty pete <nishizawa23@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] why always display this when kernel start
Date: Fri, 14 Jan 2011 14:49:12
Message-Id: AANLkTimZ=uAKewzGxr2s7-uHK1Q8D0cyvgQhDDUVMwTF@mail.gmail.com
In Reply to: Re: [gentoo-user] why always display this when kernel start by Mick
1 i did not follow the handbook,i install gentoo with ubuntu
2 but i sure i use the commend:
3
4 sudo mount /dev/sda10 /media/gentoo
5 sudo mount -t proc none /media/gentoo/proc
6 sudo mount -o bind /dev/ /media/gentoo/dev
7
8 and stage is
9 stage3-i686-20101109.tar.bz2
10
11 ls -l /fixit/dev/{console,null}
12 crw------- 1 root tty 5, 1 10. Jun 2010 /mnt/dev/console
13 crw-rw-rw- 1 root root 1, 3 10. Jun 2010 /mnt/dev/null
14
15 i have the same result
16
17
18 2011/1/14 Mick <michaelkintzios@×××××.com>
19
20 > On 14 January 2011 13:41, Dale <rdalek1967@×××××.com> wrote:
21 > > doherty pete wrote:
22 > >
23 > > when kernel start ,display this
24 > > Your system seems to be missing critical device files
25 > > in /dev ! Although you may be running udev or devfs,
26 > > the root partition is missing these required files !
27 > > To rectify this situation, please do the following:
28 > > mkdir /mnt/fixit
29 > > mount --bind / /mnt/fixit
30 > > cp -a /dev/* /mnt/fixit/dev/
31 > > umount /mnt/fixit
32 > > rmdir /mnt/fixit
33 > > You may refer to these instructions at /etc/issue.
34 > > If you previously had an issue file, it has been
35 > > backed up at /etc/issue.devfix. Once you've fixed
36 > > your system, you will have to restore your old issue
37 > > file in order to get rid of this warning.
38 > > Thanks for using Gentoo ! :)
39 > > http://bugs.gentoo.org/show_bug.cgi?id=40987
40 > >
41 > > i have done:
42 > > mkdir /mnt/fixit
43 > > mount --bind / /mnt/fixit
44 > > cp -a /dev/* /mnt/fixit/dev/
45 > > umount /mnt/fixit
46 > > rmdir /mnt/fixit
47 > > --
48 > > pete_doherty
49 > >
50 > > It looks like some files are missing in /dev but before /dev is mounted
51 > as
52 > > tmpfs. This is what I would do to fix it. Boot a bootable CD, Knoppix,
53 > > systemrescue or whatever. Mount the root partition of Gentoo. Copy null
54 > > and console over to the dev directory on the hard drive. If you mount
55 > like
56 > > in the install guide, cp -v /dev/null /mnt/gentoo/dev and repeat for
57 > > console. If you mount differently, replace the needed parts. ;-)
58 > >
59 > > Keep in mind, when you first start to boot, /dev/ is not mounted like it
60 > is
61 > > after you get booted. So, before udev gets started making the needed
62 > files,
63 > > the system needs null and console. It seems there was a third one that
64 > was
65 > > needed but I'm not 100% sure. I always make sure to copy those two when I
66 > do
67 > > a install. No problems so far.
68 >
69 > This problem was created because Pete did not follow to the letter the
70 > handbook, which advises to mount -o bind /dev /mnt/gentoo/dev, or if
71 > he did, he did not untar the stage 3 fs properly, or if he used a
72 > stage 4 tar file he did not create the necessary /dev files manually.
73 >
74 > --
75 > Regards,
76 > Mick
77 >
78 >
79
80
81 --
82 pete_doherty

Replies

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