先把固件弄到12.09,12.09的地址在这http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/
cd /tmp wget http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin sysupgrade openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin
opkg update opkg install kmod-usb-ohci kmod-usb2 kmod-fs-ext4 kmod-usb-storage # 如果找不到U盘的话reboot一下
mkdir /tmp/root #创建/挂载点 mount -o bind / /tmp/root/ # 挂/ cp /tmp/root/* /tmp/u -a # 将系统备份到U盘 echo "--booted from flash--" >> /etc/banner # 设置内部启动标识 echo "--booted from u disk--" >> /tmp/u/etc/banner # 设置U盘启动标识 umount /tmp/u # 卸载U盘 umount /tmp/root/ # 卸载/ opkg update # 更新软件源 opkg install block-mount # 安装 block-mount
vi修改/etc/config/fstab文件为如下mount内容:
config mount # option target /home option device /dev/sda option fstype ext4 option options rw,sync option enabled 1 option enabled_fsck 1 option is_rootfs 1
_______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- ATTITUDE ADJUSTMENT (12.09, r36088) ----------------------------------------------------- * 1/4 oz Vodka Pour all ingredients into mixing * 1/4 oz Gin tin with ice, strain into glass. * 1/4 oz Amaretto * 1/4 oz Triple sec * 1/4 oz Peach schnapps * 1/4 oz Sour mix * 1 splash Cranberry juice ----------------------------------------------------- --booted from u disk-- root@OpenWrt_SLBoat_Mod:/# df -h Filesystem Size Used Available Use% Mounted on rootfs 14.9G 361.3M 13.8G 3% / /dev/root 2.0M 2.0M 0 100% /rom tmpfs 14.3M 92.0K 14.2M 1% /tmp tmpfs 512.0K 0 512.0K 0% /dev /dev/sda 14.9G 361.3M 13.8G 3% /overlay overlayfs:/overlay 14.9G 361.3M 13.8G 3% /