On 04/15/2012 01:20 AM, Keith Dart wrote:
> Dear Gentoo Users,
> 
> I've got the situation where I need to pre-mount /usr. I was already
> using dmraid and genkernel to make in initramfs so that's not a real
> big deal. However, I now get the following in the console when booting:
> 
> -------------
> /lib/udev/write_root_link_rule: line 17: udevadm: command not
> found /etc/init.d/udev: line 74: udevadm: command not
> found /etc/init.d/udev: line 74: udevadm: command not
> found                                                                         
>       
>  * Starting
> udev ... /lib/udev/udevd: error while loading shared libraries:
> libkmod.so.2: cannot open shared object file: No such file or
> directory      
>  * start-stop-daemon: failed to start
> `/lib/udev/udevd'                                                             
>                 
>  * Failed to start
> udev [ !!
> ]                                                                             
>                                                 
>  * ERROR: udev failed to start

It sounds like that error appears after the initramfs has done its work.
 Have you run revdep-rebuild to make sure all your binaries are linked
to existing libraries?



> The udev elog also has this:
> 
> -------
> │If you build an initramfs including udev, then
> please
> │ │make sure that the /usr/bin/udevadm binary gets
> included,                                                                     
>     
> -------

If I am not mistaken, genkernel creates an initramfs free of anythibg
udev.  It makes use of mdev of busybox.

Best,



Sebastian

Reply via email to