Page 1 of 1

Command line help needed for saving image to right location

Posted: Mon Jan 25, 2016 7:34 pm
by Yottabytes
Evidently, the copy or save location for images changes when external drives are added or removed and, thus, the IFW wizard does not work correctly for creating new tasks that involve saving an image to a drive even if the drive partition letter does not change.

For example I want to copy my Windows OS on drive parition C: to a folder in drive partition E:. The command outputted by the wizard: /b /d:w0@0x1 /f:"E:\Image\COMPLETE-$~YYYY$-$~MM$-$~DD$" /max:4GiB /purge:-11 /comp:15 /log:0 does this. However, as soon as I add an external hard drive, whether its F: G H or any other letter beyond E:, I can't complete the image backup. It seems the problem has to do with the "d:w0@0x1" identification which changes when I add or remove a drive. I played around with the "output disk ID to command line" and "Use volume label" but they didn't seem to have any effect. How do I fix this? And please give a sample command.

Re: Command line help needed for saving image to right locat

Posted: Mon Jan 25, 2016 11:16 pm
by TeraByte Support(PP)
The "Output Disk ID to Command Line" option will show the disk ID when you look at the command line instead of drive number/letter references.

For example, the same command shown both ways:

imagew.exe" /b /d:w0@0x2 /f:"I:\backupname" /v
vs.
imagew.exe" /b /d:#0x527EE67@0x2 /f:{A23BBC18-58BE-4516-9A68-91C35457A9E9}@0x4:"\backupname" /v

In the above example, one partition is being backed up from an MBR disk to a partition on a GPT disk.

Re: Command line help needed for saving image to right locat

Posted: Tue Jan 26, 2016 4:55 pm
by Yottabytes
Thanks. Will try.

Re: Command line help needed for saving image to right locat

