Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: How do I remove a boot flag from a device?

14 Feb 2013   #1

Windows 7 Ultimate, final build
 
 
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
How do I remove a boot flag from a device?-winderps.png  
My System SpecsSystem Spec
.

14 Feb 2013   #2

Windows 7 x64 (SP1)
 
 

Use diskpart from the command line and use "clean" after selecting the drive. Be sure to select the correct drive before using clean!
My System SpecsSystem Spec
14 Feb 2013   #3

Windows 7 Ultimate, final build
 
 

Quote   Quote: Originally Posted by logicearth View Post
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 System SpecsSystem Spec
.


14 Feb 2013   #4

W7 Home Premium 32bit
 
 

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 System SpecsSystem Spec
14 Feb 2013   #5

Windows 7 Ultimate, final build
 
 

Quote   Quote: Originally Posted by pscowboy View Post
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 System SpecsSystem Spec
Reply

 How do I remove a boot flag from a device?





Thread Tools



Similar help and support threads for2: How do I remove a boot flag from a device?
Thread Forum
Solved Boot Priority & Boot Device Control for New SSD as boot drive Installation & Setup
Remove multiple entries in boot device list on Hp desktop windows 7 General Discussion
how remove readonly flag from shared folder Network & Sharing
Stumped - Add Device or Remove Device Not Working Hardware & Devices
Solved Remove local (boot) disk from device eject menu? General Discussion
Windows 7 logo/flag flashes during boot process BSOD Help and Support
can not remove device from device manager Hardware & Devices

Our Sites

Site Links

About Us

Find 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 03:21 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33