Making Bochs image?

Programming, for all ages and all languages.
Post Reply
Speewave
Member
Member
Posts: 40
Joined: Fri Jun 22, 2007 1:11 pm
Location: The USA
Contact:

Making Bochs image?

Post by Speewave »

Right now i made a standard Hello World C++ Kernel i want to test it in Bochs.. what do i need to make a bootable .img file
frank
Member
Member
Posts: 729
Joined: Sat Dec 30, 2006 2:31 pm
Location: East Coast, USA

Post by frank »

Well what do you intend on using as your bootloader? GRUB or something else?
Speewave
Member
Member
Posts: 40
Joined: Fri Jun 22, 2007 1:11 pm
Location: The USA
Contact:

Post by Speewave »

GRUB... But i still need a program to help me with the IMG
frank
Member
Member
Posts: 729
Joined: Sat Dec 30, 2006 2:31 pm
Location: East Coast, USA

Post by frank »

Well here is a floppy image with grub preinstalled:
http://frankholton.freehostingnow.com/floppy.zip

To work with the disk image you can use DiskExplorer

Grub expects the kernel to be named kernel.bin and in the root directory but you can edit the configuration file for other names.
Speewave
Member
Member
Posts: 40
Joined: Fri Jun 22, 2007 1:11 pm
Location: The USA
Contact:

Post by Speewave »

thanks... this helps me out a lot!
Post Reply