|
| Author |
Message |
Saucer Man
Joined: 04 Oct 2007 Posts: 167
|
Posted: Fri Feb 22, 2008 10:59 pm Post subject: Any code examples around showing how to clone drives? |
|
|
Are there any code examples around showing how to clone drives? I'm looking
for something like Ghost where I can clone an entire disk(not just a
partition) from a pre-build environment like Bart's PE. I would like to
send it to a network share compressed and then bring it down on other disks.
--
Thanks.
Archived from group: microsoft>public>vb>general>discussion |
|
| Back to top |
|
 |
christery
Joined: 11 Jan 2008 Posts: 71
|
Posted: Sat Feb 23, 2008 4:41 pm Post subject: Re: Any code examples around showing how to clone drives? |
|
|
On 22 Feb, 23:59, "Saucer Man" wrote:
> Are there any code examples around showing how to clone drives? I'm looking
> for something like Ghost where I can clone an entire disk(not just a
> partition) from a pre-build environment like Bart's PE. I would like to
> send it to a network share compressed and then bring it down on other disks.
>
> --
> Thanks.
Reinventing PXE boot? |
|
| Back to top |
|
 |
Saucer Man
Joined: 04 Oct 2007 Posts: 167
|
Posted: Sun Feb 24, 2008 12:27 am Post subject: Re: Any code examples around showing how to clone drives? |
|
|
No...just looking to create a small program I can use with Windows PE or
Bart's PE. My company is on a limited budget and cannot afford Ghost. The
freeware programs I have found only copy partitions, not the whole disk.
These programs will not allow me to load an image created on a 100GB drive
onto an 80GB drive like Ghost will.
--
Thanks.
wrote in message @p43g2000hsc.googlegroups.com...
On 22 Feb, 23:59, "Saucer Man" wrote:
> Are there any code examples around showing how to clone drives? I'm
> looking
> for something like Ghost where I can clone an entire disk(not just a
> partition) from a pre-build environment like Bart's PE. I would like to
> send it to a network share compressed and then bring it down on other
> disks.
>
> --
> Thanks.
Reinventing PXE boot? |
|
| Back to top |
|
 |
Henning
Joined: 04 Oct 2007 Posts: 247
|
Posted: Sun Feb 24, 2008 11:49 pm Post subject: Re: Any code examples around showing how to clone drives? |
|
|
Could this do any good?
http://www.easeus.com/disk-copy/
/Henning
"Saucer Man" skrev i meddelandet $rc2.9946@bignews1.bellsouth.net...
> No...just looking to create a small program I can use with Windows PE or
> Bart's PE. My company is on a limited budget and cannot afford Ghost.
> The freeware programs I have found only copy partitions, not the whole
> disk. These programs will not allow me to load an image created on a 100GB
> drive onto an 80GB drive like Ghost will.
>
> --
> Thanks.
>
>
> wrote in message
> @p43g2000hsc.googlegroups.com...
> On 22 Feb, 23:59, "Saucer Man" wrote:
>> Are there any code examples around showing how to clone drives? I'm
>> looking
>> for something like Ghost where I can clone an entire disk(not just a
>> partition) from a pre-build environment like Bart's PE. I would like to
>> send it to a network share compressed and then bring it down on other
>> disks.
>>
>> --
>> Thanks.
>
> Reinventing PXE boot?
> |
|
| Back to top |
|
 |
Saucer Man
Joined: 04 Oct 2007 Posts: 167
|
Posted: Sun Feb 24, 2008 9:09 pm Post subject: Re: Any code examples around showing how to clone drives? |
|
|
I haven't seen that one before. It says that the destination media needs to
be the same size or bigger than the source. Also, it doesn't look like it
will save the image file to a network share...only to another hard drive.
--
Thanks.
"Henning" wrote in message $0$93304$57c3e1d3@news3.bahnhof.se...
> Could this do any good?
> http://www.easeus.com/disk-copy/
>
> /Henning
>
> "Saucer Man" skrev i meddelandet
> $rc2.9946@bignews1.bellsouth.net...
>> No...just looking to create a small program I can use with Windows PE or
>> Bart's PE. My company is on a limited budget and cannot afford Ghost.
>> The freeware programs I have found only copy partitions, not the whole
>> disk. These programs will not allow me to load an image created on a
>> 100GB drive onto an 80GB drive like Ghost will.
>>
>> --
>> Thanks.
>>
>>
>> wrote in message
>> @p43g2000hsc.googlegroups.com...
>> On 22 Feb, 23:59, "Saucer Man" wrote:
>>> Are there any code examples around showing how to clone drives? I'm
>>> looking
>>> for something like Ghost where I can clone an entire disk(not just a
>>> partition) from a pre-build environment like Bart's PE. I would like to
>>> send it to a network share compressed and then bring it down on other
>>> disks.
>>>
>>> --
>>> Thanks.
>>
>> Reinventing PXE boot?
>>
>
> |
|
| Back to top |
|
 |
