请教LS-WVL 1.65安装optware出错 ,请高手指点!
新入手LS-WVL 1.65固件,按此贴改机 http://www.gebi1.com/thread-26427-1-1.html 安装optware出错root@LS-WV-hwei:~# rm -rf /mnt/disk1/.optware
root@LS-WV-hwei:~# rm -rf /usr/lib/ipkg
root@LS-WV-hwei:~# mkdir /mnt/disk1/tmp
mkdir: cannot create directory '/mnt/disk1/tmp': File exists
root@LS-WV-hwei:~# cd /mnt/disk1/tmp/
<e/cs05q3armel/cross/stable/lspro-bootstrap_1.2-7_arm.xsh"
--2013-12-08 20:55:14--http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/lspro-bootstrap_1.2-7_arm.xsh
Resolving ipkg.nslu2-linux.org... 140.211.169.161
Connecting to ipkg.nslu2-linux.org|140.211.169.161|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 251199 (245K)
Saving to: `lspro-bootstrap_1.2-7_arm.xsh.1'
100%[======================================>] 251,199 65.1K/s in 3.8s
2013-12-08 20:55:19 (65.1 KB/s) - `lspro-bootstrap_1.2-7_arm.xsh.1' saved
sh ./ls-mvkw-bootstrap_1.2-7_arm.xsh 到此步出错如下:
root@LS-WV-hwei:/mnt/disk1/tmp# sh ./lspro-bootstrap_1.2-7_arm.xsh
Optware Bootstrap for lspro.
Extracting archive... please wait
bootstrap/
bootstrap/bootstrap.sh
bootstrap/ipkg-opt.ipk
bootstrap/ipkg.sh
1248+1 records in
1248+1 records out
bootstrap/optware-bootstrap.ipk
bootstrap/wget.ipk
Creating temporary ipkg repository...
Installing optware-bootstrap package...
Unpacking optware-bootstrap.ipk...Done.
Configuring optware-bootstrap.ipk...mount: mounting /mnt/disk1/.optware on /opt failed: No such file or directory
mkdir: cannot create directory '/opt/etc': No such file or directory
chmod: /opt/etc: No such file or directory
mkdir: cannot create directory '/opt/var/': No such file or directory
chmod: /opt/var: No such file or directory
mkdir: cannot create directory '/opt/tmp': No such file or directory
chmod: /opt/tmp: No such file or directory
mkdir: cannot create directory '/opt/lib': No such file or directory
chmod: /opt/lib: No such file or directory
//tmp/ipkg/info/optware-bootstrap.ipk.preinst failed. Aborting installation of optware-bootstrap.ipk
Installing ipkg...
Unpacking ipkg-opt.ipk...Done.
Configuring ipkg-opt.ipk...tar: ./opt/bin: Cannot mkdir: No such file or directory
tar: ./opt/bin/ipkg: Cannot open: No such file or directory
tar: ./opt/bin/ipkg-opt: Cannot create symlink to `ipkg': No such file or directory
tar: ./opt/bin/update-alternatives: Cannot open: No such file or directory
tar: ./opt/etc: Cannot mkdir: No such file or directory
tar: ./opt/etc/ipkg.conf: Cannot open: No such file or directory
tar: ./opt/lib: Cannot mkdir: No such file or directory
tar: ./opt/lib/libipkg.so: Cannot create symlink to `libipkg.so.0.0.0': No such file or directory
tar: ./opt/lib/libipkg.so.0: Cannot create symlink to `libipkg.so.0.0.0': No such file or directory
tar: ./opt/lib/libipkg.so.0.0.0: Cannot open: No such file or directory
tar: ./opt/share: Cannot mkdir: No such file or directory
tar: ./opt/share/ipkg: Cannot mkdir: No such file or directory
tar: ./opt/share/ipkg/intercept: Cannot mkdir: No such file or directory
tar: ./opt/share/ipkg/intercept/depmod: Cannot open: No such file or directory
tar: ./opt/share/ipkg/intercept/ldconfig: Cannot open: No such file or directory
tar: ./opt/share/ipkg/intercept/update-modules: Cannot open: No such file or directory
tar: Error exit delayed from previous errors
Done.
Removing temporary ipkg repository...
Installing wget...
bootstrap.sh: line 41: /opt/bin/ipkg: No such file or directory
root@LS-WV-hwei:/mnt/disk1/tmp/bootstrap#
不懂,帮顶 不懂英文,就不要发了,都提示你了,晕 一般来说,你需要说明自己的配置状况,比如是否使用了RAID模式,毕竟单盘模式和RAID模式有些命令是有本质性区别的。 按程序不会错,我刚完成改机 把硬盘格了,重新来过改好了 这个我知道,因为以前安装过optware, 你现在是升级,所以需要先删除 .optware目录,你看提示有。然后重新启动nas, 重启后再执行那个sh脚本就可以了。 先删除.optware目录 再用 umount -fr /opt命令 卸载卷 你是用的root账户进去的吗? 个人建议
第一, 备份数据
第二,备份完后取出硬盘,利用硬盘盒在windows系统中快格硬盘,或者不格式化只删除原分区也可,这样做最彻底地将原硬盘的所有数据删除
第三,将硬盘放回nas,按新装nas的程序操作,等nas安装完毕再按教程改机 不懂,帮顶 谢谢各位,已经解决了! mlnetmlnetmlnetmlnetmlnet
页:
[1]