主题 : nfs挂载文件系统没有问题,做成镜像,出现can't open /r/dev/console: no such file 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 103043
精华: 0
发帖: 5
金钱: 25 两
威望: 5 点
综合积分: 10 分
注册时间: 2014-04-16
最后登录: 2014-12-22
楼主  发表于: 2014-04-21 20:59

 nfs挂载文件系统没有问题,做成镜像,出现can't open /r/dev/console: no such file

mini2451 nfs挂载文件系统更没有问题,当做成镜像从nand挂载,出现:
can't open /r/dev/console: no such file
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200

profile:
#!/bin/sh
export HOSTNAME=lgd
export USER=root
export HOME=root
#export PS1="\[\u@\h \W\]\$ "
#cd root
export PS1="[$USER@$HOSTNAME \W]\# "
PATH=/bin:/sbin:/usr/bin:/usr/sbin
LD_LIBRARY_PATH=/lib:/usr/lib:$LD_LIBRARY_PATH
export PATH LD_LIBRARY_PATH
ifconfig eth0 192.168.19.200
./etc/boa/boa

rcS:
#!/bin/sh
# This is the first script called by init process
/bin/mount -a
mkdir /dev/pts
mount -t devpts devpts devpts /dev/pts
echo /sbin/mdev>/proc/sys/kernel/hotplug
#/bin/mount -t sysfs sysfs /sys
#/bin/mount -t tmpfs tmpfs /dev
/sbin/mdev -s

inintab:
#this is run first except when booting in single-user mode.
::sysinit:/etc/init.d/rcS
# /bin/sh invocations on selected ttys
# start an "askfirst" shell on the console (whatever that may be)
#::askfirst:-/bin/sh
::respawn:-/bin/sh
# stuff to do when restarting the init process
::restart:/sbin/init
# stuff to do before rebooting
::ctrlaltdel:/sbin/reboot



级别: 新手上路
UID: 110064
精华: 0
发帖: 4
金钱: 20 两
威望: 4 点
综合积分: 8 分
注册时间: 2014-11-13
最后登录: 2015-05-09
1楼  发表于: 2015-05-07 17:36
应该是你的FriendlyARM的参数设置错误,尤其是LINUX-COMMAND哪一行