Using BOCHS
Using BOCHS
I've a small protected mode multitasking OS. Throughout the development statge i used to reboot the system at least 50 times a day. I despereately want how to use emulators like BOCHS. I wane advice from someone, what I must do to start up. I want to load my kernel which is located on a hard disk linux partition. I know to boot a real-mode OS from a floppy. What are the additional things I need to do?? Please help me
RE:Using BOCHS
You can't boot an os from a hardisk partition. You need to make a virtual disk(read the readme file) or floppy disk, and boot it of that. A virtual disk will look like a file. The reason, you can't boot from a partition, is that Boch is a computer emulator, not a guard/supervisor os.
Anton.
Anton.
RE:Using BOCHS
Correct me if im wrong but cant he put something in his bochsrc.txt file like
/dev/hda1 - partition 2 disk drive 1 in his drive options. Which will allow him to boot his partitions?
/dev/hda1 - partition 2 disk drive 1 in his drive options. Which will allow him to boot his partitions?
RE:Using BOCHS
As far as i remember( i used BOCHS like about a year ago), it can't do that, since it will need to safely translate i/o operations of the program to the real device. BOCHS is a emulator of the whole computer, not only the cpu, so this emulated computer will have it's own harddrives(video card, keyboard, ..), and i see no way that it can add a real device to it. When you add a real floppy, I think, it actualy copys it to some temp memmory.
Anton
Anton