Posted: Fri Feb 12, 2016 5:25 pm
by Yottabytes
With (or without) an external drive installed, I am using this command containing the proper disk ID command switch (/b /d:#0xACDC2@0x1 /f:#0xFF505F68@0x1AE:"\Image\SD240II-$~YYYY$-$~MM$-$~DD$-+++4XXXX" /max:4GiB /comp:15) but I am getting the error message "Problems Were Found in the List of Partitons". IFW dialog shows what looks like corrupted volume label names even though they look fine in both Windows and Linux. It might also be worth mentioning that these are Samsung 1TB drives using the new 3D V-NAND technology, which maybe contributing to the error.

Re: Command line help needed for saving image to right locat

Posted: Sat Feb 13, 2016 4:46 am
by TeraByte Support
you'd probably want to provide a partinfo listing.

"Yottabytes" wrote in message news:11073@public.image...

With (or without) an external drive installed, I am using this command
containing the proper disk ID command switch (/b /d:#0xACDC2@0x1
/f:#0xFF505F68@0x1AE:"\Image\SD240II-$~YYYY$-$~MM$-$~DD$-+++4XXXX" /max:4GiB
/comp:15) but I am getting the error message "Problems Were Found in the
List of Partitons". IFW dialog shows what looks like corrupted volume label
names even though they look fine in both Windows and Linux.


Re: Command line help needed for saving image to right locat

Posted: Thu Feb 18, 2016 6:53 pm
by Yottabytes
Here you go. For some reason BBCode is off, even though I checked the on box in my profile. So sorry for the formatting.

PARTINFG, Version 1.02
Copyright (c) 2009,2013 TeraByte, Inc. All Rights Reseverd

Run Date: 2/18/2016 1:48 PM

===============================================================================
MBR Partition Information (HD1 - 0x000ACDC2)
(CHS: 1022/254/63) (WCHS: 29185/255/63)
+====+====+=============+====+=============+=============+=============+
| 0: | 80 | 0 32 33 | 7 | 1023 254 63 | 2048 | 366440448 |
| 1: | 0 | 1023 252 36 | f | 1023 254 63 | 366442496 | 102418432 |
+====+====+=============+====+=============+=============+=============+
Volume Information
+----+----+-------------+----+-------------+-------------+-------------+
| 0: | 0 | 1023 30 5 | 7 | 1023 254 63 | 2048 | 102416384 |
| 1: | 0 | 0 0 0 | 0 | 0 0 0 | 0 | 0 |
| 2: | 0 | 0 0 0 | 0 | 0 0 0 | 0 | 0 |
| 3: | 0 | 0 0 0 | 0 | 0 0 0 | 0 | 0 |
+----+----+-------------+----+-------------+-------------+-------------+
MBR Partition Information (HD1) Continued:
+====+====+=============+====+=============+=============+=============+
| 2: | 0 | 0 0 0 | 0 | 0 0 0 | 0 | 0 |
| 3: | 0 | 0 0 0 | 0 | 0 0 0 | 0 | 0 |
+====+====+=============+====+=============+=============+=============+
===============================================================================
BOOT SECTOR INFORMATION
-------------------------------------------------------------------------------
File System ID: 0x7 LBA: 2048 Total Sectors: 366440448 ID: 0x1
Jump: EB 52 90
OEM Name: NTFS
Bytes Per Sec: 512
Sec Per Clust: 8
Res Sectors: 0
Zero 1: 0x0
Zero 2: 0x0
NA 1: 0x0
Media: 0xF8
Zero 3: 0x0
Sec Per Track: 63
Heads: 255
Hidden Secs: 2048
NA 2: 0x0
NA 3: 0x800080
Total Sectors: 0x15D76FFF
MFT LCN: 0x4
MFT Mirr LCN: 0xB7BDF5
Clust Per FRS: 0xF6
Clust Per IBlock: 0x1
Volume SN: 0x1CD03915F711480
Checksum: 0x0
Boot Flag: 0xAA55
-------------------------------------------------------------------------------
File System ID: 0x7 LBA: 366444544 Total Sectors: 102416384
Jump: EB 52 90
OEM Name: NTFS
Bytes Per Sec: 512
Sec Per Clust: 8
Res Sectors: 0
Zero 1: 0x0
Zero 2: 0x0
NA 1: 0x0
Media: 0xF8
Zero 3: 0x0
Sec Per Track: 63
Heads: 255
Hidden Secs: 2048
NA 2: 0x0
NA 3: 0x800080
Total Sectors: 0x61ABFFF
MFT LCN: 0x4
MFT Mirr LCN: 0x27D57E
Clust Per FRS: 0xF6
Clust Per IBlock: 0x1
Volume SN: 0x1CD03915F711480
Checksum: 0x0
Boot Flag: 0xAA55
-------------------------------------------------------------------------------
===============================================================================
MBR Partition Information (HD2 - 0xFF505F68)
(CHS: 1023/254/63) (WCHS: 124519/255/63)
+====+====+=============+====+=============+=============+=============+
| 0: | 0 | 0 32 33 | 5 | 1023 254 63 | 2048 | 2000406528 |
+====+====+=============+====+=============+=============+=============+
Volume Information
+----+----+-------------+----+-------------+-------------+-------------+
| 0: | 0 | 1023 254 63 | 7 | 1023 254 63 | 362002432 | 1638404096 |
| 1: | 0 | 0 32 34 | 5 | 1023 254 63 | 1 | 362002431 |
| 2: | 0 | 0 0 0 | 0 | 0 0 0 | 0 | 0 |
| 3: | 0 | 0 0 0 | 0 | 0 0 0 | 0 | 0 |
+----+----+-------------+----+-------------+-------------+-------------+
| 0: | 0 | 0 65 2 | 7 | 1023 254 63 | 2047 | 362000384 |
| 1: | 0 | 0 0 0 | 0 | 0 0 0 | 0 | 0 |
| 2: | 0 | 0 0 0 | 0 | 0 0 0 | 0 | 0 |
| 3: | 0 | 0 0 0 | 0 | 0 0 0 | 0 | 0 |
+----+----+-------------+----+-------------+-------------+-------------+
MBR Partition Information (HD2) Continued:
+====+====+=============+====+=============+=============+=============+
| 1: | 0 | 0 0 0 | 0 | 0 0 0 | 0 | 0 |
| 2: | 0 | 0 0 0 | 0 | 0 0 0 | 0 | 0 |
| 3: | 0 | 0 0 0 | 0 | 0 0 0 | 0 | 0 |
+====+====+=============+====+=============+=============+=============+
===============================================================================
BOOT SECTOR INFORMATION
-------------------------------------------------------------------------------
File System ID: 0x7 LBA: 362004480 Total Sectors: 1638404096
Jump: EB 52 90
OEM Name: NTFS
Bytes Per Sec: 512
Sec Per Clust: 8
Res Sectors: 0
Zero 1: 0x0
Zero 2: 0x0
NA 1: 0x0
Media: 0xF8
Zero 3: 0x0
Sec Per Track: 63
Heads: 255
Hidden Secs: 362004480
NA 2: 0x0
NA 3: 0x800080
Total Sectors: 0x61A80FFF
MFT LCN: 0x4
MFT Mirr LCN: 0x61A80FF
Clust Per FRS: 0xF6
Clust Per IBlock: 0x1
Volume SN: 0x3A4DC1ED477114BE
Checksum: 0x0
Boot Flag: 0xAA55
-------------------------------------------------------------------------------
File System ID: 0x7 LBA: 4096 Total Sectors: 362000384
Jump: EB 52 90
OEM Name: NTFS
Bytes Per Sec: 512
Sec Per Clust: 8
Res Sectors: 0
Zero 1: 0x0
Zero 2: 0x0
NA 1: 0x0
Media: 0xF8
Zero 3: 0x0
Sec Per Track: 63
Heads: 255
Hidden Secs: 4096
NA 2: 0x0
NA 3: 0x800080
Total Sectors: 0x1593AFFF
MFT LCN: 0x4
MFT Mirr LCN: 0x1593AFF
Clust Per FRS: 0xF6
Clust Per IBlock: 0x1
Volume SN: 0x6637CA4C79FE9EEB
Checksum: 0x0
Boot Flag: 0xAA55
-------------------------------------------------------------------------------

Re: Command line help needed for saving image to right locat

Posted: Thu Feb 18, 2016 9:58 pm
by Brian K
Corrupted text in IFW Warning title bar. Not mentioned yet.

Re: Command line help needed for saving image to right locat

Posted: Fri Feb 19, 2016 3:43 am
by Yottabytes
That's just icon clutters from "Actual Tools." It's a "feature" of the utility when small windows are shown :-)

