Page 1 of 1

GRUB + OS in an image

Posted: Wed Nov 29, 2006 9:51 am
by Lprogster
...

Thanks,
Lprogster

Posted: Wed Nov 29, 2006 9:02 pm
by wen
What do you mean by OS image? You mean like an ELF binary?

http://www.osdever.net/downloads/images/grubimage.zip

Above is a grub formated floppy, replace kernel.bin and it should boot fine. If you are on windows use rawwrite or similar to write to a physical disk.

Posted: Thu Nov 30, 2006 6:02 am
by Lprogster
...

Thanks
Lprogster

Posted: Thu Nov 30, 2006 6:25 am
by Combuster
You have file management utilities that work on images.
On linux you can use the loopback device, you can compile and use mtools on windows. That way you can replace the kernel binary without having to write to disk.

Posted: Thu Nov 30, 2006 6:53 am
by Lprogster
Umm? What is MTools? I have no idea how to go about it, could you show me an example batch file plz?

Thanks
Lprogster

Posted: Thu Nov 30, 2006 9:14 am
by Combuster
About mtools
MTools sources
And since i dont use batchfiles: Sample makefile

Posted: Thu Nov 30, 2006 12:21 pm
by gaf
Another great tool for windows is vfd (download) which allows you to mount a disk image as a virtual floppy drive. Bochs can then boot from this drive as if there was a real floppy disk. The tool also saves you from having to patch your image with a new kernel as it allows you to access the files nativly from your explorer.

regards,
gaf