creating a floppy image file on windows

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
TheCash
Posts: 3
Joined: Thu Oct 22, 2009 5:53 pm
Location: Oklahoma

creating a floppy image file on windows

Post by TheCash »

I am trying to create a grub bootable floppy, but am stuck because everything I find needs losetup witch is on lunix only. here is one tutorial i looked at:
http://sig9.com/bochs-grub
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:

Re: creating a floppy image file on windows

Post by Combuster »

"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 ]
TheCash
Posts: 3
Joined: Thu Oct 22, 2009 5:53 pm
Location: Oklahoma

Re: creating a floppy image file on windows

Post by TheCash »

After you do:

dd if=/dev/zero of=floppy.flp bs=512 count=2880

how do you add grub to the image and once grub is on it how do you put your kernel on it without messing up grub?
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Re: creating a floppy image file on windows

Post by pcmattman »

There is a tutorial on the wiki that covers building a GRUB floppy image (there may also be links to prebuilt images, iirc).

I consider mtools to be the easiest way to put files onto a FAT floppy/hd image. Just grab it's source and build it in Cygwin.
TheCash
Posts: 3
Joined: Thu Oct 22, 2009 5:53 pm
Location: Oklahoma

Re: creating a floppy image file on windows

Post by TheCash »

thank you
Post Reply