problem with boch
Posted: Mon Jul 23, 2007 11:06 pm
Hi i am a newbie. I am trying Bran's tutorial ,and currently I am stuck at one stage. I have a basic hello world kernel , kernel.bin . I am using a ready made GRUB image file into which I injected my kernel.bin. My config file for the bochs is as follows
# how much memory the emulated machine will have
# if you have less than 64MB of memory in your actuall computer, set this lower(16 is good)
megs: 32
# filename of ROM images
# note that if before a filename we put "../" then the file is looked
# for in the directory above that the current directory(the one the configuration
# file is in).
romimage: file=../BIOS-bochs-latest, address=0xf0000
vgaromimage: file=../VGABIOS-elpin-2.40
# we want a floppy drive(called a), the disk image that we are using is called "1.44"
floppya: 1_44=Grub, status=inserted
# choose the boot disk.
boot: a
# where do we send log/error messages?
log: bochsout.txt
# disable the mouse unless your OS uses it
mouse: enabled=0
When i start up bochs simulation it always gives an error of cannot read boot disk , and in the log file it says
tried to open 'Grub' read/write: No such file or directory
although I have put the Grub image in the same directory as the config file
What am I doing wrong???? PLSS help
# how much memory the emulated machine will have
# if you have less than 64MB of memory in your actuall computer, set this lower(16 is good)
megs: 32
# filename of ROM images
# note that if before a filename we put "../" then the file is looked
# for in the directory above that the current directory(the one the configuration
# file is in).
romimage: file=../BIOS-bochs-latest, address=0xf0000
vgaromimage: file=../VGABIOS-elpin-2.40
# we want a floppy drive(called a), the disk image that we are using is called "1.44"
floppya: 1_44=Grub, status=inserted
# choose the boot disk.
boot: a
# where do we send log/error messages?
log: bochsout.txt
# disable the mouse unless your OS uses it
mouse: enabled=0
When i start up bochs simulation it always gives an error of cannot read boot disk , and in the log file it says
tried to open 'Grub' read/write: No such file or directory
although I have put the Grub image in the same directory as the config file
What am I doing wrong???? PLSS help