diskpart operations unallocated storage

Posted: 01-24-2009, 09:42 PM
I need to use diskpart to partition & format unallocated areas on new disks.
The only diskpart operations I can find for unallocated space applies to
expanding existing partitions. Diskpart is supposed to be a superset of the
disk management snapin but the snapin seems to have more functionality for
unallocated disk areas than diskpart. Can someone explain how I can use
diskpart to setup new partitions in unallocated storage?


diskpart operations unallocated storage


Responses to "diskpart operations unallocated storage"

Shenan Stanley
Guest
Posts: n/a
 
Re: diskpart operations unallocated storage
Posted: 01-24-2009, 09:59 PM
Luke alcatel wrote:
> I need to use diskpart to partition & format unallocated areas on
> new disks. The only diskpart operations I can find for unallocated
> space applies to expanding existing partitions. Diskpart is
> supposed to be a superset of the disk management snapin but the
> snapin seems to have more functionality for unallocated disk areas
> than diskpart. Can someone explain how I can use diskpart to setup
> new partitions in unallocated storage?
Have you reviewed everything about diskpart?
http://support.microsoft.com/kb/300415

Basically - you set the focus on the disk in question and create your
partition(s) with various commands (most are well described in the article
above.)

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html


Luke alcatel
Guest
Posts: n/a
 
Re: diskpart operations unallocated storage
Posted: 01-25-2009, 02:39 PM
Shenan,
Does not work under the conditions of my OP. Example - I have a new,
uninitialized CF device mounted via USB reader/writer. The Disk Management
snapin shows it as "Disk 1, 243 MB Unallocated." I can proceed to format
the CF with the snapin by selecting the unallocated area graphically.
However using diskpart I can "select disk 0" which is my C: drive but
"select disk 1" results in the response "The disk you specified is not
valid." Similar result with "select volume 1" followed by "detail volume"
which shows the C: drive. "Select volume 2" does not fail but a subsequent
"detail volume" shows nothing selected.

In summary I can find no way in diskpart to give the focus to unallocated
storage but that can be done with the snapin. I need to do these operations
in light-weight XP systems (i.e. XP Embedded) that do not have the snapin
installed.

Luke

"Shenan Stanley" <newshelper@gmail.com> wrote in message
news:uUQ$p8mfJHA.5496@TK2MSFTNGP02.phx.gbl...
> Luke alcatel wrote:
>> I need to use diskpart to partition & format unallocated areas on
>> new disks. The only diskpart operations I can find for unallocated
>> space applies to expanding existing partitions. Diskpart is
>> supposed to be a superset of the disk management snapin but the
>> snapin seems to have more functionality for unallocated disk areas
>> than diskpart. Can someone explain how I can use diskpart to setup
>> new partitions in unallocated storage?
>
> Have you reviewed everything about diskpart?
> http://support.microsoft.com/kb/300415
>
> Basically - you set the focus on the disk in question and create your
> partition(s) with various commands (most are well described in the article
> above.)
>
> --
> Shenan Stanley
> MS-MVP
> --
> How To Ask Questions The Smart Way
> http://www.catb.org/~esr/faqs/smart-questions.html
>

Shenan Stanley
Guest
Posts: n/a
 
Re: diskpart operations unallocated storage
Posted: 01-25-2009, 03:14 PM