SMussler
Joined: 12 Nov 2007 Posts: 21
|
Posted: Mon Feb 25, 2008 3:42 am Post subject: Re: Any code examples around showing how to clone drives? |
|
|
How about Acronis?
http://www.acronis.com
"Saucer Man" wrote in message $rc2.9946@bignews1.bellsouth.net...
> No...just looking to create a small program I can use with Windows PE or
> Bart's PE. My company is on a limited budget and cannot afford Ghost.
> The freeware programs I have found only copy partitions, not the whole
> disk. These programs will not allow me to load an image created on a 100GB
> drive onto an 80GB drive like Ghost will.
>
> --
> Thanks.
>
>
> wrote in message
> @p43g2000hsc.googlegroups.com...
> On 22 Feb, 23:59, "Saucer Man" wrote:
>> Are there any code examples around showing how to clone drives? I'm
>> looking
>> for something like Ghost where I can clone an entire disk(not just a
>> partition) from a pre-build environment like Bart's PE. I would like to
>> send it to a network share compressed and then bring it down on other
>> disks.
>>
>> --
>> Thanks.
>
> Reinventing PXE boot?
> |
|
| Back to top |
|
 |
Jeff Johnson
Joined: 04 Oct 2007 Posts: 1327
|
Posted: Mon Feb 25, 2008 4:47 pm Post subject: Re: Any code examples around showing how to clone drives? |
|
|
"Saucer Man" wrote in message $vt2.6713@bignews8.bellsouth.net...
> Are there any code examples around showing how to clone drives?
From VB6?! |
|
| Back to top |
|
 |
Jack
Joined: 04 Oct 2007 Posts: 414
|
Posted: Mon Feb 25, 2008 6:18 pm Post subject: Re: Any code examples around showing how to clone drives? |
|
|
"Jeff Johnson" wrote in message @corp.supernews.com...
> "Saucer Man" wrote in message
> $vt2.6713@bignews8.bellsouth.net...
>
>> Are there any code examples around showing how to clone drives?
>
> From VB6?!
>
Why not???! |
|
| Back to top |
|
 |
Saucer Man
Joined: 25 Feb 2008 Posts: 3
|
Posted: Mon Feb 25, 2008 7:23 pm Post subject: Re: Any code examples around showing how to clone drives? |
|
|
Yea...from VB 6. It must be more difficult than I thought. I cannot find
any examples!
"Jeff Johnson" wrote in message @corp.supernews.com...
> "Saucer Man" wrote in message
> $vt2.6713@bignews8.bellsouth.net...
>
>> Are there any code examples around showing how to clone drives?
>
> From VB6?!
>
> |
|
| Back to top |
|
 |
Saucer Man
Joined: 25 Feb 2008 Posts: 3
|
Posted: Mon Feb 25, 2008 7:24 pm Post subject: Re: Any code examples around showing how to clone drives? |
|
|
Acronis is costly also. Thanks for the suggestion though.
"SMussler" wrote in message @TK2MSFTNGP05.phx.gbl...
> How about Acronis?
> http://www.acronis.com
>
> "Saucer Man" wrote in message
> $rc2.9946@bignews1.bellsouth.net...
>> No...just looking to create a small program I can use with Windows PE or
>> Bart's PE. My company is on a limited budget and cannot afford Ghost.
>> The freeware programs I have found only copy partitions, not the whole
>> disk. These programs will not allow me to load an image created on a
>> 100GB drive onto an 80GB drive like Ghost will.
>>
>> --
>> Thanks.
>>
>>
>> wrote in message
>> @p43g2000hsc.googlegroups.com...
>> On 22 Feb, 23:59, "Saucer Man" wrote:
>>> Are there any code examples around showing how to clone drives? I'm
>>> looking
>>> for something like Ghost where I can clone an entire disk(not just a
>>> partition) from a pre-build environment like Bart's PE. I would like to
>>> send it to a network share compressed and then bring it down on other
>>> disks.
>>>
>>> --
>>> Thanks.
>>
>> Reinventing PXE boot?
>>
>
> |
|
| Back to top |
|
 |
