我将以下字节写入名为 disk.img 的文件中
FA 8D 36 1B 7C E8 01 00 F4 AC 3C 00 74 0C B4 0E
BB 07 00 B9 01 00 CD 10 EB EF C3 4D 61 79 20 74
68 65 20 66 6F 72 63 65 20 62 65 20 77 69 74 68
20 79 6F 75 21 0D 0A 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
..enough zero to make the size of file 512bytes.
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA
上述字节是加载到引导扇区时应该工作的正确指令和幻数。但是在我执行“qemu-X86_64 disk.img”之后,发生了错误。
加载 disk.img 时出现错误 -13
有谁知道如何解决问题或可能导致此错误的原因是什么?
谢谢!