Virtual hdd software

Does anyone know where I can download free virtual hdd software?
I'm writing kind of disk/partition/volume manager and I don't want to crash my hard drive... again.
Thanks for help!
lol at the again part, umm I did a search and couldn't find one...why not just use a cheap IDE hard drive you have laying arround? and if you dont have one, go up to your nearest Computer supply store (NOT BESTBUY) and buy one, maybe Craig's list?
You can mount a drive from an image using a program like Daemon Tools.
*logs that piece of knowledge into memory*
Couldn't you just use something like QEmu, Bochs, VMWare or Virtual Box?
Null: You mean like a ramdisk?
@chrisname: I don't need a virtual pc, only a hard disk.

Helios:
ramdisk? http://en.wikipedia.org/wiki/RAM_disk
maybe yes but I downloaded something like that before:
http://www.softpedia.com/get/System/Hard-Disk-Utils/Virtual-Hard-Drive-Pro.shtml

It only creates a partition but I need whole hdd with MBR and partitions.
@Null,
I know; but I think it would be easier just to use an eumlator/VM... The ones I listed have been tested to death and are extremely stable.
TBH, a virtual machine like chrisname stated is probably the ideal option. Creating a "virtual" drive and then attempting to partition it could have... unforeseen consequences.
Creating a "virtual" drive and then attempting to partition it

That's exactly what I need. Anyway, I have to write lots of code before I could even start testing my program.
A virtual machine or emulator will let you do that.
And there's no risk of you messing up some existing hard drive sector.
chrisname: Will bochs/Qemu emulate Windows XP on pc with 512 Mb RAM and Pentium 4 3GHz prcessor?
I'm not sure how to answer that; so instead I'll explain how to do it with QEmu:

1. Create a hard disk image to be used. I don't know how much disk space windows xp will require, but let's say 12 GiB.
qemu-img create disk.img 12G
which will create a disk image called disk.img which is 12 GiB in size (note: I think the file dynamically expands when you need more; so it won't always require 12 GiB of actual disk space).

2. Run QEmu from the command-line, telling it what hard disk and cdrom image to use, and the amount of memory to emulate:
qemu -hda disk.img -cdrom windows_xp.iso -m 512 -boot d

3. Install XP

4. Enjoy.

You could also create a batch file/shell script to run QEmu without typing the same thing over and over again.
Last edited on
Thanks!
I'm downloading QEmu right now...
No problem; and good luck with your disk partition thing. When you get to the testing stage, I'll happily beta test it for you (on QEmu, of course :P).
Last edited on
Topic archived. No new replies allowed.