Imaging a primary internal drive with image source on secondary internal drive
search cancel

Imaging a primary internal drive with image source on secondary internal drive

book

Article ID: 263551

calendar_today

Updated On:

Products

Ghost Solution Suite

Issue/Introduction

Ghost.exe cannot see the image stored on the secondary internal storage device used to image the primary Windows drive

Environment

Ghost Solution Suite 3.x

Cause

The image source storage device needs to be mounted first for Ghost to see the image

Resolution

When imaging a computer the Ghost command parameters would be: -CLONE,MODE=RESTORE,SRC=%IMAGE_FILENAME%,DST=1 -sure

where SRC=<image source drive> and DST=< drive number to image>

A helpful way to identify the SRC and DST drives is by using DISKPART command while in the automation environment.

To identify the disk number enter:
'list disk'

this will show disks 0 thru {n}

to get the volume the image is on enter: 

select disk {N} 

disk detail

For example: 

X:\Diskpart (Press Enter)

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
* Disk 0    Offline          476 GB      0 B        *                  ( Destination drive )

  Disk 1    Offline           250 GB      0 B       *                  ( source of image drive )

DISKPART> select disk 1

DISKPART> disk detail

PC SN730 NVMe WDC 250GB
Disk ID: {B2D256AD-6327-4A24-ADCD-7AF8A97BFC53}
Type   : SCSI
Status : Offline
Path   : 0
Target : 0
LUN ID : 0
Location Path : PCIROOT(0)#PCI(1D04)#PCI(0000)#SCSI(P00T00L00)
Current Read-only State : No
Read-only  : No
Boot Disk  : No
Pagefile Disk  : No
Hibernation File Disk  : No
Crashdump Disk  : No
Clustered Disk  : No

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     D   Storage      NTFS   Partition    250 GB  Healthy    System

NOTE: Here, D: is the volume the image is located so we need to mount this to say "H:\My Image Drive"

DISKPART> select volume 0
volume 0 is the selected volume.

DISKPART>assign mount="H:\My Image Drive"
Diskpart successfully assigned the drive letter or mount point.

DISKPART>exit

x:\ H:

H:\>cd My Mounted Drive

H:\My Mounted Drive> 

This directory is the path to the .gho file

So, the result will be: -CLONE,MODE=RESTORE,SRC="H:\My Image Drive\path\to\myimage.gho",DST=1 -sure

NOTE: where DST=1 is Drive 0 in Diskpart. There is no Drive 0 in Ghost.