Что сценарий отладки DOS является к низкоуровневому формату жестким диском?

Что сценарий отладки DOS является к низкоуровневому формату жестким диском?

1
задан 30.04.2011, 15:17

1 ответ

Я не попробовал это, но вот то, что я нашел..

Я не забываю читать, возможно, из книги UGRP scott mueller, возможно, из руководства поддержки ПК david dick, возможно, от некоторой нечетной статьи в старом журнале, что можно сделать низкоуровневый формат на жестком диске с отладкой. Я вижу ссылку об этом здесь http://www.fdisk.com/fdisk/HardDrive.htm (он говорит, что он тверд, это должно быть сделано на SATA, хотя, если бы это был мой HDD затем, я рискнул бы им. другая ссылка, не характерная для SATA, сказало худшее, которое может произойти, это, форматирует жесткий диск),

существуют некоторые сценарии отладки, упомянутые там. Я не судил их.

Вот ссылка MS на выполнение низкоуровневого формата с отладкой
http://support.microsoft.com/kb/60089

Одна ссылка упомянула, что худшее, которое может произойти, является Вами, форматируют Ваш жесткий диск.

Другая ссылка упоминается

Из того, что я читал, сценарий, кажется, работает над BIOS Контроллера жестких дисков. (который я думаю, зеленый PCB, который люди изменяют для идентичного или одного из идентичных chpiset, когда их жесткий диск приводит в порядок не питание).

Эта ссылка упоминает это
http://www.computerhope.com/jargon/l/lowlevel.htm и эта ссылка выглядят превосходными и предоставляют следующие сценарии
http://www.computerhope.com/rdebug.htm#4

Erase all hard drive information

This debug routine is used to erase all partition information on the hard disk drive and is only recommend for experienced users or users who are unable to delete the partition information through fdisk.

In the below debug routine, only type what is in bold from line 3 to 8, you will get a response if typed in properly. If you get a response continue to type the bold text as shown below in the below example.

A:\>debug <enter>
-F 200 L1000 0 <enter>
-A CS:100 <enter>
xxxx:0100 MOV AX,301 <enter>
xxxx:0103 MOV BX,200 <enter>
xxxx:0106 MOV CX,1 <enter>
xxxx:0109 MOV DX,80 <enter>

(80 for hd 0 or 81 for hd 1 )

xxxx:010C INT 13 <enter>
xxxx:010E INT 20 <enter>
xxxx:0110 <enter>
-g <enter>
Program terminated normally
-q<enter>

Once this debug routine is complete, reboot computer and all partitions should be erased. Before anything can be installed back onto the computer you must run Fdisk and recreate the partition as well as format the hard disk drive.

Additional information about fdisk can be found on our fdisk page.
Additional information about format can be found on our format page.
Erase hard drive and clear CMOS

Before doing the below routine ensure that you read our disclaimer as well as are sure that this is safe to do on your hard drive. Some computer hard drive manufacturers may void your warranty or this may cause damage to the hard drive when doing the below example. This routine is useful in clearing DDO and removing possible viruses. If this routine completes successfully it will erase everything from your Hard drive as well as your reset your CMOS values.

In the below debug routine, only type what is in bold from line 3 to 17, you will get a response if typed in properly. If you get a response continue to type the bold text as shown below in the below example.

A:\>debug <enter>
-fcs:200 400 0 <enter>
-acs:100 <enter>
-xxxx:0100 mov ax, 0 <enter>
-xxxx:0103 mov ax, cx <enter>
-xxxx:0105 out 70, al <enter>
-xxxx:0107 mov ax, 0 <enter>
-xxxx:010a out 71,al <enter>
-xxxx:010c inc cx <enter>
-xxxx:010d cmp cx,100 <enter>
-xxxx:0111 jb 103 <enter>
-xxxx:0113 mov ax,302 <enter>
-xxxx:0116 mov bx,200 <enter>
-xxxx:0119 mov cx,1 <enter>
-xxxx:011c mov dx,80 <enter>
-xxxx:011f int 13 <enter>
-xxxx:012l int 20 <enter>
-xxxx:0123 <enter> (without typing anything.)
-g <enter>
program terminated normally
If you are doing this debug routine to clear out a possible virus turn off your computer and wait and turn back on.
-q <enter>
Once back at DOS, reboot your computer

