2011/06/24

windows 7 停用數位簽章

停用:
BCDedit /set loadoptions DDISABLE_INTEGRITY_CHECKS
BCDedit /set TESTSIGNING ON

啟用:
BCDedit /set loadoptions DDISABLE_INTEGRITY_CHECKS
BCDedit /set TESTSIGNING OFF

2011/06/22

在 hyper-v 掛載 usb 碟

參考:http://blog.ronnypot.nl/?p=721

簡單說:
必須先準備一個 usb 外接硬碟 (我試姆指碟沒成功過)
然後到磁碟管理中將它離線
再到 hyper-v 的虚擬機器中,新增 ide 裝置,實體硬碟那邊就會有可以掛載的裝置

結論: virtualbox (windows) 可以直接共用實體硬碟,方便多了

2011/06/07

vdi | vmdk | vhd 轉換

另一段的來源:
http://blog.tenyi.com/2009/12/convert-from-vmdkvhd-to-vdi-format.html
上網找到的都是舊資料,現在不再需要vditool或qemu,直接利用VirtualBox附的VBoxManage就可以轉換虛擬硬碟的格式。

把vmdk或vhd轉成vdi的指令:

VBoxManage clonehd source.vmdk target.vdi --format VDI
--format是指target的格式,source的格式似乎會自動判斷

Your are no longer needed to use vditool, the tool "VBoxManage" comes with recent revision VirtualBox.
Just type the command:
VBoxManage clonehd source.vmdk target.vdi --format VDI
- format refers to the target format, source format seems to be automatically determined.
VirtualBox Command Line Management Interface Version 3.1.0
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.



來源:http://xmsigh.com/node/89

memo:

将virtualbox的虚拟机迁移到windows的Hyper-V


由于工作需要,上午测试从virtualbox把虚拟机迁移到windows Hyper-V下面
由于virtualbox的虚拟机文件时vdi,需要将vdi转换成Hyper-V支持的VHD
命令很简单:
VBoxManage clonehd win2003.vdi win2003.vhd --format VHD
进入Hyper-V创建虚拟机的时候,选择刚才转换好的win2003.vhd 文件即可。
新的系统启动之后出现了无法识别网卡驱动的问题,网上搜了一下。
原因:hyper-v使用的新的架构导至win2003和它之前的系统不能识别网卡
解决方法:
1 关闭虚拟机
2 在虚拟机设置中移处网卡
3 添加硬件,选择旧版网络识别器,重新添加,再启虚拟机就可认到网卡。