Luke alcatel wrote:
> I need to use diskpart to partition & format unallocated areas on
> new disks. The only diskpart operations I can find for unallocated
> space applies to expanding existing partitions. Diskpart is
> supposed to be a superset of the disk management snapin but the
> snapin seems to have more functionality for unallocated disk areas
> than diskpart. Can someone explain how I can use diskpart to setup
> new partitions in unallocated storage?
Shenan wrote:
> Have you reviewed everything about diskpart?
> http://support.microsoft.com/kb/300415
>
> Basically - you set the focus on the disk in question and create
> your partition(s) with various commands (most are well described in
> the article above.)
Luke alcatel wrote:
> Does not work under the conditions of my OP. Example - I have a
> new, uninitialized CF device mounted via USB reader/writer. The
> Disk Management snapin shows it as "Disk 1, 243 MB Unallocated." I
> can proceed to format the CF with the snapin by selecting the
> unallocated area graphically. However using diskpart I can "select
> disk 0" which is my C: drive but "select disk 1" results in the
> response "The disk you specified is not valid." Similar result
> with "select volume 1" followed by "detail volume" which shows the
> C: drive. "Select volume 2" does not fail but a subsequent "detail
> volume" shows nothing selected.
> In summary I can find no way in diskpart to give the focus to
> unallocated storage but that can be done with the snapin. I need
> to do these operations in light-weight XP systems (i.e. XP
> Embedded) that do not have the snapin installed.
Sounds like my advice *would* work then - given your original post did not
include the information given in your follow-up example.

I asked if you reviewed the material about diskpart, and by your follow-up,
you have not. Your original posting made no mention of removable media -
this is the first I saw mention of it in this conversation. You asked about
"unallocated areas on new disks", not the same as your new posting where you
specify removable media.

The example you gave specified an external device (an "uninitialized CF
device mounted via USB reader/writer") - and the material I gave you to
review specifies very clearly:

"You cannot use Diskpart to create a partition on removable media. Windows
supports at most one MBR partition on removable media. If the media is
manufactured with an MBR, that MBR cannot be altered, but the MBR is
followed even if multiple partitions or logical drives are configured. If
the media is manufactured without an MBR, the media is treated as a
"superfloppy" and no partition structure is written to the media."

Simply a case of knowing the tools you are trying to use and not explaining
what you were actually doing (leaving out some pertinent details.) ;-)

You are not just trying to get "diskpart to give the focus to unallocated
storage", but specifically trying to get "diskpart to give the focus to
unallocated storage on removable media"...

http://www.google.com/search?q=diskp...emovable+media

If you were using Windows Vista - you might not have this issue - but given
the restrictions of your original and follow-up posts (particularly that you
posted in an XP newsgroup), diskpart from Windows XP is not going to do what
you are looking to do.

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html


Luke alcatel
Guest
Posts: n/a
 
Re: diskpart operations unallocated storage
Posted: 01-25-2009, 05:27 PM
Shenan,
I have reviewed all the information on diskpart. The reference you gave
says "Diskpart enables a superset of the actions that are supported by the
Disk Management snap-in." That statement is what I question. The Disk
Management snap-in can prepare a totally uninitialized flash device, e.g.
one that is written entirely with zeros, for use. If diskpart is a superset
of the snap-in, as your reference states, then it should be able to do at
least as much. That is the essence of the question. Your information about
partitions, MBRs, etc. is interesting and not in dispute -- it is just
irrelevant to what I consider a central claim of the diskpart documentation
which also states right off the top "Diskpart enhances the Disk
Administrator graphical user interface (GUI)."

Luke

