Firefly开源社区

打印 上一主题 下一主题

ubuntu无法进入系统 Target filesystem doesn't have requested /sbin/init.

66

积分

0

威望

0

贡献

技术小白

积分
66

ubuntu无法进入系统 Target filesystem doesn't have requested /sbin/init.

发表于 2016-6-16 16:25:07      浏览:8973 | 回复:1        打印      只看该作者   [复制链接] 楼主
制作出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)


哪位大侠知道怎么办






回复

使用道具 举报

600

积分

21

威望

25

贡献

技术大神

Rank: 3Rank: 3

积分
600

活跃会员

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

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表