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
BigBrother

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
logicearth

Windows 10 Pro (x64)
 
 

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
BigBrother

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
pscowboy

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
BigBrother

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
Thread Forum
Forget/remove unpaired Bluetooth device WDM shows BT Peripheral Device
I paired Microsoft Designer Bluetooth Keyboard and Mouse to my Windows 7 Professional x64 HP ZBook 14 which is connected to my company's corporate domain. Everything worked beautifully until they had to re-image my PC to resolve a disk encryption issue. That issue is resolved, but I have had bad...
Hardware & Devices
Windows 7 Boot Problem at Win7 Flag
I have 2 HD's with OS Win7 on both(dual boot). About 3 weeks ago my PSU (Cooler Master Real Power Pro1250-Watt Power Supply - SLI Ready, 80PLUC, 135mm Fan) started making a noise around the fan area. I noticed a lot of dust in the vent and blow it out and the noise went away a couple of days later....
Hardware & Devices
Remove multiple entries in boot device list on Hp desktop windows 7
Need assistance with this problem. When booting system sometimes I hit F9 to select boot device, when I want to boot from dvd or usb. Before you say I can list boot devices in bios I know this, the problem Is UEFI and Legacy my UEFI system is not secure boot and for whatever reason I have to F9...
General Discussion
Remove local (boot) disk from device eject menu?
I upgraded my sister's computer from Vista to 7, and now her boot disk shows up as an ejectable drive. how do I fix this, as I'm pretty sure Windows will become unstable if she accidentally ejects the boot drive
General Discussion
Windows 7 logo/flag flashes during boot process
Hi, I have a problem with windows 7 32 bit. When you start the pc the logo / flag flashes on Windows 7 and the whole pc goes crazy. I have already tried another power supply and the system re-installed but that brought nothing. Bios has also been updated and I have also made clear cmos. ...
BSOD Help and Support


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 11:09.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App