Ghost Solution Suite

 View Only

Convert vmdk to gho - Merge with some multiple snapshots with VMDK files into a single gho file.

  • 1.  Convert vmdk to gho - Merge with some multiple snapshots with VMDK files into a single gho file.

    Posted Nov 18, 2022 06:01 PM
    Hello all:

    I have a problem converting some VMDK files generated from multiple snapshots(such as Windows 7.vmdk, Windows 7-000001. vmdk....Windows 7-00000x. vmdk) to a GHO files. I refer to the command line in the following link( https://community.broadcom.com/symantecenterprise/communities/community-home/librarydocuments/viewdocument?DocumentKey=f9b93b72 -cb84-4c50-90db-1a8416f84be3&CommunityKey=e2fbb15e-15c3-430b-97f3-4871e488162b&tab=librarydocuments):

    To convert from VMDK to GHO:
    ghost32 -clone,mode=create,src=my.vmdk,dst=myimage. gho -batch -sure

    My command line is:
    ghost32 -clone,mode=create,src=Windows 7.vmdk,dst=test. gho -batch -sure

    The command can be executed successfully, but this command cannot join multiple snapshot volumes such as "Windows 7- 000001.vmdk-Windows 7- 00000X.vmdk".
    Is there a special command switch to join these volumes?
    In addition, I try to use "-ad=Windows 7- 00000 1.vmdk",it prompt
    "Error Number: 40221
    Message: A virtual disk error occurred:
    Failed to open vmdk file: c:\users\vip\downloads\windows 7.vmdk"

    My environment:
    OS - Windows 7 ultimate SP1(x86 32)
    Ghost 12.0.0.8006
    VMware - Workstation (15.5.1 build-15018445)

    The error log shows the following:
    *********************************
    Date : Thu Nov 17 18:08:59 2022
    Error Number: 40221
    Message: A virtual disk error occurred:
    Failed to open vmdk file: c:\users\vip\downloads\vmdktogho\windows 7.vmdk
    Version: 12.0.0.8006(Apr 8 2015, Build=8006
    OS Version: Professional Service Pack 1 (Build 7601)
    Command line arguments: -clone,mode=create,src=c:\users\vip\downloads\vmdktogho\windows 7.vmdk,dst=myimage.gho -batch -sure -ad=C:\Users\VIP\Downloads\vmdktogho\Windows 7-000001.vmdk
    Active Switches :
    AutoName
    PathName :
    FlagImplode : 0
    FlagExplode : 0

    CloneSrc : c:\users\vip\downloads\vmdktogho\windows 7.vmdk
    BatchPartSrc : 0
    BatchPartMSrc :

    CloneDst : myimage.gho
    BatchPartDst : 0

    Operation Details :
    Total size.........0
    MB copied..........0
    MB remaining.......0
    Percent complete...0%
    Speed..............0 MB/min
    Time elapsed.......0:00
    Time remaining.....0:00

    A disk error occurred
    Failed to open vmdk file: c:\users\vip\downloads\vmdktogho\windows 7.vmdk
    Generated at ..\VmdkDisk.cpp:670

    Thread #2152 Call Stack
    OldGhostUI::OldGhostUI::selectSrcDisk
    OldGhostUI::OldGhostUI::attemptOperation
    GhostClonerImpl::runMainScript
    sub_main
    main

    Call Stack
    C:\Users\VIP - C:\Users\VIP\Desktop\ghost\Ghost 12\Ghost32.exe 12.0

    0x756CB760 in \Device\HarddiskVolume1\Windows\System32\KernelBase.dll

    0x52C07F in \Device\HarddiskVolume1\Users\VIP\Desktop\ghost\Ghost 12\Ghost32.exe

    0x52C3D6 in \Device\HarddiskVolume1\Users\VIP\Desktop\ghost\Ghost 12\Ghost32.exe

    0x52C0E6 in \Device\HarddiskVolume1\Users\VIP\Desktop\ghost\Ghost 12\Ghost32.exe

    0x428B8B in \Device\HarddiskVolume1\Users\VIP\Desktop\ghost\Ghost 12\Ghost32.exe

    0x544661 in \Device\HarddiskVolume1\Users\VIP\Desktop\ghost\Ghost 12\Ghost32.exe



    Start heap available: 593772544
    Cur heap available: 594190336
    Total Memory: 1073209344


    Source Point
    ============

    Name:
    Current volume: 0
    Current file:
    Transfer option: 0
    Policy
    ======
    {
    }


    Sink Point
    ==========

    Name:
    Current volume: 0
    Current file:
    Transfer option: 0
    Policy
    ======
    {
    }

    Allocated
    33500 ..\GhoImage.cpp:188
    33500 ..\GhoImage.cpp:188
    Free

    Fat details:

    NTFS details:
    ----------------

    NTFS Global Flags:
    ----------------
    contiguousWrite=1 forceDiskClusterMapping=0
    inhibitCHKDSK=1 ignoreBadLog=0ignoreCHKDSKBit=0
    enable_cache=0 xfrbuflen=0
    last_attr_type = 0
    loadExact = 0
    sameSize = 0
    ----------------

    Disk Info :
    remote.............0
    drive..............ff
    sectorsUsedCount.......0
    estimatedUsedCount.....0
    numPartitions..............0
    Version............0
    Full structure dump....
    {
    SVersion: 0
    SCylinders: 0
    SDiskFormat: 13
    SMbr:
    0x0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x00a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x00b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x00c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x00d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x00e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x00f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x01a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x01b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x01c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x01d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x01e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x01f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0200
    SIsSpanned: false
    SOs2Name:
    0x0000 00 00 00 00 00 00 00 00 00 00
    SFingerprint: 0
    SHeadsPerCyl: 0
    SectorsPerTrack: 0
    SRemote: false
    SEndOfImagePosition: 0
    SFlags: 0
    SPatchedFileCount: 0
    SDrive: ff
    SEstimatedUsed: 0
    STotalSectors: 0
    SPartitions:
    [
    ]
    SSectorsUsed: 0
    }


    # Ord Boot Id Ext First Num Last Used NTFS

    Disk Info :
    remote.............0
    drive..............ff
    sectorsUsedCount.......0
    estimatedUsedCount.....0
    numPartitions..............0
    Version............0
    Full structure dump....
    {
    SVersion: 0
    SCylinders: 0
    SDiskFormat: 13
    SMbr:
    0x0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x00a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x00b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x00c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x00d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x00e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x00f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x01a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x01b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x01c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x01d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x01e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x01f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0200
    SIsSpanned: false
    SOs2Name:
    0x0000 00 00 00 00 00 00 00 00 00 00
    SFingerprint: 0
    SHeadsPerCyl: 0
    SectorsPerTrack: 0
    SRemote: false
    SEndOfImagePosition: 0
    SFlags: 0
    SPatchedFileCount: 0
    SDrive: ff
    SEstimatedUsed: 0
    STotalSectors: 0
    SPartitions:
    [
    ]
    SSectorsUsed: 0
    }


    # Ord Boot Id Ext First Num Last Used NTFS

    Fixed Drives

    Drive 0 VMware, VMware Virtual S 1.0

    Total Sectors 125829120
    Bytes per Sector 512
    MB 61440
    Cylinders 7832
    Heads 255
    Sectors per Track 63

    Drive 0 VMware, VMware Virtual S 1.0
    ASPI
    Total Sectors 125829120
    Bytes per Sector 512
    MB 61440
    Successful IO Count 0

    WinNT (Active)
    Total Sectors 125829120
    Bytes per Sector 512
    MB 61440
    Cylinders 7832
    Heads 255
    Sectors per Track 63
    Successful IO Count 8

    Drive [VMDK] Windows 7-000001 VMDISK_SN#

    Total Sectors 125829120
    Bytes per Sector 512
    MB 61440
    Cylinders 7832
    Heads 255
    Sectors per Track 63

    Drive 79 OS Volumes

    Total Sectors 125829154
    Bytes per Sector 512
    MB 61440
    Cylinders 7832
    Heads 255
    Sectors per Track 63

    AsyncIo : 0

    Image Devices


    Volume attributes
    =================
    1.1:
    Attribute dump
    BiosId:128
    DiskSignature9x:1978164454
    DiskSignatureNt:1281263418
    DiskModelNumber:VMware, VMware Virtual S 1.0
    VolumeSectorOffset:2048

    50.1:
    Attribute dump
    DiskSignature9x:1978164454
    DiskSignatureNt:1281263418
    DiskModelNumber:[VMDK] Windows 7-000001
    DiskSerialNumber:VMDISK_SN#
    VolumeSectorOffset:2048

    80.1:
    Attribute dump
    DiskSignature9x:1978164454
    DiskSignatureNt:1281263418
    DiskModelNumber:OS Volumes
    VolumeSectorOffset:2048

    LargeMemoryAllocationFactory diagnostic...
    ==========================================

    Heap available at construction: 595075072
    Current heap available: 594096128
    Total Memory: 1073209344

    Allocated

    DiskManager diagnostic...
    =========================

    Fixed Drives

    Drive 0 VMware, VMware Virtual S 1.0

    Total Sectors 125829120
    Bytes per Sector 512
    MB 61440
    Cylinders 7832
    Heads 255
    Sectors per Track 63

    Drive 0 VMware, VMware Virtual S 1.0
    ASPI
    Total Sectors 125829120
    Bytes per Sector 512
    MB 61440
    Successful IO Count 0

    WinNT (Active)
    Total Sectors 125829120
    Bytes per Sector 512
    MB 61440
    Cylinders 7832
    Heads 255
    Sectors per Track 63
    Successful IO Count 8

    Drive [VMDK] Windows 7-000001 VMDISK_SN#

    Total Sectors 125829120
    Bytes per Sector 512
    MB 61440
    Cylinders 7832
    Heads 255
    Sectors per Track 63

    Drive 79 OS Volumes

    Total Sectors 125829154
    Bytes per Sector 512
    MB 61440
    Cylinders 7832
    Heads 255
    Sectors per Track 63

    FilesystemMounter diagnostic...
    ===============================


    FilesystemManager diagnostic...
    ===============================

    Volume 1
    VolumePos: 1.1:
    DriveLetter: C:
    Description: 60GB Primary Disk 0 Offset 1MB 60GB VMware, VMware Virtual S 1.0
    Type: fsfNtfsWindowsXP
    Name:

    Volume 2
    VolumePos: 50.1:
    DriveLetter:
    Description: 60GB Primary Disk 49 Offset 1MB 60GB [VMDK] Windows 7-000001 VMDISK_SN#
    Type: fsfNtfsWindowsXP
    Name:

    Volume 3
    VolumePos: 80.1:
    DriveLetter: C:
    Description: 60GB Disk 79 Offset 1MB 60GB OS Volumes
    Type: fsfNtfsWindowsXP
    Name:


    LfoFilesystemManager diagnostic...
    ==================================

    Filesystem Index: 0
    Filesystem Descriptor:
    ID's:
    ID Type: 2
    ID: C:
    ID Type: 1
    ID: 1.1:
    ID Type: 8
    ID: 1:1:
    DriveType: 4
    FilesystemInfo:
    formatType: 8
    volumeName:

    Filesystem Index: 1
    Filesystem Descriptor:
    ID's:
    ID Type: 2
    ID: D:
    DriveType: 8
    No FilesystemInfo structure.
    Filesystem has no VolumePtr

    Filesystem Index: 2
    Filesystem Descriptor:
    ID's:
    ID Type: 4
    ID: HTTP://
    DriveType: 512
    No FilesystemInfo structure.
    Filesystem has no VolumePtr

    Filesystem Index: 3
    Filesystem Descriptor:
    ID's:
    ID Type: 4
    ID: HTTPS://
    DriveType: 512
    No FilesystemInfo structure.
    Filesystem has no VolumePtr

    Filesystem Index: 4
    Filesystem Descriptor:
    ID's:
    ID Type: 1
    ID: 50.1:
    ID Type: 8
    ID: 50:1:
    DriveType: 4
    FilesystemInfo:
    formatType: 8
    volumeName:

    Filesystem Index: 5
    Filesystem Descriptor:
    ID's:
    ID Type: 1
    ID: 80.1:
    ID Type: 8
    ID: 80:1:
    DriveType: 4
    FilesystemInfo:
    formatType: 8
    volumeName:


    Environment Variables
    =====================

    ALLUSERSPROFILE=C:\ProgramData
    APPDATA=C:\Users\VIP\AppData\Roaming
    CommonProgramFiles=C:\Program Files\Common Files
    COMPUTERNAME=WIN-DVBQNENKDMD
    ComSpec=C:\Windows\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Users\VIP
    LOCALAPPDATA=C:\Users\VIP\AppData\Local
    LOGONSERVER=\\WIN-DVBQNENKDMD
    NUMBER_OF_PROCESSORS=1
    OS=Windows_NT
    Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 58 Stepping 9, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=3a09
    ProgramData=C:\ProgramData
    ProgramFiles=C:\Program Files
    PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
    PUBLIC=C:\Users\Public
    SystemDrive=C:
    SystemRoot=C:\Windows
    TEMP=C:\Users\VIP\AppData\Local\Temp
    TMP=C:\Users\VIP\AppData\Local\Temp
    USERDOMAIN=WIN-DVBQNENKDMD
    USERNAME=VIP
    USERPROFILE=C:\Users\VIP
    windir=C:\Windows
    windows_tracing_flags=3
    windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log


    Configuration Server Variables
    ==============================

    {
    LfoFilesystemManager\:\:StartHttp = 1U,
    Ghost\:\:ExePath = "C:\\Users\\VIP\\Desktop\\ghost\\Ghost 12\\Ghost32.exe",
    DiskManager\:\:virtualDisk = ("C:\\Users\\VIP\\Downloads\\vmdktogho\\Windows 7-000001.vmdk"),
    Ghost\:\:FlagDemo = 0U,
    Ghost\:\:startAvailMemory = 593772544U,
    Ghost\:\:FlagSpanning = 1U,
    Ghost\:\:FlagMBR = 70U,
    Preserve = {
    RecoveredImage = Keep
    },
    Ghost\:\:TransferOption = 41U,
    Ghost\:\:SpanSplit = 9223372036854775807U
    }

    *********************************