Loading kernel without floppy

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Lunatic
Posts: 5
Joined: Wed Nov 21, 2007 4:35 am

Loading kernel without floppy

Post 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!
Ad astra per aspera
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post 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
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Lunatic
Posts: 5
Joined: Wed Nov 21, 2007 4:35 am

Post 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.
Ad astra per aspera
Post Reply