daihuan509 发表于 2016-6-16 16:25:07

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: 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] last id -1 current id 1
(initramfs)


哪位大侠知道怎么办






linjc 发表于 2016-6-17 09:55:54

有可能是你的文件系统在/dev/block/mtd/by-name/system这个分区的ubuntu目录下,所以开机的时候找不到文件系统,正常应该是在根目录下的
页: [1]
查看完整版本: ubuntu无法进入系统 Target filesystem doesn't have requested /sbin/init.