Routine to BACKUP and RESTORE key sectors of a FAT32 Hard Disk
Thursday, August 7, 2008 at 10:18 am Windows Me Annoyances Discussion Forum
Posted by Ed
(659 messages posted)
Routine to BACKUP and RESTORE key sectors of a FAT32 Hard Disk
on a system with up to two Hard Disks, each with up to four Partitions
This routine is an essential precaution for anyone using a FAT32 disk
with Windows 9x (Windows 95 OSR2, Windows 98, Windows 98SE, Windows ME)
Build a BATCH file, by selecting the options (below) that are appropriate
for your system, to backup the key sectors of your Hard Disk(s) that hold
the disk's structure information. For most of those sectors, this only
need be done once. But you should make a backup of the FAT (File Allocation
Table) every day, as part of the boot/startup process.
DOS Utilities needed:
Svend's CYLDIR, v5.5: CYLDIR.EXE
Svend's FINDPART for DOS, v4.72: FINDPART.EXE
Odi's LCOPY for long file names, v1.75 (English): LCOPY.EXE
Odi's LDIR for long file names, v1.75 (English): LDIR.EXE
PowerQuest's MBR Utility for DOS, (c) 2002: MBRutilD.EXE
Star-Tools Partition Information program, v1.04: PARTINFO.EXE
PowerQuest's Partition Table Editor for DOS, v1.0: PTEDIT.EXE
Serial Copy, (c) 1996 Future Publishing: SERCOPY.COM
SRCFat v1.3, (c) 2001 The WOrm: SRCFAT.COM
DOS Device Drivers needed:
USB 1.1 drivers for DOS, Panasonic / Motto Hairu: USBASPI.SYS & Di1000DD.SYS
(Further info: Computing.net Forum - USB 2.0 drivers for DOS)
FUNCTION: Save & Restore MBR (BPB, IPL & Partition Table),
Track 1, Partition Boot Records, FATs 1 & 2
*** Set Path ***
Set DOSpath=%PATH%
PATH ;
Set PATH=C:\;C:\WINDOWS;C:\WINDOWS\COMMAND
*** Disk Cache for MS-DOS Mode ***
* To make the routine run faster *
SMARTDRV.EXE 4096 16>nul
SAVE a sector
===============
This routine is designed to work with -
Svend's Utilities: FINDPART for DOS (version 4.72)
Svend's Utilities: FINDPART for Windows (version 4.95 for FAT32)
*** Preparation ***
1. Make an empty directory (C:\SAVED\DATA) to store the output files.
2. Make an empty directory on a USB Disk (at F:\SAVED\DATA) to store
a BACKUP copy of the output files.
Note:
The main directory holding saved sectors is C:\SAVED\DATA
Disk Structure notes
=======================
FILES & CLUSTERS:
Each file occupies 1 cluster. In FAT32 the default cluster size is -
Partition size Cluster size
-------------- ------------
Up to 8 GB 4K
Up to 16 GB 8K
Up to 32 GB 16K
Over 32 GB 32K
The maximum number of valid clusters in a partition is:
((# of Sectors in Partition) - (# of Sectors per Fat * 2) - (# of Reserved Sectors))
/ (# of Sectors per Cluster)
If there is any remainder in the answer to that formula, it just
means there were a few extra sectors at the end of the partition
(not enough to make another cluster).
PARTITION TYPES:
In the Partition Table, ID types for 32-bit FAT -
05(hex) = Extended Partition [Contains logical partitions]
0B(hex) = FAT32 Partition
0C(hex) = FAT32 Extended Partition
(FAT32X) (FAT32, LBA-mapped, Extended-INT13 equivalent of 0B)
0F(hex) = Extended partition, LBA-mapped
(Win9x uses type 0F as the extended-INT13 equivalent of type 05,
but type 0F can cause DATA LOSS, in going back and forth between
DOS and Windows)
1B(hex) = Hidden FAT32 Partition
1C(hex) = Hidden FAT32 Partition, LBA-mapped
(sometimes used in hidden IBM rescue partitions)
LOGICAL BLOCK ADDRESSING (LBA):
LBA = (Sector - 1) + (Head * Total Sectors) + (Cylinder * (Total Heads + 1) * Total
Sectors)
NON-DOS PARTITION:
The first Track on the Disk: 63 sectors (CHS 0-0-1 to 0-0-63).
Track 1 (in Cylinder 0) starts at sector 1 (CHS 0-0-1) and
ends at sector 63 (CHS 0-0-63). This is the hidden 63 sectors
(Non-DOS Partition) at the start of the disk which holds
the Master Boot Record & Partition Table for the entire Disk.
Sector 1 (CHS 0-0-1), Boot Sector or Master Boot Record (MBR):
Initial Program Loader (IPL) code, BIOS Parameter Block (BPB),
and Partition Table. Located at 0000 hex.
All other sectors are usually blank; but special backup software
sometimes stores recovery data in the 60 empty sectors, so it is
prudent to make a backup copy of ALL the 63 sectors of Track 1.
(a) Sector 3 (CHS 0-0-3) (at 0400 hex) may contain data.
(b) Sector 9 (CHS 0-0-9) (at 1000 hex) may be a backup copy of the
MBR sector (CHS 0-0-1), starting with the marker "90 E9 7D".
(c) Sector 62 (CHS 0-0-62) (at 7A00 hex) may contain data.
(d) Sector 63 (CHS 0-0-63) (at 7C00 hex) may contain data.
Partition Table -
The Partition Table (64 bytes) contains four 16-byte entries,
one for each of the four partitions allowed under DOS/Windows.
The format of each 16-byte entry (see PTEDIT.EXE) is:
- Boot indicator and BIOS drive number
(1 byte, must be 00 or greater than 80)
- Starting head number (1 byte, 0 to 255)
- Starting cylinder number (10 bits, 0 to 1023) and
starting sector number (6 bits, 1 to 63, 0 being invalid)
- System indicator (1 byte)
- Ending head number (1 byte, 0 to 255)
- Ending cylinder number (10 bits, 0 to 1023) and
ending sector number (6 bits, 1 to 63, 0 being invalid)
- Starting sector, relative to beginning of disk (4 bytes)
- Number of sectors in the partition (4 bytes)
The four partitions are scattered along the disk, connected by
a linked list of partition table sectors, starting with the MBR.
The 'Ending cylinder number' is meaningless. 'Starting sector'
and 'Number of sectors in the partition' are enough to identify
the partition: System Indicator type 0F uses INT 13 Extensions
which use those two numbers as LBA addresses and don't use the
other INT 13 CHS numbers.
PRIMARY PARTITION:
The first partition on the Disk that is recognisable by DOS
and Windows. Starts at sector 64 (CHS 0-1-1) (LBA sector 63).
NB: The LBA sector numbering starts at 0, whereas CHS sector
numbering starts at 1; hence there is a discrepancy of 1.
Sector 64 (at 7E00 hex) (the Boot Record):
This sector (CHS 0-1-1) is the start of Track 2, and also
the start of the Primary Partition (as defined at CHS 0-0-1).
This sector contains the Boot Record for the partition (even
if this partition is not set as the active bootable partition
in the Partition Table in sector 0-0-1).
NB: Only the Primary Partition is bootable. A Logical Partition
can *NOT* be set as "active" (i.e. bootable).
Sector 65 (at 8000 hex) (FS Info Sector):
This sector (CHS 0-1-2) is the File System Information Sector.
NB: The MBR (at CHS 0-0-1) provides that the Root Directory
starts in the first sector of cluster 2. This is that sector:
there are 64 sectors per cluster, as a partition exceeding
32GB must use 32K clusters, and 1 sector = 0.5K (512 bytes).
Sector 66 (at 8200 hex) (the 3rd sector of this partition)
contains data (starting with the marker "FA 66 OF").
Sector 70 (at 8A00 hex) (the 7th sector of this partition)
contains a BACKUP copy of sector 64.
Sector 71 (at 8C00 hex) (the 8th sector of this partition)
contains a BACKUP copy of sector 65.
Sector 72 (at 8E00 hex) (the 9th sector of this partition)
contains a BACKUP copy of sector 66. Sectors 73 to 95 are blank.
The 1st FAT starts at sector 96 (CHS 0-1-33) (at BE00 hex),
with a 4-byte marker "F8 FF FF FF".
Boot Record:
The extended BPB (BIOS Parameter Block) structure under FAT32
in the 1st sector of the Primary Partition (CHS 0-1-1):
Size Comment Example
------- --------------------------------------------- --------
2 bytes Jump instruction (jump to IPL boot code) EB58
1 byte NOP instruction 90
8 bytes OEM ID - Name of formatting Operating System MSWIN4.1
(start of BPB in FAT32)
2 bytes Bytes per sector [200(hex) = 512] 200h
1 byte Sectors per cluster [40(hex) = 64 (i.e.32KB)] 40h
2 bytes Number of reserved sectors: number of sectors 20h
before first FAT (not all are used on current
implementations). Two sectors are used for
primary boot sector, two sectors are used for
a backup copy of the boot sector, and other
sectors may be used for an FS Info Sector.
[NB: 20(hex) = 32 sectors]
1 byte Number of File Allocation Tables (usually 2) 2h
2 bytes No. of Root Directory entries (N/A in FAT32) 0000
2 bytes Total number of sectors (Not used in FAT32) 0000
1 byte Media Descriptor (F8 in FAT32) F8h
2 bytes Number of Sectors per FAT (Not used in FAT32) 0000
2 bytes Number of Sectors per Track [3F(hex) = 63] 3Fh
2 bytes Number of Heads [FF(hex) = 255] FFh
4 bytes Number of hidden sectors [3F(hex) = 63] 3Fh
[NB: Sectors CHS 0-0-1 to 0-0-63, i.e. Track 1]
4 bytes Big Number of Sectors (The number of sectors
in this partition)
4 bytes Big Number of Sectors per FAT (The number of
sectors per FAT)
2 bytes FAT handling flag (Enables FAT mirroring, 0000h
if set. If mirroring is enabled, all copies
(i.e. both copies) of the FAT are updated)
2 bytes File system version 0000h
4 bytes Start cluster of root directory (usually 2) 2h
2 bytes File system info sector (FS Info Sector) 0002h
2 bytes Backup boot sector 0006h
12 bytes Reserved 00 (all)
(end of BPB in FAT32)
(start of Extended BPB)
1 byte Drive number (80h = Drive C:) (81h = Drive D:) 80h
1 byte Reserved 00h
1 byte Boot signature (29h if it's an extended boot 29h
signature record)
4 bytes Boot sector Volume ID EE5h
11 bytes Disk Volume ID (Some bytes may be spaces, 20h) DRIVE C
8 bytes File system type FAT32
(end of Extended BPB)
Total = 90 bytes (Address 00h to 59h, inclusive)
The final 420 bytes is the IPL (Initial Program Loader) boot code
(which passes control to the Operating System installed in the
active Partition), the Partition Table, and the 2 signature bytes
(AA55h) that mark the end of the Boot Record.
Note: Wherever an entry comprises 2 or more bytes, as usual
these are read from right-to-left (i.e. little endian).
Jump Instruction (2 bytes):
Instructs computer to jump over the BPB (Bios Parameter Block) to
the first byte of executable code (the first byte after the BPB
and Extended BPB). The jump is 88 bytes (58 hex), to byte 5A(hex),
the first byte of the Initial Program Loader code.
FS Info Sector:
File System Information Sector (FS Info Sector) (CHS 0-1-2)
Usually the second sector of the partition. There is a reference
in the partition's Boot Record identifying its location.
Offset Description Size
------ -------------------------------------------- ---------
00h First Signature (52h 52h 61h 41h) 4 bytes
04h Unknown or Null (all 00h) 480 bytes
1E4h Signature of FSInfo Sector (72h 72h 41h 61h) 4 bytes
1E8h Number of Free Clusters (-1 if unknown) 4 bytes
1ECh Cluster # of cluster most recently allocated) 4 bytes
1F0h Reserved (all 00h) 12 bytes
1FCh Unknown or Null (00h 00h) 2 bytes
1FEh Boot Record Signature (55h AAh) 2 bytes
Example: 80GB HDD
FAT size for an 80GB partition = e.g. 19,075 sectors
Thus FATs 1 and 2 = 19,075 x 2 = 38,150 sectors (or 19,075K)
The 1st FAT begins at CHS 0-1-33. This address is calculated
by taking the address of the first sector in the partition and
adding the number of hidden sectors for the partition.
The 2nd FAT begins at sector 19,171 (CHS 1-49-19) (95C400 hex)
because 19,075 + 95 = 19,170 (as there are 95 sectors before
the 1st FAT).
The 2nd FAT ends at sector 38,150 + 95 = sector 38,245
Thus file data could begin at sector 38,246 (12ACC00 hex).
File data actually begins at sector 38,310 (at 12B4A00 hex),
i.e. 65 sectors later, leaving 64 empty sectors (1 cluster)
separating the end of the 2nd FAT from the start of file data.
So it would be prudent to make a backup of sectors 1 to 38,309.
More file data starts at 12C4A00 hex: i.e. a file is beginning
every 65,536 bytes (10000 hex), i.e. every 64K (2 Clusters).
SYNTAX of FINDPART.EXE -
First is the number of the Disk (numbered from 1), e.g. 1
Next is the CHS number, e.g. 0 0 1
Next is the number of sectors to save, e.g. 1
Next specify a destination file, e.g. on Drive A: (floppy)
The option NOHEADER means only the actual data will be written,
not the identifying fileheader added by the GETSECT program
The option BADF6 means the program will write character F6 (hex)
for all bytes that can't be read (something that will only occur
if the Disk is physically damaged)
DISK 1
=======
NON-DOS PARTITION:
*** Saves Sector 0-0-1 (Master Boot Record & Partition Table) **
FINDPART GETSECT 1 0 0 1 1 0-0-1.D1 noheader badf6
*** Saves Sector 0-0-3 (Sector 3 of Track 1) ***
FINDPART GETSECT 1 0 0 3 1 0-0-3.D1 noheader badf6
*** Saves Sector 0-0-62 (Sector 62 of Track 1) ***
FINDPART GETSECT 1 0 0 62 1 0-0-62.D1 noheader badf6
*** Saves Sector 0-0-63 (Sector 63 of Track 1) ***
FINDPART GETSECT 1 0 0 63 1 0-0-63.D1 noheader badf6
*** Saves Sector 0-0-1 to 0-0-63 (Hidden Non-DOS Partition) ***
FINDPART GETSECT 1 0 0 1 63 0-0-1-63.D1 noheader badf6
NB: The above sectors only need to be saved ONCE **
as their values are permanent! **
PRIMARY PARTITION:
*** Saves Sector 0-1-1 (Boot Record) ***
FINDPART GETSECT 1 0 1 1 1 0-1-1.D1 noheader badf6
*** Saves Sector 0-1-2 (FS Info Sector) ***
FINDPART GETSECT 1 0 1 2 1 0-1-2.D1 noheader badf6
*** Saves Sector 0-1-3 (Root Directory) ***
FINDPART GETSECT 1 0 1 3 1 0-1-3.D1 noheader badf6
*** Saves Sector 0-1-1 to 0-1-32 (First 32 sectors) ***
FINDPART GETSECT 1 0 1 1 32 0-1-1-32.D1 noheader badf6
NB: The above sectors only need to be saved ONCE
as their values are permanent!
*** Saves Sector 96 onward: FAT 1 & 2 ***
** Number of sectors to save = Big Sectors Per FAT **
The value of "Big Sectors Per FAT" is displayed by
the 32bit version of PowerQuest Partition Table Editor)
- Check this value in DOS with PTEDIT.EXE (the earlier
version, PowerQuest Partition Table Editor for DOS v1.0)
(e.g. ST380011A HDD = 19,075)
- Check start sector (CHS) of 2nd FAT with FINDPART.EXE
** Needs to be saved daily, as FAT details change constantly **
** This will be a BIG file, so do NOT save it to floppy **
FINDPART GETSECT 1 0 1 33 19075 FAT1.D1 noheader badf6
FINDPART GETSECT 1 1 49 19 19075 FAT2.D1 noheader badf6
*** PowerQuest Partition Table Editor for DOS ***
*** Check value of "Big Sectors Per FAT" ***
MOUSE.EXE
PTEDIT.EXE
*** Find start sector of 2nd FAT (Primary Partition only) ***
FINDPART FINDFAT 1 0 1 FAT_CHS1.TXT
DISK 2
=======
NON-DOS PARTITION:
*** Saves Sector 0-0-1 (Master Boot Record & Partition Table) **
FINDPART GETSECT 2 0 0 1 1 0-0-1.D2 noheader badf6
*** Saves Sector 0-0-3 (Sector 3 of Track 1) ***
FINDPART GETSECT 2 0 0 3 1 0-0-3.D2 noheader badf6
*** Saves Sector 0-0-62 (Sector 62 of Track 1) ***
FINDPART GETSECT 2 0 0 62 1 0-0-62.D2 noheader badf6
*** Saves Sector 0-0-63 (Sector 63 of Track 1) ***
FINDPART GETSECT 2 0 0 63 1 0-0-63.D2 noheader badf6
*** Saves Sector 0-0-1 to 0-0-63 (Hidden Non-DOS Partition) ***
FINDPART GETSECT 2 0 0 1 63 0-0-1-63.D2 noheader badf6
NB: The above sectors only need to be saved ONCE **
as their values are permanent! **
PRIMARY PARTITION:
*** Saves Sector 0-1-1 (Boot Record) ***
FINDPART GETSECT 2 0 1 1 1 0-1-1.D2 noheader badf6
*** Saves Sector 0-1-2 (FS Info Sector) ***
FINDPART GETSECT 2 0 1 2 1 0-1-2.D2 noheader badf6
*** Saves Sector 0-1-3 (Root Directory) ***
FINDPART GETSECT 2 0 1 3 1 0-1-3.D2 noheader badf6
*** Saves Sector 0-1-1 to 0-1-32 (First 32 sectors) ***
FINDPART GETSECT 2 0 1 1 32 0-1-1-32.D2 noheader badf6
NB: The above sectors only need to be saved ONCE **
as their values are permanent! **
*** Saves Sector 96 onward: FAT 1 & 2 ***
** Number of sectors to save = Big Sectors Per FAT **
The value of "Big Sectors Per FAT" is displayed by
the 32bit version of PowerQuest Partition Table Editor)
- Check this value in DOS with PTEDIT.EXE (the earlier
version: PowerQuest Partition Table Editor for DOS)
(e.g. 9,264)
- Check start sector (CHS) of 2nd FAT with FINDPART.EXE
** Needs to be saved daily, as FAT details change constantly **
** This will be a BIG file, so do NOT save it to floppy **
FINDPART GETSECT 2 0 1 33 9264 FAT1.D2 noheader badf6
FINDPART GETSECT 2 0 148 36 9264 FAT2.D2 noheader badf6
*** PowerQuest Partition Table Editor for DOS ***
*** Check value of "Big Sectors Per FAT" ***
MOUSE.EXE
PTEDIT.EXE
*** Svend's FINDPART: FindFAT Option ***
*** Find start sector of 2nd FAT (Primary Partition only) ***
FINDPART FINDFAT 2 0 1 FAT_CHS2.TXT
/---------------------------------------------------------------/
EXTENDED partition notes
===========================
A FAT32 disk has a MAXIMUM of four partitions:
1 x Primary DOS Partition
1 x Extended Partition, containing up to 3 Logical Partitions
On a FAT32 disk, the second entry in the MBR Partition Table
at CHS 0-0-1 shows where the Extended Partition is.
Go to the start of the Extended Partition, and read its first
sector. This acts just like the MBR in sector 0-0-1, but has
blanks instead of code in some locations. Where the Partition
Table should be, the first entry is the 1st Logical partition.
If there are any more partitions, the second entry points to
another Extended Partition. All references to Sector Numbers
use the MBR sector of the Extended Partition as the start point.
A Logical Partition is structured like the Primary Partition:
- Sector 1 is the Boot Record
- Sector 2 is the File System Information Sector
- Sector 3 is the Root Directory
Logical drives are not bootable.
EXTENDED Partition
====================
DISK 1
=======
1st Logical Partition -
*** Save Boot Record ***
** User must insert CHS value (from sector 0-0-1) of 1st sector **
FINDPART GETSECT 1 _____ ___ __ 1 L1_1st.D1 noheader badf6
*** Save FS Info Sector ***
** User must insert CHS value of 2nd sector of this Partition **
FINDPART GETSECT 1 _____ ___ __ 1 L1_2nd.D1 noheader badf6
*** Save Root Directory ***
** User must insert CHS value of 3rd sector of this Partition **
FINDPART GETSECT 1 _____ ___ __ 1 L1_3rd.D1 noheader badf6
*** Save first 32 sectors of Partition ***
** User must insert CHS value (from sector 0-0-1) of 1st sector **
FINDPART GETSECT 1 _____ ___ __ 32 L1_1-32.D1 noheader badf6
NB: The above sectors only need to be saved ONCE **
as their values are permanent! **
*** Saves Sector 96 onward: FAT 1 & 2 ***
** Number of sectors to save = Big Sectors Per FAT **
The value of "Big Sectors Per FAT" is displayed by
the 32bit version of PowerQuest Partition Table Editor)
- Check this value in DOS with PTEDIT.EXE (the earlier
version: PowerQuest Partition Table Editor for DOS)
** User must insert CHS value of 33rd sector of this Partition **
FINDPART GETSECT 1 _____ ___ 33 _____ L1_FAT1.D1 noheader badf6
** User must find CHS start sector of 2nd FAT with FINDPART.EXE
FINDPART GETSECT 1 _____ ___ __ _____ L1_FAT2.D1 noheader badf6
** Need to be saved daily, as FAT details change constantly **
** These will be BIG files, so do NOT save them to floppy! **
*** PowerQuest Partition Table Editor for DOS ***
*** Check value of "Big Sectors Per FAT" ***
MOUSE.EXE
PTEDIT.EXE
*** Find CHS start sector of 2nd FAT with FINDPART.EXE ***
** Reports starting sector (CHS) and size (sectors) **
** of all FATs on the Disk (Primary & Logical) **
FINDPART FINDFAT 1 comprehensive FAT_DSK1.TXT
FINDPART FINDFAT 2 comprehensive FAT_DSK2.TXT
2nd Logical Partition -
*** Save Boot Record ***
** User insert CHS value from 1st sector of 1st Logical Partition *
FINDPART GETSECT 1 _____ ___ __ 1 L2_1st.D1 noheader badf6
*** Save FS Info Sector ***
** User must insert CHS value of 2nd sector of this Partition **
FINDPART GETSECT 1 _____ ___ __ 1 L2_2nd.D1 noheader badf6
*** Save Root Directory ***
** User must insert CHS value of 3rd sector of this Partition **
FINDPART GETSECT 1 _____ ___ __ 1 L2_3rd.D1 noheader badf6
*** Save first 32 sectors of Partition ***
** User insert CHS value from 1st sector of 1st Logical Partition *
FINDPART GETSECT 1 _____ ___ __ 32 L2_1-32.D1 noheader badf6
NB: The above sectors only need to be saved ONCE **
as their values are permanent! **
*** Saves Sector 96 onward: FAT 1 & 2 ***
** Number of sectors to save = Big Sectors Per FAT **
The value of "Big Sectors Per FAT" is displayed by
the 32bit version of PowerQuest Partition Table Editor)
- Check this value in DOS with PTEDIT.EXE (the earlier
version: PowerQuest Partition Table Editor for DOS)
** User must insert CHS value of 33rd sector of this Partition **
FINDPART GETSECT 1 _____ ___ 33 _____ L2_FAT1.D1 noheader badf6
** User must find CHS start sector of 2nd FAT with FINDPART.EXE
FINDPART GETSECT 1 _____ ___ __ _____ L2_FAT2.D1 noheader badf6
** Need to be saved daily, as FAT details change constantly **
** These will be BIG files, so do NOT save them to floppy! **
*** PowerQuest Partition Table Editor for DOS ***
*** Check value of "Big Sectors Per FAT" ***
MOUSE.EXE
PTEDIT.EXE
*** Find CHS start sector of 2nd FAT with FINDPART.EXE ***
** Reports starting sector (CHS) and size (sectors) **
** of all FATs on the Disk (Primary & Logical) **
FINDPART FINDFAT 1 comprehensive FAT_DSK1.TXT
FINDPART FINDFAT 2 comprehensive FAT_DSK2.TXT
3rd Logical Partition -
*** Save Boot Record ***
** User insert CHS value from 1st sector of 2nd Logical Partition *
FINDPART GETSECT 1 _____ ___ __ 1 L3_1st.D1 noheader badf6
*** Save FS Info Sector ***
** User must insert CHS value of 2nd sector of this Partition **
FINDPART GETSECT 1 _____ ___ __ 1 L3_2nd.D1 noheader badf6
*** Save Root Directory ***
** User must insert CHS value of 3rd sector of this Partition **
FINDPART GETSECT 1 _____ ___ __ 1 L3_3rd.D1 noheader badf6
*** Save first 32 sectors of Partition ***
** User insert CHS value from 1st sector of 2nd Logical Partition *
FINDPART GETSECT 1 _____ ___ __ 32 L3_1-32.D1 noheader badf6
NB: The above sectors only need to be saved ONCE **
as their values are permanent! **
*** Saves Sector 96 onward: FAT 1 & 2 ***
** Number of sectors to save = Big Sectors Per FAT **
The value of "Big Sectors Per FAT" is displayed by
the 32bit version of PowerQuest Partition Table Editor)
- Check this value in DOS with PTEDIT.EXE (the earlier
version: PowerQuest Partition Table Editor for DOS)
** User must insert CHS value of 33rd sector of this Partition **
FINDPART GETSECT 1 _____ ___ 33 _____ L3_FAT1.D1 noheader badf6
** User must find CHS start sector of 2nd FAT with FINDPART.EXE
FINDPART GETSECT 1 _____ ___ __ _____ L3_FAT2.D1 noheader badf6
** Need to be saved daily, as FAT details change constantly **
** These will be BIG files, so do NOT save them to floppy! **
*** PowerQuest Partition Table Editor for DOS ***
*** Check value of "Big Sectors Per FAT" ***
MOUSE.EXE
PTEDIT.EXE
*** Find CHS start sector of 2nd FAT with FINDPART.EXE ***
** Reports starting sector (CHS) and size (sectors) **
** of all FATs on the Disk (Primary & Logical) **
FINDPART FINDFAT 1 comprehensive FAT_DSK1.TXT
FINDPART FINDFAT 2 comprehensive FAT_DSK2.TXT
DISK 2
=======
1st Logical Partition -
*** Save Boot Record ***
** User must insert CHS value (from sector 0-0-1) of 1st sector **
FINDPART GETSECT 2 _____ ___ __ 1 L1_1st.D2 noheader badf6
*** Save FS Info Sector ***
** User must insert CHS value of 2nd sector of this Partition **
FINDPART GETSECT 2 _____ ___ __ 1 L1_2nd.D2 noheader badf6
*** Save Root Directory ***
** User must insert CHS value of 3rd sector of this Partition **
FINDPART GETSECT 2 _____ ___ __ 1 L1_3rd.D2 noheader badf6
*** Save first 32 sectors of Partition ***
** User must insert CHS value (from sector 0-0-1) of 1st sector **
FINDPART GETSECT 2 _____ ___ __ 32 L1_1-32.D2 noheader badf6
NB: The above sectors only need to be saved ONCE **
as their values are permanent! **
*** Saves Sector 96 onward: FAT 1 & 2 ***
** Number of sectors to save = Big Sectors Per FAT **
The value of "Big Sectors Per FAT" is displayed by
the 32bit version of PowerQuest Partition Table Editor)
- Check this value in DOS with PTEDIT.EXE (the earlier
version: PowerQuest Partition Table Editor for DOS)
** User must insert CHS value of 33rd sector of this Partition **
FINDPART GETSECT 2 _____ ___ 33 _____ L1_FAT1.D2 noheader badf6
** User must find CHS start sector of 2nd FAT with FINDPART.EXE
FINDPART GETSECT 2 _____ ___ __ _____ L1_FAT2.D2 noheader badf6
** Need to be saved daily, as FAT details change constantly **
** These will be BIG files, so do NOT save them to floppy! **
*** PowerQuest Partition Table Editor for DOS ***
*** Check value of "Big Sectors Per FAT" ***
MOUSE.EXE
PTEDIT.EXE
*** Find CHS start sector of 2nd FAT with FINDPART.EXE ***
** Reports starting sector (CHS) and size (sectors) **
** of all FATs on the Disk (Primary & Logical) **
FINDPART FINDFAT 1 comprehensive FAT_DSK1.TXT
FINDPART FINDFAT 2 comprehensive FAT_DSK2.TXT
2nd Logical Partition -
*** Save Boot Record ***
** User insert CHS value from 1st sector of 1st Logical Partition *
FINDPART GETSECT 2 _____ ___ __ 1 L2_1st.D2 noheader badf6
*** Save FS Info Sector ***
** User must insert CHS value of 2nd sector of this Partition **
FINDPART GETSECT 2 _____ ___ __ 1 L2_2nd.D2 noheader badf6
*** Save Root Directory ***
** User must insert CHS value of 3rd sector of this Partition **
FINDPART GETSECT 2 _____ ___ __ 1 L2_3rd.D2 noheader badf6
*** Save first 32 sectors of Partition ***
** User insert CHS value from 1st sector of 1st Logical Partition *
FINDPART GETSECT 2 _____ ___ __ 32 L2_1-32.D2 noheader badf6
NB: The above sectors only need to be saved ONCE **
as their values are permanent! **
*** Saves Sector 96 onward: FAT 1 & 2 ***
** Number of sectors to save = Big Sectors Per FAT **
The value of "Big Sectors Per FAT" is displayed by
the 32bit version of PowerQuest Partition Table Editor)
- Check this value in DOS with PTEDIT.EXE (the earlier
version: PowerQuest Partition Table Editor for DOS)
** User must insert CHS value of 33rd sector of this Partition **
FINDPART GETSECT 2 _____ ___ 33 _____ L2_FAT1.D2 noheader badf6
** User must find CHS start sector of 2nd FAT with FINDPART.EXE
FINDPART GETSECT 2 _____ ___ __ _____ L2_FAT2.D2 noheader badf6
** Need to be saved daily, as FAT details change constantly **
** These will be BIG files, so do NOT save them to floppy! **
*** PowerQuest Partition Table Editor for DOS ***
*** Check value of "Big Sectors Per FAT" ***
MOUSE.EXE
PTEDIT.EXE
*** Find CHS start sector of 2nd FAT with FINDPART.EXE ***
** Reports starting sector (CHS) and size (sectors) **
** of all FATs on the Disk (Primary & Logical) **
FINDPART FINDFAT 1 comprehensive FAT_DSK1.TXT
FINDPART FINDFAT 2 comprehensive FAT_DSK2.TXT
3rd Logical Partition -
*** Save Boot Record ***
** User insert CHS value from 1st sector of 2nd Logical Partition *
FINDPART GETSECT 2 _____ ___ __ 1 L3_1st.D2 noheader badf6
*** Save FS Info Sector ***
** User must insert CHS value of 2nd sector of this Partition **
FINDPART GETSECT 2 _____ ___ __ 1 L3_2nd.D2 noheader badf6
*** Save Root Directory ***
** User must insert CHS value of 3rd sector of this Partition **
FINDPART GETSECT 2 _____ ___ __ 1 L3_3rd.D2 noheader badf6
*** Save first 32 sectors of Partition ***
** User insert CHS value from 1st sector of 2nd Logical Partition *
FINDPART GETSECT 2 _____ ___ __ 32 L3_1-32.D2 noheader badf6
NB: The above sectors only need to be saved ONCE **
as their values are permanent! **
*** Saves Sector 96 onward: FAT 1 & 2 ***
** Number of sectors to save = Big Sectors Per FAT **
The value of "Big Sectors Per FAT" is displayed by
the 32bit version of PowerQuest Partition Table Editor)
- Check this value in DOS with PTEDIT.EXE (the earlier
version: PowerQuest Partition Table Editor for DOS)
** User must insert CHS value of 33rd sector of this Partition **
FINDPART GETSECT 2 _____ ___ 33 _____ L3_FAT1.D2 noheader badf6
** User must find CHS start sector of 2nd FAT with FINDPART.EXE
FINDPART GETSECT 2 _____ ___ __ _____ L3_FAT2.D2 noheader badf6
** Need to be saved daily, as FAT details change constantly **
** These will be BIG files, so do NOT save them to floppy! **
*** PowerQuest Partition Table Editor for DOS ***
*** Check value of "Big Sectors Per FAT" ***
MOUSE.EXE
PTEDIT.EXE
*** Find CHS start sector of 2nd FAT with FINDPART.EXE ***
** Reports starting sector (CHS) and size (sectors) **
** of all FATs on the Disk (Primary & Logical) **
FINDPART FINDFAT 1 comprehensive FAT_DSK1.TXT
FINDPART FINDFAT 2 comprehensive FAT_DSK2.TXT
/---------------------------------------------------------------/
To be continued ...
|
Responses to this message:
|
|