some commands run failed according to steps on minimal image wiki: https://wiki.yoctoproject.org/wiki/Minimal_Image commands below: top, df ,fdisk,mount,mpstat,umount,ps both commands need some file in /proc dir , but /proc dir is empty after boot,so run failed. commands below: whoami error info:"unknow uid 0". init error info:"must be run as PID 1".
mount /proc /sys when boot the image by apply the patch in https://wiki.yoctoproject.org/wiki/Minimal_Image#init_script to busybox to make /proc related commands usable.
And minimal image doesn't provide commands fdisk and init
verify it.
Note: whoami error info:"unknow uid 0". need eglibc NIS support
Sorry, mistake operation
verify.
as minimal image wiki https://wiki.yoctoproject.org/wiki/Minimal_Image been updated,so add verified info below: git info : commit edd8e1e8b974eb3f0f9f66c2207aadf43612350b Author: Scott Rifenbark <scott.m.rifenbark@intel.com> Date: Mon Aug 15 08:37:17 2011 -0700 documentation/adt-manual/adt-command.xml: general edits. (From yocto-docs rev: 7227ad57257869f2fcb7f85bed8b8b90db4bd65a) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> git branch :poky/master