"Shenan Stanley" <newshelper@gmail.com> wrote in message
news:%23oD3E$vfJHA.3728@TK2MSFTNGP06.phx.gbl...
>
> Luke alcatel wrote:
>> I need to use diskpart to partition & format unallocated areas on
>> new disks. The only diskpart operations I can find for unallocated
>> space applies to expanding existing partitions. Diskpart is
>> supposed to be a superset of the disk management snapin but the
>> snapin seems to have more functionality for unallocated disk areas
>> than diskpart. Can someone explain how I can use diskpart to setup
>> new partitions in unallocated storage?
>
> Shenan wrote:
>> Have you reviewed everything about diskpart?
>> http://support.microsoft.com/kb/300415
>>
>> Basically - you set the focus on the disk in question and create
>> your partition(s) with various commands (most are well described in
>> the article above.)
>
> Luke alcatel wrote:
>> Does not work under the conditions of my OP. Example - I have a
>> new, uninitialized CF device mounted via USB reader/writer. The
>> Disk Management snapin shows it as "Disk 1, 243 MB Unallocated." I
>> can proceed to format the CF with the snapin by selecting the
>> unallocated area graphically. However using diskpart I can "select
>> disk 0" which is my C: drive but "select disk 1" results in the
>> response "The disk you specified is not valid." Similar result
>> with "select volume 1" followed by "detail volume" which shows the
>> C: drive. "Select volume 2" does not fail but a subsequent "detail
>> volume" shows nothing selected.
>> In summary I can find no way in diskpart to give the focus to
>> unallocated storage but that can be done with the snapin. I need
>> to do these operations in light-weight XP systems (i.e. XP
>> Embedded) that do not have the snapin installed.
>
> Sounds like my advice *would* work then - given your original post did not
> include the information given in your follow-up example.
>
> I asked if you reviewed the material about diskpart, and by your
> follow-up, you have not. Your original posting made no mention of
> removable media - this is the first I saw mention of it in this
> conversation. You asked about "unallocated areas on new disks", not the
> same as your new posting where you specify removable media.
>
> The example you gave specified an external device (an "uninitialized CF
> device mounted via USB reader/writer") - and the material I gave you to
> review specifies very clearly:
>
> "You cannot use Diskpart to create a partition on removable media. Windows
> supports at most one MBR partition on removable media. If the media is
> manufactured with an MBR, that MBR cannot be altered, but the MBR is
> followed even if multiple partitions or logical drives are configured. If
> the media is manufactured without an MBR, the media is treated as a
> "superfloppy" and no partition structure is written to the media."
>
> Simply a case of knowing the tools you are trying to use and not
> explaining what you were actually doing (leaving out some pertinent
> details.) ;-)
>
> You are not just trying to get "diskpart to give the focus to unallocated
> storage", but specifically trying to get "diskpart to give the focus to
> unallocated storage on removable media"...
>
> http://www.google.com/search?q=diskp...emovable+media
>
> If you were using Windows Vista - you might not have this issue - but
> given the restrictions of your original and follow-up posts (particularly
> that you posted in an XP newsgroup), diskpart from Windows XP is not going
> to do what you are looking to do.
>
> --
> Shenan Stanley
> MS-MVP
> --
> How To Ask Questions The Smart Way
> http://www.catb.org/~esr/faqs/smart-questions.html
>

Shenan Stanley
Guest
Posts: n/a
 
