Firefly开源社区

标题: ubuntu无法进入系统 Target filesystem doesn't have requested /sbin/init. [打印本页]

作者: daihuan509    时间: 2016-6-16 16:25
标题: ubuntu无法进入系统 Target filesystem doesn't have requested /sbin/init.
制作出ubuntu根文件系统,然后烧录到   /dev/block/mtd/by-name/system 分区。

直接从网上下载  miniroot ,   烧录到boot分区,,启动    然后使用命令    boot  /dev/block/mtd/by-name/system:/ubuntu  ,,可进入系统;

下载  initrd   
git clone https://github.com/TeeFirefly/initrd.gitmake -C initrd
然后制作成 boot.img   烧录到boot分区,,,启动,,进不了ubuntu.
Loading, please wait...
[    7.539963] udevd[148]: starting version 175
Begin: Loading essential drivers ... FATAL: Could not load /lib/modules/3.10.0/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.10.0/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.10.0/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.10.0/modules.dep: No such file or directory
done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
ext4
Begin: Running /scripts/local-premount ... FATAL: Could not load /lib/modules/3.10.0/modules.dep: No such file or directory
done.
FATAL: Could not load /lib/modules/3.10.0/modules.dep: No such file or directory
[    8.659757] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
done.
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have requested /sbin/init.
No init found. Try passing init= bootarg.
FATAL: Could not load /lib/modules/3.10.0/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.10.0/modules.dep: No such file or directory
/bin/sh: can't access tty; job control turned off
(initramfs) [   11.984617] [otg id chg] last id -1 current id 1
(initramfs)


哪位大侠知道怎么办







作者: linjc    时间: 2016-6-17 09:55
有可能是你的文件系统在/dev/block/mtd/by-name/system这个分区的ubuntu目录下,所以开机的时候找不到文件系统,正常应该是在根目录下的




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1