Generally, we usually install DOS/Windows 98 first and then Windows 2000/XP, which can "naturally" form a multi-system boot menu. But if we install Windows 2000/XP first and then DOS/Windows 98, how to form the multi-system menu? It's also easy. We can save the partition boot sector of Windows 2000/XP in advance, then use the sys command to generate the boot sector of DOS and transfer the DOS system, then save the boot sector of DOS, and then restore the content of the partition boot sector of Windows 2000/XP. (I'll ignore some details here.)
But if there is ghost involved in this process, a strange problem will be encountered. For example, I install Win98 (in C:) normally, use ghost to back up Win98, install Windows 2000/XP (in D:), form the boot startup menu, and back up the content of the boot sector of Windows 2000/XP in C: and several necessary startup files such as ntldr, ntdetect.com, boot.ini. Now, Win98 is broken, I use ghost to restore the backed-up Win98 to C:, naturally, the boot menu of NTLDR is gone, and the boot sector also becomes the content of Win98/DOS. (After restoration, Win98 can start normally.) I use the previously backed-up content of the boot sector of Windows 2000/XP to restore it to the boot sector of C:, copy the backed-up files such as ntldr, ntdetect.com, boot.ini to the root directory of C:, and restart. As a result, the screen is completely black, and there is only a cursor flashing in the upper left corner. I tried several times and it's the same. In fact, these files like ntldr don't need to be copied over, because the problem occurs at the partition boot sector step.
I know that ghost will change some values when dealing with the boot sector. I wonder if this is the cause? I compared the content of C: PBR when Win98 was just installed and after ghost restoration, and found that three values were changed. So I used the PBR after ghost (I think mainly the BPB in it) as the basis, and restored the PBR of Windows 2000/XP again under the recovery console of Windows 2000/XP, and then backed up this new PBR. Considering that the FAT32 PBR occupies 3 sectors, this new PBR was also backed up for 3 sectors, while originally only one sector was backed up. I thought, this should be okay now. So I used ghost to restore Win98 in C: again, and then restored the newly saved PBR. But after restarting, it still didn't work! Still black screen.
So I was really confused. Which place is going wrong?! Ghost will inexplicably change a few bytes when dealing with the boot sector. I don't know if it's tampered with during backup or restoration. I don't know which parts must be changed. But one thing I'm sure of is that after ghost restoration, the parameter of the number of sectors occupied by this partition in the BPB will be a few sectors less than the original, but this should not affect the startup of this partition.
Now, every time I use ghost to restore Win98, I have to use the own way of Windows 2000/XP to restore their PBR. In fact, I don't need to enter the recovery console. When installing to the point where you can choose whether to enter the recovery console, the PBR of C: has been rewritten.
I'm just curious, why can't the originally backed-up PBR be used?!
But if there is ghost involved in this process, a strange problem will be encountered. For example, I install Win98 (in C:) normally, use ghost to back up Win98, install Windows 2000/XP (in D:), form the boot startup menu, and back up the content of the boot sector of Windows 2000/XP in C: and several necessary startup files such as ntldr, ntdetect.com, boot.ini. Now, Win98 is broken, I use ghost to restore the backed-up Win98 to C:, naturally, the boot menu of NTLDR is gone, and the boot sector also becomes the content of Win98/DOS. (After restoration, Win98 can start normally.) I use the previously backed-up content of the boot sector of Windows 2000/XP to restore it to the boot sector of C:, copy the backed-up files such as ntldr, ntdetect.com, boot.ini to the root directory of C:, and restart. As a result, the screen is completely black, and there is only a cursor flashing in the upper left corner. I tried several times and it's the same. In fact, these files like ntldr don't need to be copied over, because the problem occurs at the partition boot sector step.
I know that ghost will change some values when dealing with the boot sector. I wonder if this is the cause? I compared the content of C: PBR when Win98 was just installed and after ghost restoration, and found that three values were changed. So I used the PBR after ghost (I think mainly the BPB in it) as the basis, and restored the PBR of Windows 2000/XP again under the recovery console of Windows 2000/XP, and then backed up this new PBR. Considering that the FAT32 PBR occupies 3 sectors, this new PBR was also backed up for 3 sectors, while originally only one sector was backed up. I thought, this should be okay now. So I used ghost to restore Win98 in C: again, and then restored the newly saved PBR. But after restarting, it still didn't work! Still black screen.
So I was really confused. Which place is going wrong?! Ghost will inexplicably change a few bytes when dealing with the boot sector. I don't know if it's tampered with during backup or restoration. I don't know which parts must be changed. But one thing I'm sure of is that after ghost restoration, the parameter of the number of sectors occupied by this partition in the BPB will be a few sectors less than the original, but this should not affect the startup of this partition.
Now, every time I use ghost to restore Win98, I have to use the own way of Windows 2000/XP to restore their PBR. In fact, I don't need to enter the recovery console. When installing to the point where you can choose whether to enter the recovery console, the PBR of C: has been rewritten.
I'm just curious, why can't the originally backed-up PBR be used?!
DOS倒下了,但永远不死
DOS NEVER DIES !
投票调查:
http://www.cn-dos.net/forum/viewthread.php?tid=46187
本人尚未解决的疑难问题:
http://www.cn-dos.net/forum/viewthread.php?tid=15135
http://www.cn-dos.net/forum/viewthread.php?tid=47663
http://www.cn-dos.net/forum/viewthread.php?tid=48747
DOS NEVER DIES !
投票调查:
http://www.cn-dos.net/forum/viewthread.php?tid=46187
本人尚未解决的疑难问题:
http://www.cn-dos.net/forum/viewthread.php?tid=15135
http://www.cn-dos.net/forum/viewthread.php?tid=47663
http://www.cn-dos.net/forum/viewthread.php?tid=48747

