Windows asks to format USB Drive when SD card is inserted


  1. Posts : 3
    Windows 10 Pro
       #1

    Windows asks to format USB Drive when SD card is inserted


    I have SD card with Raspbian OS on it. When I insert the card using the card reader adapter, Windows asks me to format the E:\ drive, and it shows two different drives where it supposed to be just one (the boot with Raspbian OS on it). Recently it also shows the message: "Location is not available E:\ is not accessible. The parameter is incorrect." but the boot is on I:\ drive and this E:\ drive should not even exist.

    - When I format E:\ drive it shows empty E:\ drive and full boot on I:\ drive. When I eject the boot drive, both drives disappear, however, the I:\ (boot) drive is no longer working properly. (does not boot the OS on raspberry pi)

    - When I reinsert the SD card it does not show me any errors. When I then format the SD card (I:\) boot drive, the E:\ drive disappears and I'm left just with I:\ drive. (when I put fresh Raspbian on I:\ drive, the error to format E:\ shows up again)

    - When I put some files onto the SD card it does not seem to show any other drives when I eject and reinsert.

    It is only happening when I have an image located on the SD card.

    I tried:

    • Different USB ports
    • Different SD card readers / adapters
    • chkdsk /F /R /X I: (from the command line)
    • chkdsk /F /R /X E: (from the command line (is says that the file system is RAW))
    Last edited by uzier; 12 Jul 2017 at 07:23.
      My Computer


  2. Posts : 15,037
    Windows 10 IoT
       #2

    Ignore the message, its because Windows can't natively see the second Linux Partition. You'll only be able to see the fat 32 Boot partition in Windows. If you want full access you'll need to install a third party program that handles Linux Partitions in Windows. I had a link to one I was going to try but can't find it at the moment. If you format the drive/card in Windows it won't work in your Pi anymore and you'll have to reimage it.
    What are you wanting to do with the card? Reclaim it for use with Windows? Or modify some of the Raspbian files. The config.txt file is on that boot partition and can be edited with notepad in Windows. There is a lengthy Raspberry Pi thread in the chillout room if your interested. The Raspberry Pi Thread [3]
      My Computer


  3. Posts : 3
    Windows 10 Pro
    Thread Starter
       #3

    alphanumeric, thank you for the response. On a fresh install of Windows 10, or previous versions of Windows, when I inserted the sd card it just showed the drive and the files which would be booted on Raspberry Pi (linux). Now it does not behave as expected. Normally you would insert SD or USB or CD or anything and you can look into it and see what's on that drive without any previous error messages. Mine is always trying to format the drive when I insert the SD card, I just do not want to see these multiple error messages each time I insert SD card. I perform multiple SD backups daily and these are critical, sometimes I accidentally format the SD card as the message appears straight in the middle of the screen when I insert SD card. Is there a way to repair it? It happens after latest update of Windows 10 (PS. this does not happen on any other PC in my company when I do the same operation). From what you said it seems like Windows need to ignore Linux system partition how do I disable that?
      My Computer


  4. Posts : 15,037
    Windows 10 IoT
       #4

    I've always seen that message with my Raspbian SD cards, and just ignore it. If you insert a normally formatted SD card (one not used for Raspbian etc) you won't see that message. If I corrupt one of my Raspberry Pi SD cards I just reimage it with a backup or new image. NOOBS, and KODI Raspberry PI cards will through up the same error. It's just because Windows doesn't like the second Linux partition on the card. If your trying to reuse one of your SD cards for storage etc, you need to wipe it clean and repartition it. Do that, which will remove the Linux partition, and you won't get any more error messages. The SD Card Formatter will do it for you. https://www.sdcard.org/downloads/formatter_4/ Or just plug it into a camera and format it via the cameras menu system.
      My Computer


  5. Posts : 3
    Windows 10 Pro
    Thread Starter
       #5

    alphanumeric, I do not understand why it happens on certain PC's like yours and mine and not on others, if they run the same configurations and system versions, and why If I format none existing E:/ drive it still shows 2 drives, only when I repartition or format boot as you said then I get one, but when I put Raspbian on it, it shows me two drives again. And I do not understand why I did not have this issue 10 days ago and I have been doing this operation for 5 years never had an issue and suddenly now I do.
      My Computer


  6. Posts : 15,037
    Windows 10 IoT
       #6

    It happens to me on any PC I plug that SD Card into. Except my Raspberry Pi. If I plug it into my Pi I get two prompts to open in file manager. One for each drive. Clicking format may be just formatting the Fat 32 partition, which won't get rid of the message. I've never done it myself, not that I can remember. Just doing a format will not repartition the drive, it just formats the existing partition, the Fat 32 one. Deleting all partitions lets windows use the full drive with just the one partition.
      My Computer


  7. Posts : 31,700
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #7

    uzierek said:
    ... I do not understand why I did not have this issue 10 days ago and I have been doing this operation for 5 years never had an issue and suddenly now I do.
    Could it be that you got the Creators Update 10 days ago?

    A little advertised change is that Windows 10 will now access multiple partitions on a standard usb flash drive.
    CU supports multiple partitions on a standard USB Flash Drive
      My Computers


  8. Posts : 18,434
    Windows 11 Pro
       #8

    Bree said:
    Could it be that you got the Creators Update 10 days ago?
    That's true. Windows versions before the Creator's update would only see the first partition on the card, and if the first partition was FAT32, no error because it would not even see the second partition on the SD card.
      My Computer


  9. Posts : 15,037
    Windows 10 IoT
       #9

    As far as I know I I've been getting that error message since I first started using My Raspberry Pi? Unless my mind is slipping? Anyway, my advice is still to just ignore it.
      My Computer


  10. Posts : 15,037
    Windows 10 IoT
       #10

    I also get a "There is a problem with this drive, scan it to fix it" message when I plug a thumb drive in that I have used on my raspberry Pi. I also ignore it. Those thumb drives only have the one fat 32 partition on them. Maybe that's the one I've been getting from day one? Starting to second guess myself now. Sucks to get old I guess, lol. I'm so used to just ignoring the message I don't read it anymore. I just close the message window.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 10:31.
Find Us




Windows 10 Forums