Page 1 of 1

Loading kernel without floppy

Posted: Wed Nov 21, 2007 4:42 am
by Lunatic
Good day,

I was using GRUB to load my kernel from a floppy disk and it worked fine. I also used Bosch so I didn't have to reboot my PC everytime I wanted to load the kernel. Yesterday my last floppy diskette died (maybe even the drive itself died).
So, how can I now boot my kernel without exiting Windows (or Linux)? I am talking about some emulator that could load .bin files directly. I am not sure if Bosch is capable of doing that and if it is I don't know how. Any help would be appreciated.

Thanks!

Posted: Wed Nov 21, 2007 4:52 am
by Combuster
Virtually all emulators require that you have something that corresponds to one of the media it has, be it a floppy, a CD or harddisk.

Consequently, you will need to feed the emulator a floppy image, not a binary file.

The wiki has a page on Disk Images which you might find useful

Posted: Wed Nov 21, 2007 5:00 am
by Lunatic
Thanks a lot! I found what I wanted.

To anyone else who are interested:

1. Download (grub_disk.img) http://prdownloads.sourceforge.net/clic ... p?download

2. Put your kernel and menu.cfg into the boot directory of the image and point bochs to load it as a floppy drive.