本帖最后由 ligen119 于 2014-10-24 16:00 编辑
改进功能:
1,0.5版本或以前版本,安装光盘ISO文件刻录光盘或者写到U盘内都不能在我的G31和X58主板上启动,1.0版本可以刻录光盘启动,当然我没有真的刻录光盘,而是用U盘虚拟出来的光盘,省去了折腾安装程序的麻烦,这可能是使用了debian 7内核的缘故;
发现的BUG:
1、官方源上的ISCSI服务端1.0.1版本无法启动报错如下:
解决办法:
- root@openmediavault:/lib/modules/3.2.0-4-amd64/kernel# dpkg-reconfigure iscsitarget-dkms
- ------------------------------
- Deleting module version: 1.4.20.2
- completely from the DKMS tree.
- ------------------------------
- Done.
- Creating symlink /var/lib/dkms/iscsitarget/1.4.20.2/source ->
- /usr/src/iscsitarget-1.4.20.2
- DKMS: add completed.
- Error! echo
- Your kernel headers for kernel 3.2.0-4-amd64 cannot be found at
- /lib/modules/3.2.0-4-amd64/build or /lib/modules/3.2.0-4-amd64/source.
- root@openmediavault:/lib/modules/3.2.0-4-amd64/kernel# apt-get install linux-headers-3.2.0-4-amd64
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following extra packages will be installed:
- cpp-4.6 gcc-4.6 gcc-4.6-base linux-headers-3.2.0-4-common linux-kbuild-3.2
- Suggested packages:
- gcc-4.6-locales gcc-4.6-multilib libmudflap0-4.6-dev gcc-4.6-doc libgcc1-dbg libgomp1-dbg
- libquadmath0-dbg libmudflap0-dbg binutils-gold
- The following NEW packages will be installed:
- cpp-4.6 gcc-4.6 gcc-4.6-base linux-headers-3.2.0-4-amd64 linux-headers-3.2.0-4-common
- linux-kbuild-3.2
- 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
- Need to get 16.7 MB of archives.
- After this operation, 55.6 MB of additional disk space will be used.
- Do you want to continue [Y/n]? y
- Get:1 http://mirrors.163.com/debian/ wheezy/main gcc-4.6-base amd64 4.6.3-14 [142 kB]
- Get:2 http://mirrors.163.com/debian/ wheezy/main cpp-4.6 amd64 4.6.3-14 [4,828 kB]
- Get:3 http://mirrors.163.com/debian/ wheezy/main gcc-4.6 amd64 4.6.3-14 [7,325 kB]
- Get:4 http://mirrors.163.com/debian/ wheezy/main linux-headers-3.2.0-4-common amd64 3.2.63-2 [3,581 kB]
- Get:5 http://mirrors.163.com/debian/ wheezy/main linux-kbuild-3.2 amd64 3.2.17-1 [238 kB]
- Get:6 http://mirrors.163.com/debian/ wheezy/main linux-headers-3.2.0-4-amd64 amd64 3.2.63-2 [621 kB]
- Fetched 16.7 MB in 20s (831 kB/s)
- Selecting previously unselected package gcc-4.6-base:amd64.
- (Reading database ... 31914 files and directories currently installed.)
- Unpacking gcc-4.6-base:amd64 (from .../gcc-4.6-base_4.6.3-14_amd64.deb) ...
- Selecting previously unselected package cpp-4.6.
- Unpacking cpp-4.6 (from .../cpp-4.6_4.6.3-14_amd64.deb) ...
- Selecting previously unselected package gcc-4.6.
- Unpacking gcc-4.6 (from .../gcc-4.6_4.6.3-14_amd64.deb) ...
- Selecting previously unselected package linux-headers-3.2.0-4-common.
- Unpacking linux-headers-3.2.0-4-common (from .../linux-headers-3.2.0-4-common_3.2.63-2_amd64.deb) ...
- Selecting previously unselected package linux-kbuild-3.2.
- Unpacking linux-kbuild-3.2 (from .../linux-kbuild-3.2_3.2.17-1_amd64.deb) ...
- Selecting previously unselected package linux-headers-3.2.0-4-amd64.
- Unpacking linux-headers-3.2.0-4-amd64 (from .../linux-headers-3.2.0-4-amd64_3.2.63-2_amd64.deb) ...
- Setting up gcc-4.6-base:amd64 (4.6.3-14) ...
- Setting up cpp-4.6 (4.6.3-14) ...
- Setting up gcc-4.6 (4.6.3-14) ...
- Setting up linux-headers-3.2.0-4-common (3.2.63-2) ...
- Setting up linux-kbuild-3.2 (3.2.17-1) ...
- Setting up linux-headers-3.2.0-4-amd64 (3.2.63-2) ...
- Examining /etc/kernel/header_postinst.d.
- run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-4-amd64
- Good news! Module version 4.3.18 for vboxdrv.ko
- exactly matches what is already found in kernel 3.2.0-4-amd64.
- DKMS will not replace this module.
- You may override by specifying --force.
- Good news! Module version 4.3.18 for vboxnetflt.ko
- exactly matches what is already found in kernel 3.2.0-4-amd64.
- DKMS will not replace this module.
- You may override by specifying --force.
- Good news! Module version 4.3.18 for vboxnetadp.ko
- exactly matches what is already found in kernel 3.2.0-4-amd64.
- DKMS will not replace this module.
- You may override by specifying --force.
- Good news! Module version 4.3.18 for vboxpci.ko
- exactly matches what is already found in kernel 3.2.0-4-amd64.
- DKMS will not replace this module.
- You may override by specifying --force.
- Creating index of upgradeable packages ...
- Creating index of OpenMediaVault plugins ...
- root@openmediavault:/lib/modules/3.2.0-4-amd64/kernel#
复制代码
2、virtualbox虚拟机BUG
virtualbox虚拟机(第三方源:)在建立虚拟磁盘时若选择自动增长,则无法进行自动增长,导致虚拟机一直停顿在写文件状态(如安装windows7时则停顿在复制文件这部),关闭虚拟机电源时该虚拟机无法关闭会一直停顿在正在关闭,重启OMV亦不能进行,需强制关闭电源。
解决办法:
新建磁盘时选择固定大小即可!
2014-10-24 更新
64位OMV安装迅雷过程
1、开启32位程序兼容(32位OMV跳过)
dpkg --add-architecture i386
apt-get update
apt-get install ia32-libs
2、安装Xware
unzip Xware1.0.16_x86_32_glibc.zip -d /home/thunder/Xware
chmod -R 777 /home/thunder/Xware
cd /home/thunder/Xware
./portal
激活远程迅雷
3、挂载到迅雷下载目录:
(远程迅雷下载目录设置 C: TDDOWNLOAD)
mkdir /media/A8F85F4BF85F16C2/TDDOWNLOAD (路径视具体情况)
ln -s /media/A8F85F4BF85F16C2/TDDOWNLOAD /home/thunder/TDDOWNLOAD
chmod -R 777 /home/thunder/TDDOWNLOAD
4、建立自启动脚本
在根目录下建立xunlei.sh
包含以下内容
#!/bin/sh
cd /home/thunder/Xware
./portal
修改/etc/rc.local
在exit上方加上
sh /xunlei.sh