Ghost Solution Suite

 View Only
  • 1.  Best way to enumerate NTFS and EXT3 partitions

    Posted Jan 10, 2012 02:31 PM

    I'm wanting to use ghost32 in cmd line mode to image partitions from a drive with both EXT3 and NTFS partitions. What's the best way to list the available partitions from the command line? Does anyone know of a utility that will do that other than diskpart? Diskpart kind of works but only provides the disk size in GB, nothing more detailed than that. If i have two partitions of the same size then I have no way to discern them. On linux I'd use fdisk and it'd be great but I don't know of a good equivalent on windows. I already have the EXT2 IFS driver installed so I can see the partition. Just need a way to list information about them. Thanks.

    -Ian



  • 2.  RE: Best way to enumerate NTFS and EXT3 partitions

    Posted Jan 11, 2012 07:38 AM

    How about a bit of WMI code using the Win32_LogicalDisk class?

    WMI runs under WinPE as long as the WMI module is installed in WinPE.  WMIExplorer (a free download) will let you run any of the classes on the current machine and see what they return. IIRC, the website is www.ks-soft.net