How do I remove a boot flag from a device?


  1. Posts : 29
    Windows 7 Ultimate, final build
       #1

    How do I remove a boot flag from a device?


    I'm trying to reformat an SD that I used for a Raspberry Pi but the main partition has a boot flag. Windows thinks the user is an idiot so I can't delete that partition so I can join it up with the other 14.81GB. I do not want to shutdown and boot into GParted just for this one thing- that's silly.
    Attached Thumbnails Attached Thumbnails How do I remove a boot flag from a device?-winderps.png  
      My Computer


  2. Posts : 5,642
    Windows 10 Pro (x64)
       #2

    Use diskpart from the command line and use "clean" after selecting the drive. Be sure to select the correct drive before using clean!
      My Computer


  3. Posts : 29
    Windows 7 Ultimate, final build
    Thread Starter
       #3

    logicearth said:
    Use diskpart from the command line and use "clean" after selecting the drive. Be sure to select the correct drive before using clean!
    Having to use the command line when Windows is predominantly GUI-based. Oh, Microsoft... will you ever get it right?

    How do I do it?
    Code:
    cd H:\
    diskpart
    clean
    or
    Code:
    diskpart
    clean H:\
      My Computer


  4. Posts : 233
    W7 Home Premium 32bit
       #4

    In an "elevated" (run as administrator) command prompt, you type diskpart

    After it loads, type list disk. See what # the disk is that you want to work on.
    Then type select disk #, plugging in that #.

    When diskpart tells you that the disk is selected, type clean
      My Computer


  5. Posts : 29
    Windows 7 Ultimate, final build
    Thread Starter
       #5

    pscowboy said:
    In an "elevated" (run as administrator) command prompt, you type diskpart

    After it loads, type list disk. See what # the disk is that you want to work on.
    Then type select disk #, plugging in that #.

    When diskpart tells you that the disk is selected, type clean
    thanks, it worked.
      My Computer


 

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

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