如何使用debug.exe加载闪存驱动器[pendrive]并查看其引导记录?
驱动器号如果是 F,并且我想读取此任务的引导记录:http://joelgompert.com /OS/lesson1.htm ... [我使用的是xp] 我无法让 l 命令正常工作...... 当他们要求我们输入这是 debug.exe 时:
-l 0 0 0 1
我将其替换为:
-l 0 5 0 1
因为我在驱动器 A 处没有软盘... 我收到提示告诉我:
C:\WINDOWS\system32\cmd.exe - debug.exe 应用程序试图直接访问硬盘,但不受支持。这可能会导致应用程序无法正常运行。选择“关闭”以终止应用程序。 可选择的选项是“关闭”和“忽略”。 我选择了忽略,它在 CMD 中给出了以下输出:
Disk error reading drive F
我做错了什么?不支持使用闪存驱动器吗?该任务还有其他替代方案吗? 任何帮助将不胜感激:)
The drive letter if F, and i want to read its boot record for this task : http://joelgompert.com/OS/lesson1.htm ... [ i am using xp ]
I cant get the l command to work properly...
when they ask us to type this is debug.exe :
-l 0 0 0 1
I replaced it with :
-l 0 5 0 1
Cause i do not have a floppy at drive A...
I get a prompt telling me :
C:\WINDOWS\system32\cmd.exe - debug.exe
An application has attempted to directly access the hard disk, which cannot be supported. This may cause the application to function incorrectly. Choose 'Close' to terminate the application.
And the option to choose are Close and Ignore.
I selected ignore and it gives me the following output in the CMD :
Disk error reading drive F
What am i doing wrong ? Isn't it supported to use a flash drive ? Any alternative programs for the task ?
Any help will be appreciated :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在所有基于 NT 的系统(Windows NT、2000、XP/2003、Vista/2008、7/2008 R2)中,旧软件禁止直接访问硬盘。有一些特殊的API可以直接访问硬盘驱动器,但旧的软件根本不知道它们。
XP 下的 DEBUG 确实允许直接访问软盘,所以如果您想要学习DEBUG,USB软驱是一个选择。如果您想了解 HDD 上的数据结构并且不关心调试,请寻找更新的磁盘编辑器。我想您会在 Wikipedia 的这篇文章中找到合适的内容。
In all NT-based systems (Windows NT, 2000, XP/2003, Vista/2008, 7/2008 R2) direct disk access to hard drives is prohibited for older software. There are special APIs for accessing hard drivers directly, but older software simply does not know them.
DEBUG under XP does allow for direct access to floppy disks, so if you want to learn DEBUG, an USB floppy drive is an option. If you want to learn about data structures on HDD and don't care about debug, look for more recent disk editor. I think you'll find something suitable in this article at Wikipedia.