我已经在虚拟机上安装了操作系统。但是,我的电脑一次没有正确关闭。事件发生后,我无法在vmware中启动操作系统。当我检查vmx
文件时,发现这行代码丢失了smc.version = “0”
添加后,会导致错误,提示vmx文件已损坏。有没有办法使它起作用?我是否需要重新创建另一个vmx
文件?
.encoding = "windows-1252"
config.version = "8"
virtualHW.version = "12"
numvcpus = "2"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
sata0.present = "TRUE"
memsize = "7644"
sata0:0.present = "TRUE"
sata0:0.fileName = "C:\MAC OS\macOS High Sierra Final\macOS High Sierra Final.vmdk"
sata0:1.present = "TRUE"
sata0:1.deviceType = "cdrom-raw"
ethernet0.present = "TRUE"
ethernet0.connectionType = "hostonly"
ethernet0.virtualDev = "e1000e"
ethernet0.wakeOnPcktRcv = "FALSE"
ethernet0.addressType = "generated"
usb.present = "TRUE"
ehci.present = "TRUE"
ehci.pciSlotNumber = "34"
sound.present = "TRUE"
sound.virtualDev = "hdaudio"
sound.fileName = "-1"
sound.autodetect = "TRUE"
pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
smc.present = "TRUE"
hpet0.present = "TRUE"
ich7m.present = "TRUE"
usb.vbluetooth.startConnected = "TRUE"
board-id.reflectHost = "TRUE"
firmware = "efi"
displayName = "macOS 10.13"
guestOS = "darwin16-64"
nvram = "macOS 10.13.nvram"
virtualHW.productCompatibility = "hosted"
gui.exitOnCLIHLT = "TRUE"
powerType.powerOff = "soft"
powerType.powerOn = "soft"
powerType.suspend = "soft"
powerType.reset = "soft"
extendedConfigFile = "macOS 10.13.vmxf"
smc.version = "0"
numa.autosize.vcpu.maxPerVirtualNode = "2"
numa.autosize.cookie = "20001"
uuid.bios = "56 4d da 6b bb 9d 01 26-8e 2d e4 4b 8e 51 cf 2d"
uuid.location = "56 4d da 6b bb 9d 01 26-8e 2d e4 4b 8e 51 cf 2d"
migrate.hostlog = ".\macOS 10.13-2c4fd680.hlog"
sata0:0.redo = ""
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
pciBridge5.pciSlotNumber = "22"
pciBridge6.pciSlotNumber = "23"
pciBridge7.pciSlotNumber = "24"
scsi0.pciSlotNumber = "16"
usb.pciSlotNumber = "32"
ethernet0.pciSlotNumber = "160"
sound.pciSlotNumber = "33"
usb_xhci.pciSlotNumber = "-1"
vmci0.pciSlotNumber = "35"
sata0.pciSlotNumber = "36"
ethernet0.generatedAddress = "00:0C:29:51:CF:2D"
ethernet0.generatedAddressOffset = "0"
vmci0.id = "-1907241171"
monitor.phys_bits_used = "42"
vmotion.checkpointFBSize = "134217728"
vmotion.checkpointSVGAPrimarySize = "134217728"
cleanShutdown = "TRUE"
softPowerOff = "TRUE"
usb_xhci:6.speed = "2"
usb_xhci:6.present = "TRUE"
usb_xhci:6.deviceType = "hub"
usb_xhci:6.port = "6"
usb_xhci:6.parent = "-1"
usb_xhci:7.speed = "4"
usb_xhci:7.present = "TRUE"
usb_xhci:7.deviceType = "hub"
usb_xhci:7.port = "7"
usb_xhci:7.parent = "-1"
toolsInstallManager.updateCounter = "198"
sata0:1.fileName = "auto detect"
tools.syncTime = "FALSE"
tools.remindInstall = "FALSE"
toolsInstallManager.lastInstallError = "21004"
mks.enable3d = "TRUE"
isolation.tools.hgfs.disable = "TRUE"
sharedFolder0.present = "true"
sharedFolder0.enabled = "true"
sharedFolder0.readAccess = "true"
sharedFolder0.writeAccess = "true"
sharedFolder0.hostPath = "C:\Users\bnotion\Desktop\Shared Folder MAC"
sharedFolder0.guestName = "Shared Folder MAC"
sharedFolder0.expiration = "never"
sharedFolder.maxNum = "1"
ethernet1.present = "TRUE"
ethernet1.connectionType = "nat"
ethernet1.virtualDev = "e1000e"
ethernet1.wakeOnPcktRcv = "FALSE"
ethernet1.addressType = "generated"
ethernet1.pciSlotNumber = "224"
ethernet1.generatedAddress = "00:0C:29:51:CF:37"
ethernet1.generatedAddressOffset = "10"
mks.keyboardFilter = "allow"
workingDir = "."
tools.upgrade.policy = "upgradeAtPowerCycle"
svga.vramSize = "134217728"
usb.generic.allowHID = "TRUE"
usb_xhci:4.present = "TRUE"
usb_xhci:4.deviceType = "hid"
usb_xhci:4.port = "4"
usb_xhci:4.parent = "-1"
usb:1.speed = "2"
usb:1.present = "TRUE"
usb:1.deviceType = "hub"
usb:1.port = "1"
usb:1.parent = "-1"
floppy0.present = "FALSE"
sata0:1.autodetect = "TRUE"
usb:0.present = "TRUE"
usb:0.deviceType = "hid"
usb:0.port = "0"
usb:0.parent = "-1"
smc.version = “0”
答案 0 :(得分:0)
<form class="edit_agent" id="edit_agent_162" action="/agents/38285" accept-charset="UTF-8" method="post">
<input name="utf8" type="hidden" value="✓">
<input type="hidden" name="_method" value="patch">
<input type="hidden" name="authenticity_token" value="OdozGg7J1UvlhX0Nol05mHRFAGCgIji5cxYXlprqS62/BUwtaIU7hb+rhem0zE7hIrnzLXRyzfpi1fmSlT9a9A==">
<div class="row">
<div class="col-sm-4 col-md-4">
<label for="agent_pay_via_zelle">Pay Via Zelle:</label>
<input name="agent[pay_via_zelle]" type="hidden" value="0">
<input type="checkbox" value="1" checked="checked" name="agent[pay_via_zelle]" id="agent_pay_via_zelle">
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-4">
<input type="submit" name="commit" value="Update" class="btn btn-primary form-control" data-disable-with="Update">
</div>
</div>
</form>
在文件中两次。真实的原始条目直接位于以下行:
smc.version = "0"
删除文件的最后一行。这可能不是唯一的问题,但会有所帮助。