bochs 2.3.7 – virtual machine

install your boch, right now the newest version is bochs 2.3.7 your can get it in soundforge.net
the bochs virtual machine is an easy way to create virtual machine. different from qemu that i failed already at the first attempt hehehe… and i found out bochs is very easy to set up.

once it installed, type bochs and the menu will appear. u run your bochs in your terminal or in your console by lower init. and set all the setting right there. it’s preety easy. and u can save your setting into a file. but if u want bochs run the setting automaticly, save it as .bochsrc in the folder that u run bochs first or in your /usr/local/share/bochs

here is my setting when trying to run a cdrom boot

# configuration file generated by Bochs
config_interface: textconfig
display_library: x
megs: 256
romimage: file=”/usr/local/share/bochs/BIOS-bochs-latest”
vgaromimage: file=”/usr/local/share/bochs/VGABIOS-lgpl-latest”
boot: cdrom
floppy_bootsig_check: disabled=0
# no floppya
# no floppyb
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
ata0-master: type=disk, mode=flat, translation=auto, path=”myhdd.img”, cylinders=262141, heads=16, spt=63, biosdetect=auto, model=”Generic 1234″
ata0-slave: type=cdrom, path=/dev/cdrom, status=inserted
ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
ata2: enabled=0
ata3: enabled=0
parport1: enabled=1, file=””
parport2: enabled=0
com1: enabled=1, mode=null, dev=””
com2: enabled=0
com3: enabled=0
com4: enabled=0
usb1: enabled=0
i440fxsupport: enabled=0
vga_update_interval: 40000
vga: extension=vbe
cpu: count=1, ips=2000000, reset_on_triple_fault=1
text_snapshot_check: enabled=0
private_colormap: enabled=0
clock: sync=none, time0=local
# no cmosimage
ne2k: enabled=0
pnic: enabled=0
sb16: enabled=0
# no loader
log: –
logprefix: %t%e%d
debugger_log: –
panic: action=ask
error: action=report
info: action=report
debug: action=ignore
pass: action=fatal
keyboard_type: mf
keyboard_serial_delay: 250
keyboard_paste_delay: 100000
keyboard_mapping: enabled=0, map=
user_shortcut: keys=none
mouse: enabled=0, type=ps2
#end

pay attention to the line said ata0-master:
there’s some path to myhdd.img that is an image of my machine create by bochs. u can find the menu when u run the bochs inside 3. edit option. u need to create the image first to identify the machine. otherwise the bochs wont’ run.

and then i tried to use freedos to format the virtual partition by using the ata0-slace path to freedos.iso that i’ve downloaded. and i did. but when formating the partition there’s something tickle me. it’s about the side of C: drive. only available for 125mb. hmh can i reseize it?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.