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