当前位置: 技术问答>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