当前位置: 技术问答>linux和unix
裁减后,启动出错
来源: 互联网 发布时间:2016-02-12
本文导语: modprobe fatal could not load modules.dep mount:mounting none on /proc failed: no such device mount:mounting udev on /dev failed: invalid argument mknod:/dev/console: file exists cat /proc/cmdline :no such file or diretory begin;waiting for root file sys...
modprobe fatal could not load modules.dep
mount:mounting none on /proc failed: no such device
mount:mounting udev on /dev failed: invalid argument
mknod:/dev/console: file exists
cat /proc/cmdline :no such file or diretory
begin;waiting for root file system.....
done
alert does not exist dropping to a shell
busybox v1.1.3 built in shell
enter help for …………
/bin/sh:canot access tty; job control turned off
(initramfs)_
mount:mounting none on /proc failed: no such device
mount:mounting udev on /dev failed: invalid argument
mknod:/dev/console: file exists
cat /proc/cmdline :no such file or diretory
begin;waiting for root file system.....
done
alert does not exist dropping to a shell
busybox v1.1.3 built in shell
enter help for …………
/bin/sh:canot access tty; job control turned off
(initramfs)_
|
首先要保证你的文件系统下有这console null两个文件
mknod -m 600 /dev/console c 5 1
mknod -m 666 /dev/null c 1 3
mknod -m 600 /dev/console c 5 1
mknod -m 666 /dev/null c 1 3
|
LZ在制作根文件系统时少了两个文件夹:/dev /proc
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。