Re: diskpart operations unallocated storage
Posted: 01-25-2009, 06:17 PM
Luke alcatel wrote:
> I need to use diskpart to partition & format unallocated areas on
> new disks. The only diskpart operations I can find for unallocated
> space applies to expanding existing partitions. Diskpart is
> supposed to be a superset of the disk management snapin but the
> snapin seems to have more functionality for unallocated disk areas
> than diskpart. Can someone explain how I can use diskpart to setup
> new partitions in unallocated storage?
Shenan wrote:
> Have you reviewed everything about diskpart?
> http://support.microsoft.com/kb/300415
>
> Basically - you set the focus on the disk in question and create
> your partition(s) with various commands (most are well described in
> the article above.)
Luke alcatel wrote:
> Does not work under the conditions of my OP. Example - I have a
> new, uninitialized CF device mounted via USB reader/writer. The
> Disk Management snapin shows it as "Disk 1, 243 MB Unallocated." I
> can proceed to format the CF with the snapin by selecting the
> unallocated area graphically. However using diskpart I can "select
> disk 0" which is my C: drive but "select disk 1" results in the
> response "The disk you specified is not valid." Similar result
> with "select volume 1" followed by "detail volume" which shows the
> C: drive. "Select volume 2" does not fail but a subsequent "detail
> volume" shows nothing selected.
> In summary I can find no way in diskpart to give the focus to
> unallocated storage but that can be done with the snapin. I need
> to do these operations in light-weight XP systems (i.e. XP
> Embedded) that do not have the snapin installed.
Shenan Stanley wrote:
> Sounds like my advice *would* work then - given your original post
> did not include the information given in your follow-up example.
>
> I asked if you reviewed the material about diskpart, and by your
> follow-up, you have not. Your original posting made no mention of
> removable media - this is the first I saw mention of it in this
> conversation. You asked about "unallocated areas on new disks",
> not the same as your new posting where you specify removable media.
>
> The example you gave specified an external device (an
> "uninitialized CF device mounted via USB reader/writer") - and the
> material I gave you to review specifies very clearly:
>
> "You cannot use Diskpart to create a partition on removable media.
> Windows supports at most one MBR partition on removable media. If
> the media is manufactured with an MBR, that MBR cannot be altered,
> but the MBR is followed even if multiple partitions or logical
> drives are configured. If the media is manufactured without an MBR,
> the media is treated as a "superfloppy" and no partition structure
> is written to the media."
> Simply a case of knowing the tools you are trying to use and not
> explaining what you were actually doing (leaving out some pertinent
> details.) ;-)
> You are not just trying to get "diskpart to give the focus to
> unallocated storage", but specifically trying to get "diskpart to
> give the focus to unallocated storage on removable media"...
>
> http://www.google.com/search?q=diskp...emovable+media
>
> If you were using Windows Vista - you might not have this issue -
> but given the restrictions of your original and follow-up posts
> (particularly that you posted in an XP newsgroup), diskpart from
> Windows XP is not going to do what you are looking to do.
Luke alcatel wrote:
> I have reviewed all the information on diskpart. The reference you
> gave says "Diskpart enables a superset of the actions that are
> supported by the Disk Management snap-in." That statement is what
> I question. The Disk Management snap-in can prepare a totally
> uninitialized flash device, e.g. one that is written entirely with
> zeros, for use. If diskpart is a superset of the snap-in, as your
> reference states, then it should be able to do at least as much. That is
> the essence of the question. Your information about
> partitions, MBRs, etc. is interesting and not in dispute -- it is
> just irrelevant to what I consider a central claim of the diskpart
> documentation which also states right off the top "Diskpart
> enhances the Disk Administrator graphical user interface (GUI)."
I cannot disagree, the statement, "Diskpart enables a superset of the
actions that are supported by the Disk Management snap-in." is incorrect.
Since a superset is 'all inclusive and more', diskpart fails the test for
being a superset of the disk management snap-in *if* you can do what you
want in Disk Management and cannot do it in DiskPart (which it sounds like
you cannot do in DiskPart given the previous quote from the web page.)

In other words - you still cannot do what you want to do with DiskPart in
Windows XP and removable media and you have proven the documentation is in
error with at least its claims given in the statement, "Diskpart enables a
superset of the actions that are supported by the Disk Management snap-in."
Given your original question, "Can someone explain how I can use diskpart to
setup new partitions in unallocated storage?" and the additional information
concerning 'removable media', the answer I would give you now is, "No,
because you cannot perform these actions with diskpart in Windows XP on
removable media."

( Although - not knowing the latter parts of the discussion with the example
given then (removable media) and just taking the original post at face
value - the answer could have been as I gave, "Yes - read the link given to
see how tro partition said space."; as one could assume you meant internal
storage, not removable - since it was not specified. :-) )

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html


 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Joint Operations / Punkbuster HuntsvillePI Windows Vista Games 3 10-09-2006 04:06 PM
SP2 ruins file operations Vuj Windows XP Setup 6 09-17-2004 06:28 PM
Slow Boot and Operations Gregg Windows XP Performance & Maintenance 1 01-20-2004 05:11 AM
Snail program operations on XP pro Rich Windows XP Performance & Maintenance 1 01-13-2004 06:32 AM
Multi-user Operations Neill Windows XP Security & Administration 0 09-14-2003 09:41 PM