Plurk

VirtualBox 小記

VirtualBox 新版 2.1.0 的一些重要小修改,細節請參閱 changelog

1. 一些 VT-x/AMD-v的修改新增,我沒新CPU用不上
2. 使用OpenGL支援3D加速(實驗性質的)
3. 完整支援 VMDK/VHD
4. 新的網路介面,不需要再使用TAP,也不用在windows上使用橋接方式,即可透過Host網卡連線

後兩項是較常使用的功能,能支援VMDK/VHD,表示可以直接完整使用VMware和VirtualServer的image file嗎?用用看才知道。

VirtualBox在windows上,當需要使用Host Interface時,原本需要安裝TAP,使用橋接模式連線,很麻煩的作法,現在改成可以直接使用系統中已安裝的網卡連線,不需要在安裝虛擬網卡,方便許多。安裝VirtualBox 2.1.0後,可能需要在網卡設定中啟用 "VirtualBox Host Interface Betworking Driver"。

VirtualBox預設新建虛擬硬碟時,使用格式是VDI,無法像VMWare一樣直接使用實體硬碟。在VirtualBox安裝目錄中附了一支管理程式VBoxManage.exe,可以用來做所有的管理工作,隱藏指令(internalcommands)可以用來製作VMDK格式的虛擬硬碟,主要用來讓VirtualBox能直接使用實體硬碟中的Partition,紀錄一下避免遺忘。

  • VBoxManage internalcommands listpartitions -rawdisk <diskname> 顯示硬碟中Partition資料
  • VBoxManage internalcommands createrawvmdk -filename <filename> -rawdisk <diskname> [-partitions <list of partition numbers> [-mbr <filename>] ] [-register] [-relative]


範例:VBoxManage internalcommands createrawvmdk -filename  d:\xVMData\host_harddisk\d_.vmdk -rawdisk \\.\PhysicalDrive0 -partitions 2,3,4 -mbr winxp.mbr -relative

Designed by Posicionamiento Web | Bloggerized by GosuBlogger | Blue Business Blogger