Gentoo Archives: gentoo-user

From: Keith Dart <keith@×××××××××.biz>
To: gentoo-user@l.g.o
Subject: [gentoo-user] genkernel, mounting /usr and dmraid
Date: Sat, 14 Apr 2012 23:21:58
Message-Id: 20120414162015.6983b502@dartworks.biz
1 Dear Gentoo Users,
2
3 I've got the situation where I need to pre-mount /usr. I was already
4 using dmraid and genkernel to make in initramfs so that's not a real
5 big deal. However, I now get the following in the console when booting:
6
7 -------------
8 /lib/udev/write_root_link_rule: line 17: udevadm: command not
9 found /etc/init.d/udev: line 74: udevadm: command not
10 found /etc/init.d/udev: line 74: udevadm: command not
11 found
12 * Starting
13 udev ... /lib/udev/udevd: error while loading shared libraries:
14 libkmod.so.2: cannot open shared object file: No such file or
15 directory
16 * start-stop-daemon: failed to start
17 `/lib/udev/udevd'
18 * Failed to start
19 udev [ !!
20 ]
21 * ERROR: udev failed to start
22 --------------
23
24 Yet after it boots up completely the udevd seems to be running fine. I
25 suspect this comes from some init scripts from the initrd.
26
27 The udev elog also has this:
28
29 -------
30 │If you build an initramfs including udev, then
31 please
32 │ │make sure that the /usr/bin/udevadm binary gets
33 included,
34 -------
35
36 Which I guess is the problem. But my question is how to get the udevadm
37 binary included in the initramfs? I can't find any docs anywhere that
38 explain how to do that.
39
40
41
42
43 -- Keith
44
45
46 --
47
48 -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49 Keith Dart <keith@×××××××××.biz>
50 public key: ID: 19017044
51 <http://www.dartworks.biz/>
52 =====================================================================

Replies

Subject Author
Re: [gentoo-user] genkernel, mounting /usr and dmraid "Canek Peláez Valdés" <caneko@×××××.com>
Re: [gentoo-user] genkernel, mounting /usr and dmraid Sebastian Pipping <sping@g.o>