Re: Command line help needed for saving image to right locat

Posted: Fri Feb 19, 2016 7:14 am
by TeraByte Support
It's there in HD2, the extended partition is in an invalid configuration.
You can of course suppress the message with the /uy option after the /b and
things will still backup.

But this issue was started by some linux tool sometime in the past several
years that started creating that invalid layout with a entry that jumps over
other EBR's. You can fix it to get rid of the warning message by simply by
adding/removing a logical drive in the extended partition in Windows. BIBM
will have the option to rebuild the EBR chain soon (on a short list).

"Yottabytes" wrote in message news:11113@public.image...

Here you go. For some reason BBCode is off, even though I checked the on box
in my profile. So sorry for the formatting.

PARTINFG, Version 1.02
Copyright (c) 2009,2013 TeraByte, Inc. All Rights Reseverd

Run Date: 2/18/2016 1:48 PM

===============================================================================
MBR Partition Information (HD2 - 0xFF505F68)
(CHS: 1023/254/63) (WCHS: 124519/255/63)
+====+====+=============+====+=============+=============+=============+
| 0: | 0 | 0 32 33 | 5 | 1023 254 63 | 2048 | 2000406528 |
+====+====+=============+====+=============+=============+=============+
Volume Information
+----+----+-------------+----+-------------+-------------+-------------+
| 0: | 0 | 1023 254 63 | 7 | 1023 254 63 | 362002432 | 1638404096 |
| 1: | 0 | 0 32 34 | 5 | 1023 254 63 | 1 | 362002431 |
| 2: | 0 | 0 0 0 | 0 | 0 0 0 | 0 | 0 |
| 3: | 0 | 0 0 0 | 0 | 0 0 0 | 0 | 0 |
+----+----+-------------+----+-------------+-------------+-------------+
| 0: | 0 | 0 65 2 | 7 | 1023 254 63 | 2047 | 362000384 |
| 1: | 0 | 0 0 0 | 0 | 0 0 0 | 0 | 0 |
| 2: | 0 | 0 0 0 | 0 | 0 0 0 | 0 | 0 |
| 3: | 0 | 0 0 0 | 0 | 0 0 0 | 0 | 0 |
+----+----+-------------+----+-------------+-------------+-------------+
MBR Partition Information (HD2) Continued:
+====+====+=============+====+=============+=============+=============+
| 1: | 0 | 0 0 0 | 0 | 0 0 0 | 0 | 0 |
| 2: | 0 | 0 0 0 | 0 | 0 0 0 | 0 | 0 |
| 3: | 0 | 0 0 0 | 0 | 0 0 0 | 0 | 0 |
+====+====+=============+====+=============+=============+=============+


Re: Command line help needed for saving image to right locat

Posted: Fri Feb 19, 2016 1:14 pm
by Yottabytes
Yes, I set that drive up with hdparm and the Linux tool Partition Magic. I'll try Windows. Thanks very much.