问题出现的提示是下面的两个文件有问题
一、/etc/rc.d/rcsysinit.d/S40mountfs
which exited with a return value of 96
二 /etc/rc.d/rc3.d/S20network
S40mountfs内容:(这个问题说我mount /proc/bus/usb失败)
which exited with a return value of 7
#!/bin/bash
# Begin $rc_base/init.d/mountfs - File System Mount Script
# Based on mountfs script from LFS-3.1 and earlier.
# Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
source /etc/sysconfig/rc
source $rc_functions
case "$1" in
start)
echo "Remounting root file system in read-write mode..."
mount -n -o remount,rw /
evaluate_retval
# The follow mount command will mount all file systems. If you
# have other (network based) file system that should not be or
# cannot be mounted at this time, add them to the NO_FS variable
# below. All file systems that are added to the variable in the
# form of no<filesystem> will be skipped.
NO_FS="nonfs,nosmbfs,noproc"
echo "Mounting remaining file systems..."
mount -a -t $NO_FS
evaluate_retval
;;
stop)
echo "Unmounting all other currently mounted file systems..."
umount -a -r
evaluate_retval
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
;;
esac
# End $rc_base/init.d/mountfs
S20network内容(这个说我的th0失败)
#!/bin/bash
# Begin $rc_base/init.d/network - Network Control Script
# Based on ethnet script from LFS-3.1 and earlier.
# Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
case "$1" in
start)
for file in $(grep -il "ONBOOT=yes" $network_devices/ifconfig.*)
do
interface=$(basename $file | sed s/ifconfig.//)
case "$interface" in
*~) ;;
*)
$network_devices/ifup $interface
;;
esac
done
if [ "$GATEWAY" != "" ]
then
echo "Setting up default gateway..."
route add default gateway $GATEWAY metric 1 \
dev $GATEWAY_IF
evaluate_retval
fi
;;
stop)
if [ "$GATEWAY" != "" ]
then
echo "Removing default gateway..."
route del -net default
evaluate_retval
fi
for file in $(grep -il "ONBOOT=yes" $network_devices/ifconfig.*)
do
interface=$(basename $file | sed s/ifconfig.//)
case "$interface" in
*~) ;;
*)
$network_devices/ifdown $interface
;;
esac
done
;;