Tip for creating diskimages 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
Jens

Tip for creating diskimages on Windows

Post by Jens »

Lets say you want to create an file of size N for use as an image of a floppy or harddrive et.c. On linux you can do this with dd and /dev/zero but on windows I didnt found a simple way until i discovered fsutil. Do something like this to get an file the size of a floppy.

fsutil file createnew myfile.img 1474560

Then you can just copy your bootloader and kernel onto this file. I found that there exist a version of dd for windows which is a bit more powerful than partcopy for this task but either program would work ok. The address to dd for windows is:

http://uranus.it.swin.edu.au/~jn/linux/rawwrite/dd.htm

See ya!
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:Tip for creating diskimages on Windows

Post by Candy »

You could just try cygwin, which includes dd by default?

[edit] Almost forgot, that's still a TIM-bot notification :) [/edit]
inderpreetb

Re:Tip for creating diskimages on Windows

Post by inderpreetb »

I think that winimge does make my life easy.
when a file system is present of the image ;D
Xardfir

Re:Tip for creating diskimages on Windows

Post by Xardfir »

BxImage comes with BOCHS and can make big images.
Filedisk for Windows allows you to mount the image as a drive letter, format it and install GRUB.
Post Reply