Z
Zvi Netiv
The following exchange took place through e-mail. I post it here, with Irwin's
permission, for the benefit of readers that may have a similar problem.
The problem: Partitions were lost in result of upgrading the EZbios overlay to
latest MaxBlast version. The installed OS is W2K.
The backup of track 0 is just fine. We'll use it to restore the drive to its
pre-upgrade state.
For a good reason. The reinstallation of Ezbios with the latest MaxBlast was a
total disaster. Explained below.
From the drive assessment report, ResQdisk restored nothing.
Cause is explained below.
You will only cause more damage.
This is standard practice how to convert a minor problem into real mess. ;-)
No need to, I believe I got all the information I need. The following is the
ResQdisk /assess report that you sent, combined with info retrieved from the
track 0 backup file.
CHS address: Cyl 0 Head 0 Sector 1
*********************** Setup Diagnostics ***********************
* Disk Type: Maxtor 52049U4
* BIOS/CHS IDE/LBA data
* Number of Heads: 16 16
* Number of Cylinders: 1024 16383
* Sectors per Track: 63 63
* Disk Capacity in Mbytes: 504 19541
* IDE Access Time: 6 msec
* Total sectors on drive: 40020624
******* Use Space to toggle between IDE and Ext.BIOS mode *******
Disk 1, Master Partition Sector, F6 for Layout
The above is badly wrong. The header (that I trimmed) indicates that your BIOS
doesn't support extended Int13 and will only recognize drives with capacity of
up to 8 GB.
Note the translation parameters in the BIOS/CHS column: The drive is detected
as 63 heads, and capacity of 504 mbytes! A 19 GB drive should detect with your
old BIOS as 255 heads and 8 GB capacity (the limit of your BIOS). The above are
the result of erroneous settings when upgrading MaxBlast, and perpetuated now by
the current MBR, and the drive being set to "auto" in the BIOS.
CHS address: Cyl 0 Head 0 Sector 1
******************** Partition Table Layout *********************
*
* Partition Starting Ending Reserved Total
* Boot Type Head Cyl. Sec. Head Cyl. Sec. Sectors Sectors
* Yes 85 0 0 10 63 1021 63 9 4120695
* 0 0 0 0 0 0 0 0 0
* 0 0 0 0 0 0 0 0 0
* 0 0 0 0 0 0 0 0 0
The above is the partition table currently present in the MBR (from the "assess"
report).
Its errors are:
The start of the partition points to sector 0/0/10 (CHS) instead of 0/1/1. No
wonder that the BIOS can't find and load the OS.
The number of heads is 64, where it should be 255. This is what probably caused
the message about corrupted extended partitions.
The number of reserved sectors is 9, where it should be 63.
Lastly, the total number of sectors in the single partition left does not match
the true number in that partition, as seen below, it's almost twice that number!
CHS address: Cyl 0 Head 0 Sector 1
******************** Partition Table Layout *********************
*
* Partition Starting Ending Reserved Total
* Boot Type Head Cyl. Sec. Head Cyl. Sec. Sectors Sectors
* Yes 85 1 0 1 254 148 63 63 2393622
* 85 0 373 1 254 1023 63 5992245 34009605
* 85 0 149 1 254 372 63 2393685 3598560
* 0 0 0 0 0 0 0 0 0
*
******* Press Alt+B to see as boot sector, Alt+M to edit ********
Sector 1 of TRK0.NTZ (offset 0)
The above is the partition table from your TRK0.NTZ backup. It seems to be the
correct partition needed to boot the drive with the overlay.
CHS address: Cyl 0 Head 1 Sector 1
******************** Boot Sector Data FAT-32 ********************
*
* Sectors per Cluster: 8
* Number of Heads: 255
* Sectors in Partition: 2393622
* Sectors per FAT Copy: 2334
* Reserved Sectors: 33
* Capacity in Kilobytes: 1225534
*
********** Press Alt+P to analyze as partition sector ***********
Disk 1, Master Partition Sector, F6 for Layout
This is the boot sector found at 0/1/1, from the "assess" report. As you can
see, the total number of sectors and the number of heads, match those indicated
in the previous table. Which suggests that the boot sector is correct, and
intact.
Checking cylinder 2 for FAT pair
*****************************************************************
* Press Space to pause, Esc to stop searching
* --------------------------------------------------------------
* First FAT-32 copy starts on sector 96, Cyl 0
* Second FAT-32 copy starts on sector 2430, Cyl 2
* Sectors per FAT copy: 2334
Lastly, the above snapshot confirms that the FAT fits the boot sector data,
which means that they belong to each other.
To restore the EZbios overlay, and recover the partitions proceed as follows:
Make sure that the attributes of the TRK0.NTZ file are "hidden" and "read-only",
and nothing else ('archive' should be ticked off!) ResQdisk will consider alien
a backup file that doesn't have its attributes as indicated.
Boot the computer from floppy, to either FreeDOS, or plain DOS. If you can see
the message referring to the EZ overlay, then don't continue as the restoration
may fail.
When at the A: prompt, run RESQDISK /KILL, then reboot from floppy. Let the
BIOS autodetect the drive. Make sure that the drive is set in the BIOS as AUTO
and LBA mode. Autodetect should detect it as 255 heads and 8 GB capacity.
When at the A: prompt, after having rebooted, insert the RESQ floppy with the
original track 0 backup (the file that dates from 27 November). Start RESQDISK,
press ^Z and select "compare". ResQdisk should show which sectors differ from
the backup. There should be a few discrepancies from the backup.
Press ^Z again, then select "restore". After track zero is restored is
complete, run ^Z "compare" again and make sure no sector differs from the
backup.
Restart the PC from the hard drive and it should resume normal operation.
Lastly, may I suggest that if you plan keeping that motherboard (and BIOS), then
add an ATA controller card and convert the EZbios overlay to standard partition
types. ResQdisk will let convert the partitions without losing the data and
applications already on the drive.
Overlays and W2K are incompatible! The reason for which you could run W2K with
the overlay, and see the higher partitions, is because the boot partition in
your case is all contained in the first 8 GB. Once W2K is running, it installs
its own drive access driver, that doesn't depend on the BIOS. Just sheer luck!
Regards, Zvi
permission, for the benefit of readers that may have a similar problem.
The problem: Partitions were lost in result of upgrading the EZbios overlay to
latest MaxBlast version. The installed OS is W2K.
Lastly, I cannot make a report for you with the
overlay. Remember, after I ran resqdisk /r/z, the
overlay is gone now. The ezbios does not initialize
and the machine boots directly to "error loading OS".
Reminding you of the sequence of events:
1. Everything working fine with ezbios overlay and
win2k and multiple logical partitions.
2. Booting from resqdisk working floppies, ran
resqdisk /b and resqdisk /b/z.
The backup of track 0 is just fine. We'll use it to restore the drive to its
pre-upgrade state.
3. Booting from maxblast floppy, upgraded overlay.
Also tried to backup MBR, which seems to not have
worked.
4. Rebooted, overlay OK, got into win2k, it complained
that ezbios was corrupted when trying to access
logical partitions.
For a good reason. The reinstallation of Ezbios with the latest MaxBlast was a
total disaster. Explained below.
5. Booting from resqdisk working floppy, ran resqdisk
/b/z. It asked if I wanted restore disk 1, I said yes.
From the drive assessment report, ResQdisk restored nothing.
6. Rebooted, overlay gone, everything gone. Boots
directly to "Error loading OS".
Cause is explained below.
So, I cannot give you the second report. I wonder what
would happen if I ran maxblast and had it reinstall
the ezbios MBR, assuming that the overlay is still out
there somewhere on track zero.
You will only cause more damage.
Though my impulsive
nature makes me want to just do it, I will wait for
your input.
This is standard practice how to convert a minor problem into real mess. ;-)
Also, if you think it wise, I can run a
track zero backup again, if that would help preserve
the current state.
No need to, I believe I got all the information I need. The following is the
ResQdisk /assess report that you sent, combined with info retrieved from the
track 0 backup file.
CHS address: Cyl 0 Head 0 Sector 1
*********************** Setup Diagnostics ***********************
* Disk Type: Maxtor 52049U4
* BIOS/CHS IDE/LBA data
* Number of Heads: 16 16
* Number of Cylinders: 1024 16383
* Sectors per Track: 63 63
* Disk Capacity in Mbytes: 504 19541
* IDE Access Time: 6 msec
* Total sectors on drive: 40020624
******* Use Space to toggle between IDE and Ext.BIOS mode *******
Disk 1, Master Partition Sector, F6 for Layout
The above is badly wrong. The header (that I trimmed) indicates that your BIOS
doesn't support extended Int13 and will only recognize drives with capacity of
up to 8 GB.
Note the translation parameters in the BIOS/CHS column: The drive is detected
as 63 heads, and capacity of 504 mbytes! A 19 GB drive should detect with your
old BIOS as 255 heads and 8 GB capacity (the limit of your BIOS). The above are
the result of erroneous settings when upgrading MaxBlast, and perpetuated now by
the current MBR, and the drive being set to "auto" in the BIOS.
CHS address: Cyl 0 Head 0 Sector 1
******************** Partition Table Layout *********************
*
* Partition Starting Ending Reserved Total
* Boot Type Head Cyl. Sec. Head Cyl. Sec. Sectors Sectors
* Yes 85 0 0 10 63 1021 63 9 4120695
* 0 0 0 0 0 0 0 0 0
* 0 0 0 0 0 0 0 0 0
* 0 0 0 0 0 0 0 0 0
The above is the partition table currently present in the MBR (from the "assess"
report).
Its errors are:
The start of the partition points to sector 0/0/10 (CHS) instead of 0/1/1. No
wonder that the BIOS can't find and load the OS.
The number of heads is 64, where it should be 255. This is what probably caused
the message about corrupted extended partitions.
The number of reserved sectors is 9, where it should be 63.
Lastly, the total number of sectors in the single partition left does not match
the true number in that partition, as seen below, it's almost twice that number!
CHS address: Cyl 0 Head 0 Sector 1
******************** Partition Table Layout *********************
*
* Partition Starting Ending Reserved Total
* Boot Type Head Cyl. Sec. Head Cyl. Sec. Sectors Sectors
* Yes 85 1 0 1 254 148 63 63 2393622
* 85 0 373 1 254 1023 63 5992245 34009605
* 85 0 149 1 254 372 63 2393685 3598560
* 0 0 0 0 0 0 0 0 0
*
******* Press Alt+B to see as boot sector, Alt+M to edit ********
Sector 1 of TRK0.NTZ (offset 0)
The above is the partition table from your TRK0.NTZ backup. It seems to be the
correct partition needed to boot the drive with the overlay.
CHS address: Cyl 0 Head 1 Sector 1
******************** Boot Sector Data FAT-32 ********************
*
* Sectors per Cluster: 8
* Number of Heads: 255
* Sectors in Partition: 2393622
* Sectors per FAT Copy: 2334
* Reserved Sectors: 33
* Capacity in Kilobytes: 1225534
*
********** Press Alt+P to analyze as partition sector ***********
Disk 1, Master Partition Sector, F6 for Layout
This is the boot sector found at 0/1/1, from the "assess" report. As you can
see, the total number of sectors and the number of heads, match those indicated
in the previous table. Which suggests that the boot sector is correct, and
intact.
Checking cylinder 2 for FAT pair
*****************************************************************
* Press Space to pause, Esc to stop searching
* --------------------------------------------------------------
* First FAT-32 copy starts on sector 96, Cyl 0
* Second FAT-32 copy starts on sector 2430, Cyl 2
* Sectors per FAT copy: 2334
Lastly, the above snapshot confirms that the FAT fits the boot sector data,
which means that they belong to each other.
To restore the EZbios overlay, and recover the partitions proceed as follows:
Make sure that the attributes of the TRK0.NTZ file are "hidden" and "read-only",
and nothing else ('archive' should be ticked off!) ResQdisk will consider alien
a backup file that doesn't have its attributes as indicated.
Boot the computer from floppy, to either FreeDOS, or plain DOS. If you can see
the message referring to the EZ overlay, then don't continue as the restoration
may fail.
When at the A: prompt, run RESQDISK /KILL, then reboot from floppy. Let the
BIOS autodetect the drive. Make sure that the drive is set in the BIOS as AUTO
and LBA mode. Autodetect should detect it as 255 heads and 8 GB capacity.
When at the A: prompt, after having rebooted, insert the RESQ floppy with the
original track 0 backup (the file that dates from 27 November). Start RESQDISK,
press ^Z and select "compare". ResQdisk should show which sectors differ from
the backup. There should be a few discrepancies from the backup.
Press ^Z again, then select "restore". After track zero is restored is
complete, run ^Z "compare" again and make sure no sector differs from the
backup.
Restart the PC from the hard drive and it should resume normal operation.
Lastly, may I suggest that if you plan keeping that motherboard (and BIOS), then
add an ATA controller card and convert the EZbios overlay to standard partition
types. ResQdisk will let convert the partitions without losing the data and
applications already on the drive.
Overlays and W2K are incompatible! The reason for which you could run W2K with
the overlay, and see the higher partitions, is because the boot partition in
your case is all contained in the first 8 GB. Once W2K is running, it installs
its own drive access driver, that doesn't depend on the BIOS. Just sheer luck!
Regards, Zvi