mayayana
Joined: 04 Oct 2007 Posts: 734
|
Posted: Mon Feb 25, 2008 10:34 pm Post subject: Re: Any code examples around showing how to clone drives? |
|
|
> Yea...from VB 6. It must be more difficult than I thought. I cannot find
> any examples!
>
I use BootIt. I'm very happy with it. You'd need
two Acronis programs, both more expensive, to get
the same functionality. It's $35. I think it's another
$35 to get a license for one person to use it anywhere.
I know you asked for code but it seems *very*
unlikely that you'll find anything like that in VB. There's
a Linux facsimile of Partition Magic, which even looks
similar (I've forgotten the name) but I don't know
if there's such a thing as a free drive imager. |
|
| Back to top |
|
 |
Jeff Johnson
Joined: 04 Oct 2007 Posts: 1327
|
Posted: Tue Feb 26, 2008 3:06 pm Post subject: Re: Any code examples around showing how to clone drives? |
|
|
"Saucer Man" wrote in message $0$20840$cc2e38e6@news.uslec.net...
> Yea...from VB 6. It must be more difficult than I thought. I cannot find
> any examples!
VB6 requires Windows. If I got the jist of your question correct, you're
looking to write something that stands alone and doesn't need Windows. So
you won't be able to do it in VB6, hence my astonishment that you were even
trying. Perhaps there's something I'm missing.... |
|
| Back to top |
|
 |
Dave O.
Joined: 04 Oct 2007 Posts: 580
|
Posted: Tue Feb 26, 2008 8:57 pm Post subject: Re: Any code examples around showing how to clone drives? |
|
|
"Saucer Man" wrote in message $vt2.6713@bignews8.bellsouth.net...
> Are there any code examples around showing how to clone drives? I'm
> looking for something like Ghost where I can clone an entire disk(not just
> a partition) from a pre-build environment like Bart's PE. I would like to
> send it to a network share compressed and then bring it down on other
> disks.
>
> --
> Thanks.
I'm trying to find a polite way of putting this but there isn't one - you
are mad!
Have you looked at BartPE? It doesn't contain the VB runtime, you will never
get a VB6 program to run in BartPE, even if it did have the runtime I doubt
if the full windows API is available so it's going to be a problem.
Tell your boss "I can write it, but you'll need to pay for my training, it
shouldn't take more than a few months of full time study to learn enough
C++".
Unless you already know how to do this, your time will invariably cost more
than the purchase price of Ghost (or similar).
Regards
Dave O. |
|
| Back to top |
|
 |
Saucer Man
Joined: 25 Feb 2008 Posts: 3
|
Posted: Tue Feb 26, 2008 6:31 pm Post subject: Re: Any code examples around showing how to clone drives? |
|
|
I was using Bart's PE which runs a Windows shell from a CD. I was going to
add the needed runtimes to the plug-ins section. But if it cannot be
done...then it cannot be done. I thought i would ask just in case...
Thanks.
"Jeff Johnson" wrote in message @corp.supernews.com...
> "Saucer Man" wrote in message
> $0$20840$cc2e38e6@news.uslec.net...
>
>> Yea...from VB 6. It must be more difficult than I thought. I cannot
>> find any examples!
>
> VB6 requires Windows. If I got the jist of your question correct, you're
> looking to write something that stands alone and doesn't need Windows. So
> you won't be able to do it in VB6, hence my astonishment that you were
> even trying. Perhaps there's something I'm missing....
>
>
|
|
| Back to top |
|
 |
|