zoukankan      html  css  js  c++  java
  • 解决虚拟机Reason: The file is too large问题

    打开复制来的虚拟机文件时出现了以下问题:
    VMware Workstation cannot open one of the virtual disks needed by this VM because it is larger than the maximum file size supported by the host file system.  Some remote file systems do not support files larger than 2 GB, even though the file system on the server might.
    Cannot open the disk 'F:\Windows 2000 Server\Windows 2000 Server.vmdk' or one of the snapshot disks it depends on.
    Reason: The file is too large.
    解决方法如下:
    在VMX文件中加入:
    diskLib.sparseMaxFileSizeCheck= "false"
    我的文件如下所示:
    config.version = "7"
    virtualHW.version = "3"
    memsize = "128"
    scsi0:0.present = "TRUE"
    scsi0:0.fileName = "Windows 2000 Server.vmdk"
    scsi0.present = "TRUE"
    ide1:0.present = "TRUE"
    ide1:0.fileName = "auto detect"
    ide1:0.deviceType = "cdrom-raw"
    diskLib.sparseMaxFileSizeCheck= "false"
    floppy0.present = "FALSE"
    Ethernet0.present = "TRUE"
    sound.present = "TRUE"
    sound.virtualDev = "es1371"
    sound.fileName = "-1"
    displayName = "Windows 2000 Server"
    guestOS = "win2000serv"
    priority.grabbed = "normal"
    priority.ungrabbed = "normal"
    uuid.location = "56 4d 25 37 78 8a 04 b0-4e 93 8e fd 25 30 fe 4e"
    ethernet0.addressType = "generated"
    ethernet0.generatedAddress = "00:0c:29:b3:6a:5a"
    ethernet0.generatedAddressOffset = "0"
    Ethernet0.connectionType = "bridged"
    uuid.bios = "56 4d 25 37 78 8a 04 b0-4e 93 8e fd 25 30 fe 4e"
    ide1:0.startConnected = "TRUE"
    tools.syncTime = "FALSE"
    Ethernet0.vnet = "VMnet0"
    scsi0:0.redo = ""
    sound.autodetect = "TRUE"
    scsi0:0.deviceType = "scsi-hardDisk"
    ide1:0.autodetect = "TRUE"
    usb.present = "TRUE"
    extendedConfigFile = "Windows 2000 Server.vmxf"
    virtualHW.productCompatibility = "hosted"
    tools.upgrade.policy = "manual"
    再次打开虚拟机就可以正常启动了!
  • 相关阅读:
    volatile关键字——确保本指令不会因编译器的优化而省略
    c#判断字符串是否为空或null
    python+selenium基础之XPATH轴定位
    python+selenium基础之XPATH定位
    在python中使用正则表达式
    selenium 的css选择器语法
    selenium用法详解
    selenium+requests进行cookies保存读取操作
    Python selenium 三种等待方式详解
    selenium 显示等待应用
  • 原文地址:https://www.cnblogs.com/94cool/p/2496799.html
Copyright © 2011-2022 走看看