dispart and Disk Management show inconsistent partition types

Chorizo

New member
Local time
9:44 PM
Messages
6
diskpart and Disk Management show inconsistent partition types

As a preamble, everything is working fine, and the volume/partition in question is unimportant so it's ok if I lose the data (I'm gonna format it anyway). No external drives are connected, so only the HDD and the internal DVD drive (no disk in it) are in play.

On my 1TB internal HDD, Disk Management and diskpart disagree about a volume and/or partition (I'm not sure if it is "actually" both a volume and a partition or just a partition). DM identifies (in the list of volumes) a 181GB Healthy Primary Partition. diskpart does not see this "volume" at all, but it does see it at as a partition. Twice. One is 181GB logical, one is 189GB extended, neither is primary. :shock:

Here is a screenshot of DM showing 5 volumes. In the order shown they are: Windows reserved, MS Office Click to Run (I think?), OEM recovery, the "mystery volume or partition" (red dot), and Windows C:\.

diskman1.JPG

Here is what diskpart has to say about it:

Code:
DISKPART> list partition

  Partition ###  Type              Size     Offset
  -------------  ----------------  -------  -------
  Partition 1    Primary            100 MB  1024 KB
  Partition 2    Primary            719 GB   101 MB
  Partition 0    Extended           189 GB   719 GB
  Partition 5    Logical            181 GB   719 GB
  Partition 4    Logical           8137 MB   900 GB
  Partition 3    Recovery            22 GB   908 GB

DISKPART> select partition 0

Partition 0 is now the selected partition.

DISKPART> detail partition

Partition 0
Type  : 05
Hidden: No
Active: No
Offset in Bytes: 772594990080

There is no volume associated with this partition.

DISKPART> select partition 5

Partition 5 is now the selected partition.

DISKPART> detail partition

Partition 5
Type  : 83
Hidden: Yes
Active: No
Offset in Bytes: 772594991104

There is no volume associated with this partition.

DISKPART> list volume

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     D                       DVD-ROM         0 B  No Media
  Volume 1         SYSTEM       NTFS   Partition    100 MB  Healthy    System
  Volume 2     C   Windows      NTFS   Partition    719 GB  Healthy    Boot
  Volume 3         SAMSUNG_REC  NTFS   Partition     22 GB  Healthy    Hidden

DISKPART>
I looked up the partition types identified by diskpart (type 05 for the 189GB extended partition 0 and type 83 for the 181GB logical partition 5) and they are:

Type 05: DOS 3.3+ Extended Partition: Supports at most 8.4 GB disks: with type 05 DOS/Windows will not use the extended BIOS call, even if it is available. See type 0f below. Using type 05 for extended partitions beyond 8 GB may lead to data corruption with MSDOS.

Type 83: Linux native partition

At this point I remembered that 2 years ago I attempted to install a couple of Linux distros (sequentially - not trying for a triple boot machine) but could never get them to stick. They would boot the first time (maybe more, I forget), but once I booted into Windows again, the GRUB bootloader selector would never come up again, and it would only boot Windows. After many hours not getting it to work, I gave up on it and just left it as a Win7-only machine.

So, the "mystery volume/partition" is definitely where I tried to install Linux and it's probably ext3. Those installs were not total failures, in that Linux did boot, from the hard disk (not a live cd/usb), at least once.

What I am hoping to learn is why diskpart sees it twice, in different sizes, and as both extended and logical. Meanwhile DM says it's primary:confused:. I think the answer to this problem will shed some light on why I couldn't get dual booting to work reliably. Maybe.

If you already know the answer and are dying to blurt it out, please go ahead!

If you are dying to find out more information in this riveting cliffhanger, read on:

Another thing that might be relevant (or not) is that this machine has always been a little.... flukey with thumb drives. 95% of thumb drives work normally, but every now and then it will say one is unreadable and prompt to format, while my Win7 laptop will see it just fine. Also, this machine will not reliably boot from a live USB. All I can say is that it will do it "sometimes" but 90% of the time it will not. I don't know why. Literally using the exact same physical live USB thumb drive, it might prompt me to boot into the live OS once even though it would go straight to Windows the previous 7 reboots. Yeah.

Here is an example of the bizarre behavior: A couple months ago I tried to boot a linux live USB formatted FAT32. As I expected, it would not boot - the BIOS did not list it as a boot disk and GRUB never showed up to let me choose an OS. In Windows, I stuck in the live USB and it couldn't read it and prompted to format (I did not format it). I happened to have a Mac laptop nearby and checked if the Mac could read it, and it could. I then stuck it back in my Win7 PC and suddenly Windows could read it AND it could boot from it (Good!).

But then, booting back into Win7, it would no longer recognize ANY thumb drive at all (Bad!). Following the first commandment of troubleshooting, I rebooted. Thumb drives could be seen again (Good!). But once again it could not read the FAT32 live USB and would not boot from it (Neutral!). :confused: At this point it was decided (again) that this machine shall forever be Win7-only.:cool:

So anyway, I am planning to just format the mystery volume/partition NTFS and give it to C:\, or maybe make it a separate volume/drive letter. But this whole issue of flukey behavior with disks has always bugged me, or rather the fact that I have no clue wtf is going on to cause this bugs me. So it would be super awesome if someone knows the answer. Thanks!
 
Last edited:

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Samsung 700A3B
OS
Windows 7 Home Premium x64
CPU
dual core i5-2390T
Memory
8GB
Graphics Card(s)
intel integrated HD graphics
Antivirus
nod32
Browser
chrome
Chorizo mate that is one heck of a post and I just want to know what you want to do with those last three partitions - just what is on them?
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Own build (new) Desk1 / Asus ROG Win 7 / Desk2 1st build
OS
Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
CPU
Desk1 i5 3750K / Laptop i7 GTX 860M / Desk2 i5 2500
Motherboard
Desk1 Asus P877-V / Desk2 Gigabyte H67 UD3H / Laptop ?
Memory
Desk1 8GB (1866) / Desk2 16GB (1333) / Laptop 8Gb DDR3
Graphics Card(s)
Desk 1& 2NVidia GTX 650 & Laptops on board Intel
Sound Card
Desk 1 & 2 -XONAR DG Realtek High Def audio Laptop
Monitor(s) Displays
Desk 1 Benq HD 2450 / Desk2 Philips 24" / Laptop 17.5"
Screen Resolution
1920x1080 D1 & D2 & Laptop 1
Hard Drives
Desk1 Samsung 120GB 830 SSD
Asus ROG 256GB 850 Pro SSD
Desk2 Samsung 840 256 SSD
Toshiba 120GB EVO
PSU
Desk 1 Corsair HX 1050/ Laptop ? / Desk 2 Corsair HX 650
Case
Desk 1 Cooler HAF XM ? Toshiba laptop / Desk2 Coolermaster
Cooling
Fans on all Desk1 -2 Desk2 - all Coolermasters 5 Laptop ?
Keyboard
Desk 1 MS Sidewinder X6 Desk 2 MS Sidewinder X 4
Mouse
Desk 1&2 - Gigabyte MS 900 gamer - laptop - Logitec wireless
Internet Speed
ADSL2+
Other Info
One other Desktop (tester) and spare Toshba laptop both with SSD's
Running Kaspersky 2016 ISS on all machines config'd identically
Logitec audio stereo systems on each machine (x3)
Canon MG5250MFC
Router/modem TP-Link running WPA2SK
You have 2 primary partitions, 1 extended partition, and 1 recovery partition. The extended partition is a way to get around a limit on the number of partitions you can have, primary or otherwise. You create an extended partition, and then divide it into one or more logical disks.

When you have an extended partition, you need to create one or more logical drives in it in order to utilize the space. In your case your extended partition starts at offset 719GB and ends at 908GB (908 - 719 = 189). From offset 719 to 900 you have a logical drive of 181GB, and from 900 to 908 you have another 8GB logical drive. My assumption is that when you were messing with linux installs you set up that 8GB logical drive for swap space, or hibernate space, or crashdump space.

I know this is an ancient thread. But an unanswered post helps no one who comes later looking for answers to similar situations, and that sure does bug me when I'm doing research. My hope is that it helps someone someday.

danielkr
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom, custom
OS
win 10 pro 64
CPU
i7-4770k, i7-3820
Motherboard
gigabyte, asus
Memory
32gb, 32gb
Graphics Card(s)
3 nvidia miners & onboard intel, nvidia
Hard Drives
yes and yes
Antivirus
nunya bizness heard of them?
Back
Top