First, drive letters (
F:, and so on) are Windows-specific. Ubuntu does not identify partitions or disks in this way. These identifiers also don't make clear whether the devices are multiple partitions on a single disk, separate physical disks, or a combination of both. These issues don't make it impossible to answer your particular question, but you should be aware of the fact that a Windows drive letter is likely to be useless when approaching an issue from Ubuntu (or any Linux distribution).
I'm not 100% positive, but I suspect that your Windows
D: partition's type code has been changed. This will make it invisible to Windows, but Ubuntu won't care about that detail. The solution is to use a partitioning tool to change the type code. I'm not sure how to do this from the Windows Disk Management tool, or if it's even possible with that tool. From Ubuntu, you'd use either
gdisk, but which tool you use depends on the partition table type:
- Master Boot Record (MBR) -- With the older MBR system, you'd use
fdisk, and change the type code of the partition from 0x82 to 0x07:
fdisk on the disk, as in
sudo fdisk /dev/sda.
p to view the partitions and identify the one you want to change. Because Linux doesn't use Windows drive letters, you'll need to identify the partition by its size and location.
t to change the partition's type code.
fdisk will prompt you for information, such as the partition number and type code. Change the type code to
w to save your changes.
- GUID Partition Table (GPT) -- To modify the newer GPT, you can use either
gdisk or recent versions of
fdisk. Either way, the procedure is the same as with MBR, except that the type code will be different --
11 if you use
0700 if you use
gdisk will convert a disk from MBR to GPT automatically. Thus, you should use
gdisk only if you're positive that your disk already uses GPT. It's not 100% clear from your screen shot whether that's the case, but my suspicion is that your disk uses MBR, since I don't see any evidence of an EFI System Partition (ESP) on the disk. OTOH, the vast majority of computers that shipped with Windows 10 use GPT, so maybe I'm missing something. You can determine your disk's partition table type from the Windows disk properties dialog box, as described on this page of mine. If you're unsure of this detail, it's best to stick with
fdisk for this task; however, be aware that you need a recent version of
fdisk to handle GPT. Ubuntu began shipping
fdisk with GPT support beginning with Ubuntu 14.10 or 15.04, IIRC, so you should have that unless you're trying to install a rather old version of Ubuntu.