Onedrive seems to have created its own drive G partition and moved my previous drive G partition to drive L

Anonymous
2021-10-01T22:00:28+00:00

One drive has messed up my partitions in that I had a drive G called WorkArea (G) that has the one drive folders to sync on it, along with all other files and folders on it. Somehow my G drive WorkArea (G) (partition) was reallocated to drive L WorkArea (L), and a separate partition G now called Local Disk (G). has appeared in the original drive G's place. (not talking about drive Mapping here).

In windows explorer I see the following screen shot

whereas in disk management, G does NOT show up at all and I cannot change WorkArea (L) back to G.

Drive L does show up in windows explorer, but is not in the screen shot. .

and trying to re-assign WorkArea to G I cannot, as it is unavailable.

how do I fix this?

I tried to uninstall OneDrive, and reboot but nothing changed.

Can someone please help me fix this as my backup plans are set for G as what is in WorkArea L and now backup of G only shows OneDrive files, that were not part of the backup plan to begin with.

Thanks for any help you can offer. Much appreciated.

Garry G

Windows for home | Windows 10 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

47 answers

Sort by: Most helpful
  1. Anonymous
    2021-10-29T01:48:29+00:00

    (1) As was said earlier, your Disk Management is fine. It is normal for it not to show the secret MSR (Microsoft Reserved) partition. Yours is partition 1 on Disk 0. That pushes all the others up...

    DISKPART> list part

    Partition ### Type Size Offset


    Partition 1 Reserved 128 MB 17 KB <<<MSR partition -- Disk 0, Partition 1

    Partition 2 System 100 MB 129 MB <<<EFI -- Disk 0, Partition 2

    Partition 3 Primary 930 GB 229 MB <<<Windows (C:)

    Partition 4 Recovery 627 MB 930 GB <<<Recovery -- Disk 0. Partition 4

    (2) You have proven your DVD will work properly when booted through the BIOS Boot Menu which is F8 for you. That is good. So, memorize how to do a /Import there (if/when necessary), which is...

    DiskPart <<<Enter DiskPart

    List Vol <<<List the volumes & their letters

    Exit <<<Exit DiskPart

    === You should recognize the Windows volume by its label or size ===

    === Note its letter which may not be C: in this environment ===

    === Use that letter instead of X: in the following command ===

    BCDEdit /Import X:\BU\BCD_Backup /Clean <<<Restore the backup BCD

    Close the Command Prompt, & click "Continue" to return to Windows.

    (3) You made a typo with...

    BCDEdit /Set {fwbootmgr} Displayorder {bootmgr} /Addfirst

    Instead of {bootmgr}, you entered a second {fw...}. I'm surprised there wasn't an error message. It did nothing. It did not add {bootmgr} to the top. Therefore, it never went to {bootmgr}. And that probably was a good thing, because you did enter the following correctly, but it didn't work (though it said it did)...

    BCDEdit /Set {bootmgr} Device partition=\Device\HarddiskVolume2

    Image

    Instead, it left the value at "unknown". So, it would have been a failed boot, (& you'd have had to do the /Import). But you did get the Path from the other command...

    Image

    I don't know what to make of that. It's spooky. But let's try it booted to Windows at an Administrator Command Prompt...

    Type "CMD" into Search, & click "Run as Administrator".

    BCDEdit /Enum {bootmgr} <<<Show old {bootmgr}

    BCDEdit /Set {bootmgr} Device partition=\Device\HarddiskVolume2

    BCDEdit /Enum {bootmgr} <<<Show new {bootmgr}

    If the Device is there & the Path is still there, then do this (otherwise don't do it)...

    BCDEdit /Enum {fwbootmgr} <<<Show current {fwbootmgr}

    BCDEdit /Set {fwbootmgr} Displayorder {bootmgr} /Addfirst

    BCDEdit /Enum {fwbootmgr} <<<Show new {fwbootmgr}

    That should add {bootmgr} to the top of the Displayorder list, meaning the next boot will go there. If all looks good, try the reboot. If it fails to boot, do the /Import using the DVD if necessary. (But if it gives you access to the internal recovery environment, use that.)

    We may not need to do the /RebuildBCD. If this much works, we probably can fix your recovery environment entries in a similar manner using ReagentC. Then Shift+Restart will get you there.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2021-10-15T23:13:13+00:00

    (1) Here are your partitions on Disk 0...

    Partition ### Type Size Offset


    Partition 1 Reserved 128 MB 17 KB <<<MSR (Microsoft Reserved)

    Partition 2 System 100 MB 129 MB <<<EFI System partition

    Partition 3 Primary 930 GB 229 MB <<<Windows (C:)

    Partition 4 Recovery 627 MB 930 GB <<<Recovery partition

    The MSR doesn't show up in Disk Management by design. I'd rather it immediately precede Windows, but that's OK as is. The details of each is fine except for Recovery...

    Partition 4

    Type : de94bba4-06d1-4d40-a16a-bfd50179d6ac

    Hidden : Yes

    Required: No

    Attrib : 0000000000000000

    Offset in Bytes: 999546683392

    Volume ### Ltr Label Fs Type Size Status Info


    * Volume 4 G NTFS Partition 627 MB Healthy Hidden

    The type code (GUID) is good. Required should be "yes". Let's remove the letter & set the Attrib properly...

    DiskPart <<<Enter DiskPart

    Select Disk 0 <<<Focus on Disk 0

    Select Part 4 <<<Focus on partition 4 (Recovery)

    Detail Part <<<Show the old details

    Remove Letter=G <<<Remove letter G

    GPT ATTRIBUTES=0x8000000000000001 <<<Set Attrib

    Detail Part <<<Show the new details

    Exit <<<Exit DiskPart

    Notes:

    0x8000000000000000 Prevents the partition from having a drive

                                      letter automatically assigned.
    

    0x0000000000000001 Marks the partition as required.

    After that, G: will no longer show up in File Explorer. Let's see a new picture of Disk Management to see whether it looks better for Recovery in the upper & lower panes.

    (2) The Firmware Boot Manager in the BCD is a window to the BIOS Boot menu screen. Yours isn't set normally for a UEFI installation.,,

    Firmware Boot Manager


    identifier {fwbootmgr}

    displayorder

    {c4337ee6-11b0-11ec-ab4f-806e6f6e6963} <<<Direct boot to EFI

    {c4337ee7-11b0-11ec-ab4f-806e6f6e6963} <<<Direct to a hard drive

    {c4337ee8-11b0-11ec-ab4f-806e6f6e6963} <<<Also direct boot to EFI

    {c4337ee3-11b0-11ec-ab4f-806e6f6e6963} <<<Boot to CD/DVD drive

    timeout 0

    It should instead boot to the Windows Boot Manager ({bootmgr}). You do have one in the BCD, but it is missing its device & path values. There is a lot amiss in your BCD. I'm thinking we should generate a new one altogether instead of tinkering with this one.

    (a) Have you ever been in BIOS & altered the Boot Menu?

    (b) Is BIOS set to boot in UEFI or Legacy mode? The missing {bootmgr} under Displayorder (above) has me wondering.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2021-10-14T01:08:42+00:00

    (1) Oops, I wanted Disk 0. Please repeat DiskPart for Disk 0...?...

    DiskPart <<<Enter DiskPart

    List Vol <<<List the Volumes

    List Disk <<<List the Disks

    Select Disk 0 <<<Focus on Disk 0

    List Part <<<List the partition numbers on Disk 0

    == For each partition number (x) enter the following two commands ==

    Select Part x <<<Focus on partition x

    Detail Part <<<Show partition info

    == After that, exit DiskPart ==

    Exit <<<Exit DiskPart

    BCDEdit /Enum All <<<And let's see the BCD

    (2) I see G:drive is there in your List Vol...

      Volume 4  **G**  NTFS Partition  627 MB  Healthy Hidden
    

    It is the 627 MB partition appearing after C: in your Disk Management (DM). But it looks wrong in DM. It should look like mine...

    Image

    With or without a letter on my Recovery partition, I get that designation (disk 0 partition 4) in the top pane. And the bottom is as circled. Neither the letter nor the label I put on it (WinRE 21H1) show up in the bottom pane. (I'm sure they used to in prior versions.) They only show in DiskPart & File Explorer now. And here is what mine looks like in DiskPart...

    DISKPART> Detail Part

    Partition 4

    Type : de94bba4-06d1-4d40-a16a-bfd50179d6ac

    Hidden : Yes

    Required: Yes

    Attrib : 0X8000000000000001

    Offset in Bytes: 999313944576

    Volume ### Ltr Label Fs Type Size Status Info


    * Volume 3 WinRE 21H1 NTFS Partition 847 MB Healthy Hidden

    We want to get the letter off yours, but most important will be the Type code & possibly the Attrib. I suspect your Type code has gone bad & must be made to match mine. Hopefully, that will get your Disk Management to match mine. Then, we need to activate the Recovery partition either using ReagentC (which may not work) or by putting the code for it directly into the BCD.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2021-10-13T03:25:50+00:00

    G:drive does look like a Recovery partition. Let's see whether it has its WinRE.wim...

    (a) Type CMD into Search, & click "Run as Administrator".

    (b) Enter the following commands...

    DIR G:\ /a /s <<<List all folders & files on G:

    ReagentC /Info <<<Show whether it is the Recovery partition officially

    Something caused the letter to be grabbed away from the drive which had OneDrive. The OneDrive partition then took L: for its letter. A Recovery partition shouldn't have a letter, but it should show up in Disk Management with a designation like your EFI got (which is disk 0, partition 2). Let's see what the partitions look like in DiskPart. Enter the following commands into that same Command Prompt...

    DiskPart <<<Enter DiskPart

    List Vol <<<List the Volumes

    List Disk <<<List the Disks

    Select Disk 1 <<<Focus on Disk 1

    List Part <<<List the partition numbers on Disk 1

    == For each partition number (x) enter the following two commands ==

    Select Part x <<<Focus on partition x

    Detail Part <<<Show partition info

    == After that, exit DiskPart ==

    Exit <<<Exit DiskPart

    Use Ctrl-A & Ctrl-C to copy it all, then paste it to us for examination.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2021-10-04T16:45:57+00:00

    Hi Greg…

    Thank you for your response.  Much appreciated.

    Before I go much further, can I ask 2 questions:

    1. Can I post a word document with screen shots and explanations at an attachment to show the disk management screen shot and the windows explorer screen shot?
    2. In your reply below you mentioned unlinking Onedrive and doing things within Onedrive.   I have uninstalled Onedrive from this PC so do I have to reinstall it? Will it then point to what was there before or have I really messed this up?

    Thanks again for your help.

    Cheers!

    Garry

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments