Page 1 of 1

Mounting Disk Images

Posted: Sat May 26, 2007 7:40 am
by t0xic
Hey everyone,

I'm using windows currently, and I am wondetring how to mount floppy images.
I now there are tools out there to mount floppy images, but they all require exactly 1.44, 2.88, etc disk images. My kernel is just now getting to be about 20kB so I was wondering how I could make it into 1.44mB or get a different tool

Thanks

--t0xic

Posted: Sat May 26, 2007 10:26 am
by mathematician
Assuming you want to mount it in something like Bochs, get a utility like partcopy, which reads the floppy (all of it) and writes it out to a file on the hard disk

Posted: Sun May 27, 2007 3:51 am
by AJ
Try virtual floppy drive. It will create an image, mount it as drive b: allowing you to copy on your kernel, and you can directly use drive b: as your boot drive in Bochs, VPC etc...

Posted: Sun May 27, 2007 3:38 pm
by pcmattman
Well, if you use Bochs' disk image creator you get an exact size. Load using Virtual Floppy drive, put your data onto it, free 1.44 MB disk image!

Once you hit hard drive images, I suggest using filedisk. I use it for all my hard drive disk image manipulation, and it works well.

Posted: Mon May 28, 2007 4:34 am
by Ztane
Try FileDisk. It not only supports floppy disks but hard disks too http://www.acc.umu.se/~bosse/. I have used it successfully to mount various images in Windows created by a hosted edition of a certain embedded OS.

EDIT: creating empty images is easy with cygwin tools - you can use dd to read actual floppies and hard disks and then convert them to disk images. What is more, you can use mtools to create FAT floppies.

Posted: Mon May 28, 2007 7:51 am
by t0xic
Thanks,

I had been using filedisk but just had problems getting a 1.44 mb floppy image. I found that bfi (build floppy image) works great. It'll install a custom bootloader or files for you

Thanks again for your help

--t0xic