When your computer comes back on from doing the above you will get an error message as booting up the computer, such as Invalid Configuration. You must enter CMOS and set the time and date, save, and reboot again. Once rebooted, you will then need to run fdisk and recreate the partitions. Once created, you will then need to format the hard drive and proceed as normal.

Ссылка fdisk.com упоминает набор ссылок
http://support.microsoft.com/kb/q106419/

Кажется, существуют проблемы, это упоминает, что ПРЕДУПРЕДИЛО: Некоторые компьютеры требуют использования стороннего твердого разбиения дисков на разделы - программное обеспечение, потому что системный ROM, BIOS не полностью поддерживает параметры диска жесткого диска, который используется или потому что жесткий диск имеет больше чем 1 024 цилиндра данных. Если Вы не уверены, если Ваша система поддерживает Ваш жесткий диск, консультируйтесь со своим производителем оборудования или производителем Вашего программного обеспечения разделения перед продолжением. также версия 3.3 MS-DOS может обратиться к нескольким разделам жесткого диска с основным Разделом DOS до 32 МБ и расширенным Разделом DOS, содержащим логические диски до 32 МБ каждый; и версии 4.0, 4.01, 5.0, 6.0 MS-DOS, и 6.2 могут обратиться к нескольким разделам жесткого диска с размерами до 2 гигабайтов (ГБ).

Вот является ссылка Dell http://support.dell.com/us/en/kb/document.asp?DN=TT1011054, но она повреждается.. большинство не включало его, но к счастью похоже, что сценарий все еще доступен здесь http://www.allquests.com/question/2211276/Windows-Defragmenter-corrupts-disk.html

http://support.dell.com/us/en/kb/document.asp?DN=TT1011054, и копируется здесь:

"MS-DOS?? Partition Removal Debug Script 

CAUTION: This debug script is for advanced users only. Its purpose is to remove all formatting and partitioning information from your hard disk when FDISK is unable to do so. THIS WILL ALSO REMOVE ALL DATA AND PROGRAMS FROM THE DRIVE. REPEAT: The next steps will remove all data from hard-disk drive. We URGE YOU to make a back-up of any data and programs that you wish to save before proceeding. REMEMBER: ALL DATA WILL BE LOST! Be sure you have the necessary bootable media and files to reboot your system and install your operating system (boot disk with CDROM drivers, MSCDEX, FDISK, FORMAT, SYS, etc). 

Turn on the computer. When the message Starting MS-DOS?? appears press [F5]. If you are using Windows?? 95, when the message Starting Windows 95 appears press [F8]. Then select Command Prompt Only. 
At the DOS command prompt, type the following:
debug[Enter]
where [ENTER] is to press the enter key once. 
CAUTION: Performing the following will remove all data from your hard disk drive.

NOTE: Type the following bolded text only. You will receive an error if you type anything other than the bold text. The non-bolded text represents what will appear on your screen once you press [Enter] after typing each command.

-F 200 L1000 0 [Enter] 
-A CS:100 [Enter]
xxxx:0100 MOV AX,301 [Enter] 
xxxx:0103 MOV BX,200 [Enter] 
xxxx:0106 MOV CX,1 [Enter] 
xxxx:0109 MOV DX,80 [Enter] 

NOTE: ( -- "80" for hd 0, "81" for hd 1 ) 

xxxx:010C INT 13 [Enter] 
xxxx:010E INT 20 [Enter] 
xxxx:0110 [Enter] 
-G [Enter] 
"Program terminated normally" 


Turn off the computer. On the next startup the hard drive will need to be partitoned and formatted. "
2
ответ дан 12.12.2019, 12:54

Теги

Похожие вопросы