Problems for "Backup & Recovery" tool

Discussion in 'Other Paragon Disk Utilities' started by souhalt, Jan 19, 2014.

  1. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Last edited: Jan 24, 2014
  2. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    (Continued)

    ### Discovered Problems ###

    (1) "Format Partition..." for FAT32 File system

    Until the following problems have been fixed, it is necessary
    to use the alternative FAT32 Formatter tools shown below.

    - "PartitionType" is not 0x0c (FAT32 partition that uses extended int13 services),
    and is forced 0x0b (FAT32 partition that does not use extended int13 services).
    It should be possible to set 0x0c for using LBA addressing mode.

    - PBR-BPB "0eh-0fh Reserved Sectors" is not fixed 0x20,
    and is variable, e.g. 0x22 (for 512 bytes per physical/logical sector).
    That does not support Partition Alignment of 8 logical sectors unit on the HDD/SSD
    which uses AFT (Advanced Format Technology; 4096 bytes per physical sector).
    It should be fixed 0x20 to support AFT HDD/SSD.

    - PBR-BPB "1ch-1fh Hidden Sectors" is not the offset from the beginning of the disk,
    and is forced 0x3f as for Logical Partitions.
    It should be the offset from the beginning of the disk as with Primary Partitions.
    See also the "Important Reference Links" shown below.

    Code:
    Table-1. "Format Partition..." for FAT32 File system
    Item	Pi (P0 etc.)	L0		Ln (L1 etc.)
    =======+===============+===============+===============
    MHS	(unch.)		(n/a)		(n/a)
    EHS	(n/a)		(unch.)		(unch.)
    PTY	0x0b(!=0x0c)	0x0b(!=0x0c)	0x0b(!=0x0c)
    PRS	!=0x20		!=0x20		!=0x20
    PHS	(OK!)		0x3f		0x3f
    
    (To be continued)
     
    Last edited: Jan 23, 2014
  3. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^2: Problems for "Backup & Recovery" tool

    (Continued)

    (2) "Restore Partition..." after "Burn Partition on CD or DVD..."

    - "EPBR HiddenSectors" of Logical Partition #0 is forced 0x1,
    and is not compatible with Logical Partition #n (n=1,2, ...).
    It should be compatible with the other Logical Partitions.

    - "PartitionType" is set forced 0x0b (FAT32 partition that does not use extended int13 services),
    and is changed from 0x0c (FAT32 partition that uses extended int13 services).
    It should be unchanged from 0x0c for using LBA addressing mode.

    Code:
    Table-2. "Restore Partition..." after "Burn Partition on CD or DVD..."
    Item	Pi (P0 etc.)	L0		Ln (L1 etc.)
    =======+===============+===============+===============
    MHS	(OK!)		(n/a)		(n/a)
    EHS	(n/a)		0x1		0x800*n
    PTY	0x0b<-0x0c	0x0b<-0x0c	0x0b<-0x0c
    PRS	(unch.)		(unch.)		(unch.)
    PHS	(OK!)		(OK!)		(OK!)
    
    Notes/Legend:
    
     Pi:	Primary Partition #i {i|i=0,1, ...}
     L0:	Logical Partition #0 (the 1st Logical Partition)
     Ln:	Logical Partition #n {n|n=1,2, ...}
    
     MHS:	MBR HiddenSectors (not PBR-BPB 1ch-1fh Hidden Sectors)
     EHS:	EPBR HiddenSectors (not PBR-BPB 1ch-1fh Hidden Sectors)
     PTY:	PartitionType
     PRS:	PBR-BPB 0eh-0fh Reserved Sectors
     PHS:	PBR-BPB 1ch-1fh Hidden Sectors (not MBR/EPBR HiddenSectors)
    
     MBR:	Master Boot Record
     EPBR:	Extended Partition Boot Record
     PBR:	Partition Boot Record
     BPB:	BIOS Parameter Block
     EBPB:	Extended BIOS Parameter Block
    
    The following paragraphs are the background informations.

    (To be continued)
     
    Last edited: Jan 20, 2014
  4. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^3: Problems for "Backup & Recovery" tool

    (Continued)

    -- par.2

    The following Partitioning Structure is assumed for the HDD/SSD
    to be evaluated.
    Each partition is to be formatted as FAT32 partition.

    Code:
    Table-3. Partitioning Structure
    ----------------------------------------
    MBR	Master Boot Record
    PBR#P0	Primary Partition #0 (P0)
    ----------------------------------------
    PBR#P1	Primary Partition #1 (P1)
    ----------------------------------------
    PBR#P2	Primary Partition #2 (P2)
    ----------------------------------------
    EPBR#L0	start of Extended Partition
    PBR#L0	Logical Partition #0 (L0)
    ----------------------------------------
    EPBR#L1	continued Extended Partition
    PBR#L1	Logical Partition #1 (L1)
    ----------------------------------------
    EPBR#L2	continued Extended Partition
    PBR#L2	Logical Partition #2 (L2)
    ----------------------------------------
    ...
    
    Notes/Legend:
    
     MBR:	Master Boot Record
     EPBR:	Extended Partition Boot Record
     PBR:	Partition Boot Record
     Extended Partition: container of Logical Partitions
    
    (To be continued)
     
  5. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^4: Problems for "Backup & Recovery" tool

    (Continued)

    -- par.3

    I am evaluating the following "Backup & Recovery" tool on a PC.

    Paragon Backup & Recovery, version 10.1.19.16240 (22.11.12) Free

    PC: Fujitsu FMV-BIBLO NF/G70 (OS: Windows7 HP SP1 32/64bit)
    ttp://pr.fujitsu.com/jp/news/2010/01/18/18a.html
    FMV-BIBLO NF/G70

    (To be continued)
     
  6. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^5: Problems for "Backup & Recovery" tool

    (Continued)

    -- par.4

    The following evaluation tools are useful.
    The "vector.co.jp" is the most traditional, the most famous
    and the largest distribution site of freewares/sharewares in Japan.

    bpb: displays information about a drive and the BPB on the volume
    ttp://ftp.vector.co.jp/pack/winnt/util/disk/status/bpb.zip
    -> bpb.zip (34,230 bytes)
    -> bpb.exe (61,440 bytes)

    Download Windows XP SP2 Support Tools for Advanced Users from Official Microsoft Download Center
    ttp://www.microsoft.com/en-us/download/confirmation.aspx?id=18546
    -> WindowsXP-KB838079-SupportTools-ENU.exe (4,934,480 bytes)
    -> support.cab (4,811,582 bytes) extracted under %TEMP%\
    -> dskprobe.exe (94,720 bytes), dskprobe.hlp and dskprobe.cnt

    PowerQuest Partition Table Editor (PTEDIT32.EXE)
    ftp://ftp.symantec.com/public/english_us_canada/tools/pq/utilities/PTEDIT32.zip
    -> PTEDIT32.zip (178,083 bytes)
    -> PTEDIT32.EXE (379,392 bytes)

    ### Important Reference Links ###

    Goodells.Net :: Understanding MultiBooting
    http://www.goodells.net/multiboot/ptable.shtml

    Using Disk Director to Change the Hidden Sectors field of an NTFS Logical Partition
    http://www.themudcrab.com/acronis_hiddensectors.php

    (To be continued)
     
    Last edited: Jan 23, 2014
  7. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^6: Problems for "Backup & Recovery" tool

    (Continued)

    -- par.5

    I wrote a batch file "bpbf.bat" - "BPB" display tool text Filtering wrapper -
    to operate the output of the above "bpb.exe".
    The above batch file also requires some perl.
    (requires only "perl.exe" and "perl5??.dll")

    (To be continued)
     
    Last edited: Jan 23, 2014
  8. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^7: Problems for "Backup & Recovery" tool

    (Continued)

    -- par.6

    The following alternative FAT32 Formatter tools are useful.
    These tools set PBR-BPB "0eh-0fh Reserved Sectors" as fixed 0x20.
    That supports Partition Alignment of 8 logical sectors unit on the HDD/SSD
    which uses AFT (Advanced Format Technology; 4096 bytes per physical sector).

    2Tware Fat32Format - Free download and software reviews - CNET Download.com
    http://download.cnet.com/2Tware-Fat32Format/3000-2094_4-75623509.html
    -> 2tware-fat32format-setup.exe (2,541,049 bytes) Version 1.13

    Ridgecrop Consultants Ltd
    http://www.ridgecrop.demon.co.uk/index.htm?guiformat.htm
    -> guiformat.exe (77,824 bytes) portable

    (To be continued)
     
    Last edited: Jan 22, 2014
  9. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^8: Problems for "Backup & Recovery" tool

    (Continued)

    Copy the following code from the first line to the last line.
    Paste it to notepad etc.
    And, save it as "bpbf.bat".

    Code:
    @rem = ('--*-Perl-*--
    @echo off
    if	exist "%~dp0\perl.exe" "%~dp0\perl.exe" "%~dpn0.bat" %*
    if not	exist "%~dp0\perl.exe"	     "perl.exe" "%~dpn0.bat" %*
    goto exit ') if 0;
    
    #!/usr/local/bin/perl
    #
    # File Name: "bpbf.bat" - "BPB" display tool text Filtering wrapper
    #
    # Copyright: Public Domain Software (NOT TO BE SHAREWARE OR FREEWARE)
    #
    # Version (??: secondary series; can be revised by somebodies)
    # *.*?? by ***	May be revised for something
    #
    # Version (ps: primary series; reserved for S. )
    # 1.0ps by S.	Created for perl4 or later version.
    #
    # Related Softwares (required):
    #
    # - perl 5, version 16, subversion 3 (v5.16.3) built for MSWin32-x86-multi-thread (freeware, 32bit) etc.
    #   http://www.activestate.com/activeperl/downloads
    #   http://downloads.activestate.com/ActivePerl/releases/5.16.3.1603/ActivePerl-5.16.3.1603-MSWin32-x86-296746.msi
    #   (used: "perl.exe" and "perl516.dll")
    #
    # - bpb: displays information about a drive and the BPB on the volume (freeware, 32bit)
    #   http://www.vector.co.jp/download/file/winnt/util/fh328130.html
    #   http://ftp.vector.co.jp/pack/winnt/util/disk/status/bpb.zip
    #   (used: "bpb.exe")
    
    sub which {
    	local(@_) = grep(-f "$_\\$_[0]" && ($_ = "$_\\$_[0]"), split(/\\*;/, $ENV{PATH}));
    	return $_[0];
    }
    
    $_ = 'bpb.exe';
    $bpb = $0;
    $bpb =~ s/([^\\]*)$/$_/;
    $bpb = &which($_) if !-f "$bpb";
    die "Can't find \"$_\": $!\a\n" if !-f "$bpb";
    
    #print STDERR "used: \"$0\"\n";
    #print STDERR "used: \"$^X\"\n";
    #print STDERR "used: \"$bpb\"\n";
    
    $mode = shift(@ARGV) if $ARGV[0] eq '-t';	# option -t: transparent mode
    $mode = shift(@ARGV) if $ARGV[0] eq '-f';	# option -f: filtering mode (default)
    
    open(BPB, "\"$bpb\" @ARGV|") || die "Can't open \"$bpb\": $!\a\n";
    if ($mode eq '-t') {
    	while (<BPB>) {
    		print;
    	}
    } else {
    	while (<BPB>) {
    #		print if /^Volume:/;
    #;;		print if /^StartingOffset:/;
    		if (1 & /^(StartingOffset:\s*)(\S+)\s+(\d+)/) {
    			$N = $3;
    			$U4KB = $N / 4096;	# 4KB
    			$U1MB = $N / 2**20;	# 1MB
    			$U1GB = $N / 2**30;	# 1GB
    			printf("$1$2=${N}B $U4KB/4KB %.3fMB %.3fGB\n", $U1MB, $U1GB);
    		}
    #;;		print if /^PartitionLength:/;
    		if (1 & /^(PartitionLength:\s*)(\S+)\s+(\d+)/) {
    			$N = $3;
    			$U4KB = $N / 4096;	# 4KB
    			$U1MB = $N / 2**20;	# 1MB
    			$U1GB = $N / 2**30;	# 1GB
    			printf("$1$2=${N}B $U4KB/4KB %.3fMB %.3fGB\n", $U1MB, $U1GB);
    		}
    #;;		print if /^HiddenSectors:/;
    		if (1 & /^(HiddenSectors:\s*)(\S+)\s+(\d+)/) {
    			$N = $3;
    			$U4KB = $N / 8;		#     8 Sectors = 4KB
    			printf("MBR/EPBR $1$2 $N $U4KB/4KB; $2 %% 8 = %u\n", $N % 8);
    		}
    #		print if /^PartitionNumber:/;
    		print if /^PartitionType:/;
    #		print if /^BootIndicator:/;
    #		print if /^RecognizedPartition:/;
    #		print if /^RewritePartition:/;
    #		print if /^00h-02h Jump Instruction:/;
    #		print if /^03h-0ah OEM ID:/;
    #		print if /^BIOS Parameter Block/;
    #		print if /^0bh-0ch Bytes Per Sector:/;
    #;;		print if /^0dh     Sectors Per Cluster:/;
    		if (1 & /^(0dh     Sectors Per Cluster:\s*)(\S+)\s+(\d+)/) {
    			$N = $3;
    			$U1B  = $N * 512;	# 1/512 Sectors = 1B
    			$U1KB = $N / 2;		#     2 Sectors = 1KB
    			$U4KB = $N / 8;		#     8 Sectors = 4KB
    			printf("$1$2 $N %uB ${U1KB}KB $U4KB/4KB\n", $U1B);
    		}
    #;;		print if /^0eh-0fh Reserved Sectors:/;
    		if (1 & /^(0eh-0fh Reserved Sectors:\s*)(\S+)\s+(\d+)/) {
    			$N = $3;
    			$U4KB = $N / 8;		#     8 Sectors = 4KB
    			printf("$1$2 $N $U4KB/4KB; $2 %% 8 = %u\n", $N % 8);
    		}
    #;;		print if /^10h     Number of FATs:/;
    		if (1 & /^(10h     Number of FATs:\s*)(\S+)\s+(\d+)/) {
    			$NOF = $3;
    			print;
    		}
    #		print if /^11h-12h Root Entries:/;
    #		print if /^13h-14h Small Sectors:/;
    #		print if /^15h     Media Descriptor:/;
    #		print if /^16h-17h Sectors Per FAT:/;
    #		print if /^18h-19h Sectors Per Track:/;
    #		print if /^1ah-1bh Number Of Heads:/;
    #;;		print if /^1ch-1fh Hidden Sectors:/;
    		if (1 & /^(1ch-1fh Hidden Sectors:\s*)(\S+)\s+(\d+)/) {
    			$N = $3;
    			$U4KB = $N / 8;		#     8 Sectors = 4KB
    			printf("$1$2 $N $U4KB/4KB; $2 %% 8 = %u\n", $N % 8);
    		}
    #;;		print if /^20h-23h Large Sectors:/;
    		if (0 & /^(20h-23h Large Sectors:\s*)(\S+)\s+(\d+)/) {
    			$N = $3;
    			$U4KB = $N / 8;		#     8 Sectors = 4KB
    			$U1MB = $N / 2048;	#  2048 Sectors = 1MB
    			$U1GB = $N / 2**21;	# 2**21 Sectors = 1GB
    			printf("$1$2 $N $U4KB/4KB %.3fMB %.3fGB\n", $U1MB, $U1GB);
    		}
    #;;		print if /^24h-27h Sectors Per FAT:/;
    		if (1 & /^(24h-27h Sectors Per FAT:\s*)(\S+)/) {
    			$N = hex($2);
    			$U4KB = $N * $NOF / 8;	#     8 Sectors = 4KB
    			printf("$1$2 $N $U4KB/4KB; ($2 * $NOF) %% 8 = %u\n", ($N * $NOF) % 8);
    		}
    #		print if /^28h-29h Extended Flags:/;
    #		print if /^2ah-2bh File System Version:/;
    #		print if /^2ch-2fh Root Cluster Number:/;
    #		print if /^30h-31h File System Information Sector Number:/;
    #		print if /^32h-33h Backup Boot Sector :/;
    #		print if /^34h-3fh Reserved:/;
    #		print if /^Extended BIOS Parameter Block/;
    #		print if /^40h     Physical Drive Number:/;
    #		print if /^41h     Reserved:/;
    #		print if /^42h     Extended Boot Signature:/;
    #		print if /^43h-46h Volume Serial Number:/;
    		print if /^47h-51h Volume Label:/;
    #		print if /^52h-59h System ID:/;
    	}
    }
    close();
    
    @rem = ('
    :exit ') if 0;
    
    
    The "primary series" of "bpbf.bat" shall be distributed and revised
    on the following Site/Link of the following author code on the "vector.co.jp".
    The "vector.co.jp" is the most traditional, the most famous
    and the largest distribution site of freewares/sharewares in Japan.

    Site (Top Page for an author of freewares/sharewares on the "vector.co.jp"):
    Download and Links - PA053879
    http://hp.vector.co.jp/authors/VA053879/

    Link for the "primary series" of "bpbf.bat":
    "bpbf.bat" - "BPB" display tool text Filtering wrapper
    http://hp.vector.co.jp/authors/VA053879/bpbf_bat.htm

    (End of post)
     
    Last edited: Jan 23, 2014
  10. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^9: Problems for "Backup & Recovery" tool

    Legend of Color Code:
    The following examples are the case of L0 (Logical Partition #0).
    Each example is assumed as an output of "bpbf.bat".

    Example: Ideal records of L0 for FAT32 File system
    Example: Formatted records of L0 by "Format Partition..." for FAT32 File system

    Example: Restored records of L0 by "Restore Partition..." after "Burn Partition on CD or DVD..."
    (To be continued)
     
    Last edited by a moderator: Apr 13, 2014
  11. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^10: Problems for "Backup & Recovery" tool

    (Continued)

    The following examples are the case of L1 (Logical Partition #1).
    Each example is assumed as an output of "bpbf.bat".

    Example: Ideal records of L1 for FAT32 File system
    Example: Formatted records of L1 by "Format Partition..." for FAT32 File system
    Example: Restored records of L1 by "Restore Partition..." after "Burn Partition on CD or DVD..."
    (To be continued)
     
    Last edited by a moderator: Apr 13, 2014
  12. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^11: Problems for "Backup & Recovery" tool

    (Continued)

    PBR-BPB "1ch-1fh Hidden Sectors" should be the offset from the beginning
    of the disk, as for Logical Partitions, as with Primary Partitions.
    The offset from the beginning of the disk is MBR/EPBR "StartingOffset" [Sc].
    MBR/EPBR "StartingOffset" [Sc] is equal to MBR/EPBR "Boot Record at sector N"
    at the title of the "Boot Record" window displayed by "PTEDIT32.EXE".

    The following correspondence table is related to the expressions
    of "PTEDIT32.EXE" and "bpbf.bat" ("bpb.exe").
    And, EPBR "Boot Record at sector N" may be calculated as follows.

    Code:
    Table-4. "PTEDIT32.EXE" vs. "bpbf.bat" ("bpb.exe")
    "PTEDIT32.EXE"				"bpbf.bat" ("bpb.exe")
    =======================================+========================================
    MBR/EPBR Boot Record at sector N[Sc]*1	MBR/EPBR StartingOffset[B]
    MBR/EPBR Sectors[Sc]			MBR/EPBR PartitionLength[B]
    MBR/EPBR Sectors Before[Sc]		MBR/EPBR HiddenSectors[Sc]
    MBR/EPBR Type				MBR/EPBR PartitionType
    ---------------------------------------+----------------------------------------
    PBR-BPB 4. Sectors per Cluster[Sc]	PBR-BPB 0dh     Sectors Per Cluster[Sc]
    PBR-BPB 5. Reserved Sectors[Sc]		PBR-BPB 0eh-0fh Reserved Sectors[Sc]
    PBR-BPB 6. Number of FATs		PBR-BPB 10h     Number of FATs
    PBR-BPB 13. Hidden Sectors[Sc]		PBR-BPB 1ch-1fh Hidden Sectors[Sc]
    PBR-EBPB 15. Big Sectors Per FAT[Sc]	PBR-EBPB 24h-27h Sectors Per FAT[Sc]
    PBR-EBPB 26. Volume Name		PBR-EBPB 47h-51h Volume Label
    
    Notes:
     *1 MBR/EPBR "Boot Record at sector N" is displayed at the title
        of the "Boot Record" window.
    
     *2 EPBR "Boot Record at sector N" may be calculated as follows.
    
    if (LogicalPartitionNo == 0) {
    	BootRecordAtSectorN[LogicalPartitionNo]
    	 = SectorsBefore[0][ExtendedPartitionEntryNo]
    	 + SectorsBefore[LogicalPartitionNo + 1][1];
    } else {
    	BootRecordAtSectorN[LogicalPartitionNo]
    	 = SectorsBefore[0][ExtendedPartitionEntryNo]
    	 + SectorsBefore[LogicalPartitionNo][2]
    	 + SectorsBefore[LogicalPartitionNo + 1][1];
    }
    
    
    (To be continued)
     
  13. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^12: Problems for "Backup & Recovery" tool

    (Continued)

    The following code is a perl script testing an algorithm to calculate
    EPBR "Boot Record at sector N".

    Code:
    #!/usr/local/bin/perl
    #
    # Related Softwares (reference):
    #
    # - PowerQuest Partition Table Editor (PTEDIT32.EXE)
    #   ftp://ftp.symantec.com/public/english_us_canada/tools/pq/utilities/PTEDIT32.zip
    
    #
    # Test Samples: EPBR "Boot Record at sector N" from outputs of "bpbf.bat"
    #
    @RefBRSN = (50331904*8, 67109888*8, 83887872*8, 100665600*8, 117443584*8);
    @rem = ('
      L0:
    StartingOffset: 0x3000100000=206159478784B 50331904/4KB 196609.000MB 192.001GB
    MBR/EPBR HiddenSectors: 0x1 1 0.125/4KB; 0x1 % 8 = 1
      L1:
    StartingOffset: 0x4000400000=274882101248B 67109888/4KB 262148.000MB 256.004GB
    MBR/EPBR HiddenSectors: 0x1000 4096 512/4KB; 0x1000 % 8 = 0
      L2:
    StartingOffset: 0x5000700000=343604723712B 83887872/4KB 327687.000MB 320.007GB
    MBR/EPBR HiddenSectors: 0x800 2048 256/4KB; 0x800 % 8 = 0
      L3:
    StartingOffset: 0x6000900000=412326297600B 100665600/4KB 393225.000MB 384.009GB
    MBR/EPBR HiddenSectors: 0x800 2048 256/4KB; 0x800 % 8 = 0
      L4:
    StartingOffset: 0x7000c00000=481048920064B 117443584/4KB 458764.000MB 448.012GB
    MBR/EPBR HiddenSectors: 0x1000 4096 512/4KB; 0x1000 % 8 = 0
    ') if 0;
    #
    # Test Samples: MBR/EPBR "Sectors Before" etc. displayed by "PTEDIT32.EXE"
    #
    $EPEN = 4;	# the Extended Partition Entry No.  for 402655231 shown below
    @SectorsBefore = (
    	[undef,	2048,	134219776,	268437504,	402655231],
    	[undef,	1,	134219777],
    	[undef,	4096,	268445697],
    	[undef,	2048,	402667521],
    	[undef,	2048,	536889345],
    	[undef,	4096,	0]
    );
    #
    # An algorithm to calculate EPBR "Boot Record at sector N" etc.
    #
    print "Test\tLPN\tBRSN\t\tBRSN/Physical\n";
    print "=======+=======+===============+================\n";
    $LPN = 0;	# Logical Partition No.
    while ($LPN < $#SectorsBefore) {
    	if ($LPN == 0) {
    		$BootRecordAtSectorN[$LPN]
    		 = $SectorsBefore[0][$EPEN]
    		 + $SectorsBefore[$LPN + 1][1];
    	} else {
    		$BootRecordAtSectorN[$LPN]
    		 = $SectorsBefore[0][$EPEN]
    		 + $SectorsBefore[$LPN][2]
    		 + $SectorsBefore[$LPN + 1][1];
    	}
    	if ($BootRecordAtSectorN[$LPN] == $RefBRSN[$LPN]) {
    		print "Good\t";
    	} else {
    		print "No Good\t";
    	}
    	print 'L', $LPN, "\t";
    	print $BootRecordAtSectorN[$LPN], "\t";
    	print $BootRecordAtSectorN[$LPN] / 8, "/4KB\n";
    	$LPN++;
    }
    
    
    The output of the above script is shown below.
    It was confirmed that each calculated BRSN (EPBR "Boot Record at sector N")
    is equal to MBR/EPBR "StartingOffset" [Sc].

    Code:
    Test	LPN	BRSN		BRSN/Physical
    =======+=======+===============+================
    Good	L0	402655232	50331904/4KB
    Good	L1	536879104	67109888/4KB
    Good	L2	671102976	83887872/4KB
    Good	L3	805324800	100665600/4KB
    Good	L4	939548672	117443584/4KB
    
    (To be continued)
     
    Last edited: Jan 30, 2014
  14. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^13: Problems for "Backup & Recovery" tool

    (Continued)

    See also the related "Image Gallery" thread shown below.

    Problems for "Backup & Recovery" tool - Wilders Security Forums
    https://www.wilderssecurity.com/showthread.php?t=359374

    Related MBR (Master Boot Record) image is shown below.
    The Entry No. 4 (Type: 0x0F) is for the Extended Partition.

    [​IMG]

    (To be continued)
     
  15. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^14: Problems for "Backup & Recovery" tool

    (Continued)

    Related EPBR (Extended Partition Boot Record) images are shown below.
    Entry No. 1 is for a Logical Partition.
    Entry No. 2 is for a child EPBR.
    Entry No. 3 and 4 are invalid on EPBRs.

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    (To be continued)
     
    Last edited: Jan 30, 2014
  16. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^15: Problems for "Backup & Recovery" tool

    (Continued)

    Related PBR (Partition Boot Record) images are shown below.
    PBR-BPB "13. Hidden Sectors" should be the same value as MBR/EPBR "Boot Record at sector N"
    at the title of the "Boot Record" window displayed by "PTEDIT32.EXE".

    [​IMG]

    [​IMG]

    (End of post)
     
  17. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^16: Problems for "Backup & Recovery" tool

    The following additional evaluation tool is useful.

    See also the above "Important Reference Links".

    Acronis DiskEditor Demo version 6.0 (build 360)
    Acronis Disk Editor * Sharewareisland.com * Freeware Shareware Software Downloads, ...
    http://www.sharewareisland.com/application.aspx?FileID=1830574
    -> diskeditor6.0_d_en.exe (4,433,656 bytes)

    Note: Check "Run as administrator" or "Run this program as an administrator" in Windows7 etc.

    (To be continued)
     
  18. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^17: Problems for "Backup & Recovery" tool

    (Continued)

    See also Table-4. "PTEDIT32.EXE" vs. "bpbf.bat" ("bpb.exe") .

    PBR-BPB "1ch-1fh Hidden Sectors" should be the offset from the beginning
    of the disk, as for Logical Partitions, as with Primary Partitions.
    The offset from the beginning of the disk is MBR/EPBR "StartingOffset" [Sc].
    MBR/EPBR "StartingOffset" [Sc] is equal to MBR/EPBR "Absolute sector"
    at the top of the window displayed by "Acronis DiskEditor Demo".

    The following correspondence table is related to the expressions
    of "Acronis DiskEditor Demo" and "bpbf.bat" ("bpb.exe").
    EPBR "Absolute sector" of PBR#Li may be calculated as follows.
    Each absolute sector of EPBR#Li is calculated as follows.

    Code:
    Table-5. "Acronis DiskEditor Demo" vs. "bpbf.bat" ("bpb.exe")
    "Acronis DiskEditor Demo"	"bpbf.bat" ("bpb.exe")
    ===============================+========================================
    MBR/EPBR Absolute sector[Sc]*1	MBR/EPBR StartingOffset[B]
    MBR/EPBR Number of sectors[Sc]	MBR/EPBR PartitionLength[B]
    MBR/EPBR Relative sectors[Sc]	MBR/EPBR HiddenSectors[Sc]
    MBR/EPBR Partition type		MBR/EPBR PartitionType
    -------------------------------+----------------------------------------
    PBR-BPB Sectors per cluster[Sc]	PBR-BPB 0dh     Sectors Per Cluster[Sc]
    PBR-BPB Reserved sectors[Sc]	PBR-BPB 0eh-0fh Reserved Sectors[Sc]
    PBR-BPB FAT copies		PBR-BPB 10h     Number of FATs
    PBR-BPB Hidden sectors[Sc]	PBR-BPB 1ch-1fh Hidden Sectors[Sc]
    PBR-EBPB FAT size[Sc]		PBR-EBPB 24h-27h Sectors Per FAT[Sc]
    PBR-EBPB Volume label		PBR-EBPB 47h-51h Volume Label
    
    Notes:
     *1 MBR/EPBR "Absolute sector" is displayed at the top of the window.
    
     *2 EPBR "Absolute sector" of PBR#Li may be calculated as follows.
    
    if (LogicalPartitionNo == 0) {
    	AbsoluteSector[LogicalPartitionNo]
    	 = RelativeSectors[0][ExtendedPartitionEntryNo]
    	 + RelativeSectors[LogicalPartitionNo + 1][1];
    } else {
    	AbsoluteSector[LogicalPartitionNo]
    	 = RelativeSectors[0][ExtendedPartitionEntryNo]
    	 + RelativeSectors[LogicalPartitionNo][2]
    	 + RelativeSectors[LogicalPartitionNo + 1][1];
    }
    
     *3 Each absolute sector of EPBR#Li is calculated as follows.
    
    if (LogicalPartitionNo == 0) {
    	AbsoluteSector[LogicalPartitionNo]
    	 = RelativeSectors[0][ExtendedPartitionEntryNo];
    } else {
    	AbsoluteSector[LogicalPartitionNo]
    	 = RelativeSectors[0][ExtendedPartitionEntryNo]
    	 + RelativeSectors[LogicalPartitionNo][2];
    }
    
    
    (To be continued)
     
    Last edited: Feb 17, 2014
  19. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^18: Problems for "Backup & Recovery" tool

    (Continued)

    See also the related "Image Gallery" thread shown below.

    Problems for "Backup & Recovery" tool - Wilders Security Forums
    https://www.wilderssecurity.com/showthread.php?p=2341288

    Related MBR (Master Boot Record) images are shown below.

    (MBR)
    [​IMG]
    (MBR)
    [​IMG]

    The Entry No. 4 (Partition type: 0Fh) is for the Extended Partition.
    The absolute sector of EPBR#L0 (a child EPBR) is 402655231 (180007FFh) as follows.
    Code:
    AbsoluteSector[0]
     = RelativeSectors[0][4]
     = 402655231
    
    (To be continued)
     
    Last edited by a moderator: Apr 14, 2014
  20. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^19: Problems for "Backup & Recovery" tool

    (Continued)

    Related EPBR (Extended Partition Boot Record) images are shown below.
    Entry No. 1 is for a Logical Partition.
    Entry No. 2 is for a child EPBR.
    Entry No. 3 and 4 are invalid on EPBRs.

    See also Discovered Problems (1) and (2).

    (EPBR#L0)
    [​IMG]
    (EPBR#L0)
    [​IMG]

    EPBR "Absolute sector" of PBR#L0 is 402655232 (18000800h) as follows.
    Code:
    AbsoluteSector[0]
     = RelativeSectors[0][4] + RelativeSectors[0 + 1][1]
     = 402655231 + 1
     = 402655232
    
    The absolute sector of EPBR#L1 (a child EPBR) is 536875008 (20001000h) as follows.
    Code:
    AbsoluteSector[1]
     = RelativeSectors[0][4] + RelativeSectors[1][2]
     = 402655231 + 134219777
     = 536875008
    
    (EPBR#L1)
    [​IMG]
    (EPBR#L1)
    [​IMG]

    EPBR "Absolute sector" of PBR#L1 is 536879104 (20002000h) as follows.
    Code:
    AbsoluteSector[1]
     = RelativeSectors[0][4] + RelativeSectors[1][2] + RelativeSectors[1 + 1][1]
     = 402655231 + 134219777 + 4096
     = 536879104
    
    The absolute sector of EPBR#L2 (a child EPBR) is 671100928 (28003000h) as follows.
    Code:
    AbsoluteSector[2]
     = RelativeSectors[0][4] + RelativeSectors[2][2]
     = 402655231 + 268445697
     = 671100928
    
    (EPBR#L2)
    [​IMG]
    (EPBR#L2)
    [​IMG]

    EPBR "Absolute sector" of PBR#L2 is 671102976 (28003800h) as follows.
    Code:
    AbsoluteSector[2]
     = RelativeSectors[0][4] + RelativeSectors[2][2] + RelativeSectors[2 + 1][1]
     = 402655231 + 268445697 + 2048
     = 671102976
    
    The absolute sector of EPBR#L3 (a child EPBR) is 805322752 (30004000h) as follows.
    Code:
    AbsoluteSector[3]
     = RelativeSectors[0][4] + RelativeSectors[3][2]
     = 402655231 + 402667521
     = 805322752
    
    (EPBR#L3)
    [​IMG]
    (EPBR#L3)
    [​IMG]

    EPBR "Absolute sector" of PBR#L3 is 805324800 (30004800h) as follows.
    Code:
    AbsoluteSector[3]
     = RelativeSectors[0][4] + RelativeSectors[3][2] + RelativeSectors[3 + 1][1]
     = 402655231 + 402667521 + 2048
     = 805324800
    
    The absolute sector of EPBR#L4 (a child EPBR) is 939544576 (38005000h) as follows.
    Code:
    AbsoluteSector[4]
     = RelativeSectors[0][4] + RelativeSectors[4][2]
     = 402655231 + 536889345
     = 939544576
    
    (EPBR#L4)
    [​IMG]
    (EPBR#L4)
    [​IMG]

    EPBR "Absolute sector" of PBR#L4 is 939548672 (38006000h) as follows.
    Code:
    AbsoluteSector[4]
     = RelativeSectors[0][4] + RelativeSectors[4][2] + RelativeSectors[4 + 1][1]
     = 402655231 + 536889345 + 4096
     = 939548672
    
    (To be continued)
     
  21. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^20: Problems for "Backup & Recovery" tool

    (Continued)

    Related PBR (Partition Boot Record) images are shown below.
    PBR-BPB "Hidden sectors" should be the same value as MBR/EPBR "Absolute sector"
    at the top of the window displayed by "Acronis DiskEditor Demo".

    See also Discovered Problems (1).

    (PBR#L0)
    [​IMG]
    (PBR#L0)
    [​IMG]

    (PBR#L1)
    [​IMG]
    (PBR#L1)
    [​IMG]

    (End of post)
     
    Last edited: Feb 17, 2014
  22. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^21: Problems for "Backup & Recovery" tool

    See also Discovered Problems (1) and (2).

    The above problems are not fixed in the latest 2014-x86/x64 version of "Backup & Recovery".
    And "Rescue Kit" is not being revised yet.

    The "Backup & Recovery" and "Rescue Kit" tools can be downloaded from the links shown below.

    Paragon Backup & Recovery, version 10.1.21.287 (16.12.13) Free x86/x64
    Paragon Backup & Recovery Free Edition - Free Download
    http://www.paragon-software.com/home/br-free/download.html

    Paragon Rescue Kit Free Edition (2011-04-28 15:03:47)
    Paragon Rescue Kit Free Edition
    http://www.paragon-software.com/home/rk-express/download.html

    (To be continued)
     
  23. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^22: Problems for "Backup & Recovery" tool

    (Continued)

    It was confirmed that a serious and additional problems are existing
    in the latest 2014-x64 (and not 2014-x86) version of "Backup & Recovery".

    The following problems have been confirmed with plural kind of PCs
    and with plural kind of BD/DVD/CD drives.
    So the problems are depended on the edition of "Backup & Recovery".

    ### Discovered Problems #2 ###

    For Paragon Backup & Recovery, version 10.1.21.287 (16.12.13) Free x64 (not x86);

    (1) "Restore Partition..." after "Burn Partition on CD or DVD..."

    - Any partition cannot be restored.
    Because any archive file cannot be selected on the "Select archive..." dialog box.
    Any files and directories/folders are not displayed on the "Select archive..."
    dialog box.

    (2) "Eject CD/DVD"

    - Any BD/DVD/CDs are not ejected by selecting "Eject CD/DVD" on the top menu.

    Code:
    Table-6. "Restore Partition..." after "Burn Partition on CD or DVD...", etc.
    
    Item	2014-x64	2014-x86	2013(x86)
    =======+===============+===============+===============
    Burn	OK!		OK!		OK!
    Restore	N/A		OK!		OK!
    Eject	N/A		OK!		OK!
    
    See also Discovered Problems (1) and (2).

    (To be continued)
     
  24. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^23: Problems for "Backup & Recovery" tool

    (Continued)

    Confirmation Report:
    Related images for the PC shown below.

    (Case) Inoperable

    (Media) X140302/nonintegrated

    (PC) Fujitsu FMV-BIBLO NF/G70 (FMVNFG70B)

    (OS) Windows7 HP SP1 32/64bit

    (Spec.)
    ttp://pr.fujitsu.com/jp/news/2010/01/18/18a.html
    FMV-BIBLO NF/G70

    (Notes)
    - More Images (Image Gallery)
    Problems for "Backup & Recovery" tool - Wilders Security Forums
    https://www.wilderssecurity.com/showthread.php?p=2349339

    BIOS setup information for the PC
    [​IMG]

    X140302: integrated bootable CD with XBOOT
    [​IMG]

    nonintegrated: Paragon Backup & Recovery, version 10.1.21.287 (16.12.13) Free x64
    [​IMG]

    X140302: Paragon Backup & Recovery, version 10.1.21.287 (16.12.13) Free x86
    [​IMG]

    nonintegrated: Paragon Backup & Recovery, version 10.1.21.287 (16.12.13) Free x64
    - Any BD/DVD/CDs are not ejected by selecting "Eject CD/DVD" on the top menu.
    [​IMG]

    nonintegrated: Paragon Backup & Recovery, version 10.1.21.287 (16.12.13) Free x64
    - Any files and directories/folders are not displayed on the "Select archive..." dialog box.
    [​IMG]

    X140302: Paragon Backup & Recovery, version 10.1.21.287 (16.12.13) Free x86
    [​IMG]

    X140302: Paragon Backup & Recovery, version 10.1.21.287 (16.12.13) Free x86
    [​IMG]

    (End of post)
     
    Last edited by a moderator: Apr 14, 2014
  25. souhalt

    souhalt Registered Member

    Joined:
    Jan 10, 2014
    Posts:
    50
    Location:
    Japan
    Re^24: Problems for "Backup & Recovery" tool

    It was confirmed that more an additional problem is existing
    in the latest 2014-x64 (and not 2014-x86) version of "Backup & Recovery".

    The following problem has been confirmed with plural kind of PCs
    and with plural kind of BD/DVD/CD drives.
    So the problem is depended on the edition of "Backup & Recovery".

    ### Discovered Problems #2-1 ###

    For Paragon Backup & Recovery, version 10.1.21.287 (16.12.13) Free x64 (not x86);

    See also Discovered Problems #2.
    (3) "Eject CDROM"

    - Any BD/DVD/CDs are not ejected by selecting "Eject CDROM" on the "Select archive..." dialog box.

    See also Discovered Problems (1) and (2).

    (To be continued)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.