我正在尝试使用 vmcloak 创建一个 Win7 VM。我已将 .iso 挂载到 /mnt/win7 并尝试使用
vmcloak init --verbose --win7x64 win7x64base --cpus 2 --ramsize 2048
当我尝试这个时,我得到了这个错误:
Traceback (most recent call last):
File "/usr/local/bin/vmcloak", line 9, in
load_entry_point('VMCloak==0.4.3a2', 'console_scripts', 'vmcloak')()
File "/usr/local/lib/python2.7/dist-packages/click-6.6-py2.7.egg/click/core.py", line 716, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click-6.6-py2.7.egg/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click-6.6-py2.7.egg/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/dist-packages/click-6.6-py2.7.egg/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click-6.6-py2.7.egg/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/VMCloak-0.4.3a2-py2.7.egg/vmcloak/main.py", line 220, in init
if not h.buildiso(mount, iso_path, bootstrap, tempdir):
File "/usr/local/lib/python2.7/dist-packages/VMCloak-0.4.3a2-py2.7.egg/vmcloak/abstract.py", line 247, in buildiso
copytreelower(mount, outdir)
File "/usr/local/lib/python2.7/dist-packages/VMCloak-0.4.3a2-py2.7.egg/vmcloak/misc.py", line 50, in copytreelower
os.path.join(dstdir, path.lower()))
File "/usr/lib/python2.7/shutil.py", line 84, in copyfile
copyfileobj(fsrc, fdst)
File "/usr/lib/python2.7/shutil.py", line 49, in copyfileobj
buf = fsrc.read(length)
IOError: [Errno 5] Input/output error
我引用了这个讨论线程并使用root安装了iso,我还重新安装了iso并再次安装它,但仍然出现相同的错误。希望得到一些指导!