Bochs does not recognize the cause of hard disk image problems during running = PANIC cocould not open har... bochs does not recognize the cause of the hard disk image problem during running = PANIC cocould not open hard disk today we installed bochs 2.4.5 with macports, and then created a 10 m hard disk image, the result is that after the bochs is configured, The bochs cannot be opened. PANIC cocould not open hard disk cannot be opened. Finally, I finally thought: Probably because I forgot to add the read/write permission, as shown below: 01Air: bochs admin $ sudo chmod 777 hd10c. img02Password: 03Air: bochs admin $ ls-al04total 23439205drwxr-xr-x 19 root admin 646 6 19. 06drwxr-xr-x 62 root admin 2108 6 19 .. 07-rw-r -- r -- 1 root admin 131072 6 19 BIOS-bochs-latest08-rw-r -- r -- 1 root admin 65536 6 19 BIOS-bochs-legacy09-rwxr-xr-x @ 1 admin 1474560 4 5 2004 DOS71_1.IMG10-rwxr-xr-x @ 1 admin 1474560 4 5 2004 DOS71_2.IMG11-rw-r -- r -- 1 root admin 32768 6 19 VGABIOS-elpin-2.4012-rw-r -- r -- 1 root admin 454 6 19 VGABIOS-elpin-LICENSE13-rw-r -- r -- 1 root admin 8227 6 19 VGABIOS-lgpl-README14-rw-r -- r -- 1 root admin 40448 6 19 VGABIOS-lgpl-latest15-rw-r -- r -- 1 root admin 35840 6 19 VGABIOS-lgpl-latest-cirrus16-rw-r -- r -- 1 root admin 35840 6 19 VGABIOS-lgpl-latest-cirrus-debug17-rw-r -- r -- 1 root admin 41472 6 19 VGABIOS-lgpl-latest-debug18-rw-r -- r -- 1 root admin 43727 6 19 bochsrc.org.txt 19-rw-r -- r -- 1 root admin 44032 6 19 bochsrc.txt 20-rw-r -- r -- 1 root admin 104767488 6 19 hd100c. img21-rwxrwxrwx 1 root admin 10321920 6 19 hd10c. img22drwxr-xr-x 15 root admin 510 6 19 keymaps23-rwxrwxrwx 1 root admin 1474560 6 19 os-a.img24Air: bochs admin $ sudo chmod 777 hd100c. img25Air: bochs admin $ ls-al26total 23439227drwxr-xr-x 19 root admin 646 6 19. 28drwxr-xr-x 62 root admin 2108 6 19 .. 29-rw-r -- r -- 1 root admin 131072 6 19 BIOS-bochs-latest30-rw-r -- r -- 1 root admin 65536 6 19 BIOS-bochs-legacy31-rwxr-xr-x @ 1 admin 1474560 4 5 2004 DOS71_1.IMG32-rwxr-xr-x @ 1 admin 1474560 4 5 2004 DOS71_2.IMG33-rw-r -- r -- 1 root admin 32768 6 19 VGABIOS-elpin-2.4034-rw-r -- r -- 1 root admin 454 6 19 VGABIOS-elpin-LICENSE35-rw-r -- r -- 1 root admin 8227 6 19 VGABIOS-lgpl-README36-rw-r -- r -- 1 root admin 40448 6 19 VGABIOS-lgpl-latest37-rw-r -- r -- 1 root admin 35840 6 19 VGABIOS-lgpl-latest-cirrus38-rw-r -- r -- 1 root admin 35840 6 19 VGABIOS-lgpl-latest-cirrus-debug39-rw-r -- r -- 1 root admin 41472 6 19 VGABIOS-lgpl-latest-debug40-rw-r -- r -- 1 root admin 43727 6 19 bochsrc.org.txt 41-rw-r -- r -- 1 root admin 44032 6 19 bochsrc.txt 42-rwxrwxrwx 1 root admin 104767488 6 19 hd100c. img43-rwxrwxrwx 1 root admin 10321920 6 19 hd10c. img44drwxr-xr-x 15 root admin 510 6 19 keymaps45-rwxrwxrwx 1 root admin 1474560 6 19 os-a.img46Air: After the read and write permissions, it is OK