I recently started this operation again. I downloaded the image from sourceforge and found that I don't know 1. cylinder2. heads3. spt only knows that the downloaded file size is 528482304B. After a while, it is found that the calculation is very simple. 528482304 = 512 * cylinder * heads * spt, and I usually find that heads is 16, if all SPTS are 63, cylinder can calculate them. Finally, let's take a look at my bxrc [html] ############################# ################################## bochsrc.txt file for redhat 6.0 Linux disk image. ######################################## ######################## how much memory the emulated machine will have megs: 1024 # filename of ROM images romimage: file = $ BXSHARE/BIOS-bochs-latest vgaromimage: file = $ BXSHARE/VGABIOS-lgpl-latest cpu: model = core2_penryn_t960 0, count = 1, ips = 50000000, reset_on_triple_fault = 1, ignore_bad_msrs = 1, msrs = "msrs. def "cpu: cpuid_limit_winnt = 0 memory: guest = 1024, host = 1024 # what disk images will be used # floppya: 000044 = floppya. img, status = inserted # floppyb: Running 44 = floppyb. img, status = inserted # hard disk ata0: enabled = 1, ioaddr1 = 0x1f0, ioaddr2 = 0x3f0, irq = 14 ata0-master: type = disk, path = "redhat6-512mb.img ", cylinders = 1024, heads = 1 6, spt = 63 # choose the boot disk. boot: disk # default config interface is textconfig. # config_interface: textconfig # config_interface: wx # display_library: x # other choices: win32 sdl wx carbon amigaos beos macintosh nogui rfb term svga # where do we send log messages? Log: bochsout.txt # disable the mouse, since is text only mouse: enabled = 0 # enable key mapping, using US layout as default. # NOTE: In Bochs 1.4, keyboard mapping is only 100% implemented on X windows. # However, the key mapping tables are used in the paste function, so # I'm enabling keyboard mapping so that paste # will work. cut & Paste is currently implemented on win32 and X windows only. # keyboard: keymap = $ BXSHARE/keymaps/x11-pc-us.map # keyboard: keymap = $ BXSHARE/keymaps/x11-pc-fr.map # keyboard: keymap = $ BXSHARE/keymaps/x11-pc-de.map keyboard: keymap = $ BXSHARE/keymaps/x11-pc-es.map