I have trouble, while booting up a linux machine of mine.
During the boot phase, while running the /init
script it complains about not being able to find mount
. My PATH
variable is set to /sbin
and /bin
.
I tried calling /bin/mount
directly, which also failed, saying it doesn't exist.
Then I included find .
, which was found and showed that /bin/mount
was actually accessible.
I'm not sure what to make of this. I read, that initramfs
is basically a busybox
shell, so could the problem lie there?
UPDATE
It seems like mount
is the only command/file that does not get found. I started sh
during the boot process; it tab completed mount and found it via find
.
When I tried to execute it, however, I get the same "not found" error message as shown below.
UPDATE 2
I solved the problem temporarily by replacing every instance of mount
in my /init
with /bin/busybox mount
. It works that way.
ldd
. It probably depends on a shared library that you are missing. – psusi Nov 24 '14 at 20:36coreutils
,util-linux
, andbusybox
? – eyoung100 Nov 24 '14 at 22:30mkinitrd
, orgenkernel
etc? – eyoung100 Nov 25 '14 at 15:11