0

Hi,
I want to create a virtual partition inside a hard disk. This partition should be usable for booting purpose. Please help me out in this regard by providing me source code in C/c++.

Bye...

6
Contributors
10
Replies
11
Views
9 Years
Discussion Span
Last Post by amol_d
Featured Replies
  • I doubt you will get free source code. But you can buy [URL="http://shop.symantecstore.com/DRHM/servlet/ControllerServlet?Action=DisplayProductDetailsPage&SiteID=symnahho&Locale=en_US&ThemeID=106300&Env=BASE&productID=44316200&pgm=6037100"]PartitionMagic[/URL]. Read More

0

But i need a source code for this any how where i can create a virtual partition.

0

> This partition should be usable for booting purpose.
If it's virtual, then it will only exist while part of your s/w is running.

At bootup, NONE of your code will be running, so how could you ever boot from it ?

0

By modifying MBR stuff, we can do it. We have to make this virtual partition as the active partition and reboot it...

0

Er, yeah. It's one of those naming things.

A virtual partition is so called because it doesn't necessarily correspond to physical structures. It's not hidden though. [EDIT] but I think it can be... [/EDIT]

0

If anybody know how to do virtual partition programmatically, let me know.
Before this, i even want to know how to do partition programatically.

0

So goto http://sourceforge.net and type "partition" into the search box.
Plenty of open source examples to get your head around.

You'll need a machine you won't mind trashing several times, because in your stumbling around in the dark, you will completely trash your HD and make it unbootable and unrecoverable.

0

If you are talking about a virtual partition that is created like ghost does to restart your computer in DOS mode, then I would like to see the source code on how that is done as well.

Let me know if you find out how its done.

-3

c program language code to display partition of hard disk

Votes + Comments
Then why the hell didn't you read the whole goddam thread and click some links!?
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.