Gentoo Archives: gentoo-user

From: Arnau Bria <arnaubria@×××.es>
To: gentoo-user@l.g.o
Subject: [gentoo-user] missing critical device files in /dev
Date: Mon, 22 Oct 2007 22:10:23
Message-Id: 20071023000852.0e291c47@pataki.bogus.net
1 Hi!
2
3 I've copied my backup to my new / in a raid device, and when I boot I
4 get this error:
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 Obviously, I've followed all steps, rebooted and my system stops
26 loading services after "setting hostname".
27 After that, I booted a livecd, copied its /dev files and the system
28 hangs there...
29
30 As I have moved the issue file, I don't see the message, but I'm not
31 sure if I've really solved my problem or not. (probably not)
32
33 I'm using udev, and created special devices null, console and initctl:
34 afrodita ~ # ls -lsa /dev/console
35 0 crw------- 1 root tty 5, 1 oct 23 01:59 /dev/console
36 afrodita ~ # ls -lsa /dev/null
37 0 crw-rw-rw- 1 root root 1, 3 oct 23 01:59 /dev/null
38 afrodita ~ # ls -lsa /dev/initctl
39 0 prw------- 1 root root 0 oct 23 01:59 /dev/initctl
40 and udev did the rest:
41 # ls -lsa /dev/
42 Display all 184 possibilities? (y or n)
43
44 What other devidces do I need?
45
46 Meanwhile, Iable to start services...
47
48 # rc-update show
49 bootmisc | boot
50 checkfs | boot
51 checkroot | boot
52 clock | boot
53 localmount | boot
54 modules | boot
55
56 afrodita ~ # /etc/init.d/postfix start
57 * Starting saslauthd ... [ ok ]
58 * Starting postfix ... [ !! ]
59 afrodita ~ # /etc/init.d/cyrus start
60 * Starting cyrus imapd ... [ ok ]
61 afrodita ~ # /etc/init.d/postgrey start
62 * Starting Postgrey ...
63
64 TIA,
65 Arnau
66 --
67 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] missing critical device files in /dev Volker Armin Hemmann <volker.armin.hemmann@××××××××××××.de>
Re: [gentoo-user] missing critical device files in /dev Arnau Bria <arnau@×××××××××.net>