2017-08-10 170 views
1

我用下面的命令並得到錯誤Tessel 2虛擬機創建錯誤

t2-vm create 

我得到以下

Downloading image... 
downloaded ... 
Creating VM... 
VBoxManage: error: Could not get the storage format of the medium '/home/haider/.tessel/vm.vdi' (VERR_NOT_SUPPORTED) 
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component MediumWrap, interface IMedium, callee nsISupports 
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cpp 
VBoxManage: error: Invalid UUID or filename "/home/haider/.tessel/vm.vdi" 
Unhandled rejection Error: 1 
    at Object.ensureErrorObject (/home/haider/.npm-global/lib/node_modules/t2-vm/node_modules/bluebird/js/main/util.js:261:20) 
    at Promise._rejectCallback (/home/haider/.npm-global/lib/node_modules/t2-vm/node_modules/bluebird/js/main/promise.js:472:22) 
    at /home/haider/.npm-global/lib/node_modules/t2-vm/node_modules/bluebird/js/main/promise.js:489:17 
    at ChildProcess.<anonymous> (/home/haider/.npm-global/lib/node_modules/t2-vm/etc.js:47:14) 
    at emitTwo (events.js:87:13) 
    at ChildProcess.emit (events.js:172:7) 
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:12) 

我已經安裝了所有的錯誤信息在Ubuntu 14.04創建tessel 2個虛擬機先決條件包括nodejs,tessel-cli,tessel usb規則,虛擬框及其擴展包。該版本如下

$ nodejs -v 
v4.8.4 
$ vboxmanage -v 
5.0.40r115130 

回答

0

行表示不支持的版本:

VBoxManage: error: Could not get the storage format of the medium '/home/haider/.tessel/vm.vdi' (VERR_NOT_SUPPORTED) 

其實你的VBox版本5.0.40r115130和實際的版本是5.1.26,嘗試更新你的版本安裝Tessel之前。

你也可以嘗試檢查你的文件的MD5簽名,如果你有它。

+0

我將VBox更新爲5.1.26,但仍然發生相同的錯誤。我應該檢查哪個文件的MD5簽名? – akkas

+0

您應該檢查vm.vdi文件的MD5: 'md5sum/home/haider/.tessel/vm.vdi'。 但你需要知道哈希引用,我不知道你是否擁有它。 – Guillaume