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
-winderps.png  
My System SpecsSystem Spec
14 Feb 2013   #2
logicearth

Windows 8.1 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
No bootable device found-please enter a new boot device
Hi guys, im new here and i wish you can help me cuz im really stucked. I have a toshiba satellite L350, and it cant boot. Firstly there was just a blue screen and then it switched to a blaack screen and says no bootable device, please enter e now boot device. I knew my HDD was gone beause he...
Hardware & Devices
Boot Priority & Boot Device Control for New SSD as boot drive
After reading through lots and lots of posts and tutorials, I'm still a little confused. I worked for a carpenter one summer when I was a kid and he stressed the philosophy of measuring twice and cutting once as a rule to live by. So, before I fire up my saw, I thought I would seek a little...
Installation & Setup
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
Stumped - Add Device or Remove Device Not Working
HI I have searched high and low for a resolution. OK. When I went to add a new Bluetooth keyboard (Control Panel>Add Devices). When pressing Add Device, nothing happens. I have two Bluetooth devices already installed, are listed under "Devices" are "found" and work fine.
Hardware & Devices
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 23:27.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App