[Resolved] Somewhat Easy Question (Bochs)
Ok - lets have one more try. If still no luck, I strongly suggest you read the GRUB and Bochs documentation.
Although there are a few errors that come up with Bran's tutorial, most people seem to be able to get the kernel up and running.
This link is one of my kernels - in fact, something I asked others to test a while back. It will only work if you have VBE 2.0+ installed, but if not will at least give you an error message to show you that it is possible to get the kernel working.
This link is my current version of bochsrc.bxrc. If you fire up VFD and load the zipped floppy disk image (above) in to virtual drive b:, and then double-click on the downloaded bochsrc.bxrc, it should work. If so, you can play with the disk and see what works. If not, somthing else is seriously wrong.
You'll need bochs 2.3.5 for this - if not, you just need to edit bochsrc.bxrc, changing the path to bochs in lines 3 and 4.
Cheers,
Adam
Although there are a few errors that come up with Bran's tutorial, most people seem to be able to get the kernel up and running.
This link is one of my kernels - in fact, something I asked others to test a while back. It will only work if you have VBE 2.0+ installed, but if not will at least give you an error message to show you that it is possible to get the kernel working.
This link is my current version of bochsrc.bxrc. If you fire up VFD and load the zipped floppy disk image (above) in to virtual drive b:, and then double-click on the downloaded bochsrc.bxrc, it should work. If so, you can play with the disk and see what works. If not, somthing else is seriously wrong.
You'll need bochs 2.3.5 for this - if not, you just need to edit bochsrc.bxrc, changing the path to bochs in lines 3 and 4.
Cheers,
Adam
Thanks.
Thanks a lot. It worked wonderfully I think problem is just in my menu.cfg file. How to you set that up? Is there some documentation for it?
Yes - at http://www.gnu.org/software/grub/ . The one you want is 'GRUB Legacy' - have a look at the documentation link.
Glad to see my disk image works - hopefully you are just a stone's throw from getting your own OS booting now!
Cheers,
Adam
Glad to see my disk image works - hopefully you are just a stone's throw from getting your own OS booting now!
Cheers,
Adam
Hmmm... I got it somewhat working, to the point that it lets me decide the os from grub, but then I get this error.
[/code]
Code: Select all
Booting 'OS'
root (fd0)
Filesystem type is fat, using whole disk
kernel kernel.bin
Error 1: Filename must be either an absolute pathname or blocklist
Press any key to continue...
Yes - that seems to happen whenever VME is not present - it should work on Bochs and real machines where they have VME and VESA. I was lazy in that (old) version and relied on VME playing nicely.
It's from an abandoned kernel now I'm going 64 bit, anyway . I'm currently working on a much better version of my Second Stage boot loader (complete with CLI debugging) before starting on the 64 bit kernel.
Cheers,
Adam
It's from an abandoned kernel now I'm going 64 bit, anyway . I'm currently working on a much better version of my Second Stage boot loader (complete with CLI debugging) before starting on the 64 bit kernel.
Cheers,
Adam
Umm...
Any ideas about my error above? I can't seem to figure it out...
Add a slash character before the kernel.bin:
So you're using an absolute pathname from the root filesystem instead of a relative pathname.
Geez, that's not too hard... :S
Code: Select all
kernel /kernel.bin
Geez, that's not too hard... :S