Go Back   MacRumors Forums > Apple Systems and Services > Windows, Linux & Others on the Mac

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 20, 2013, 02:37 PM   #1
MacHackPunk
macrumors newbie
 
Join Date: Feb 2013
Location: New Hampshire
ERASE partitioned Windows 7 USB Install Disk

Hello everyone, I am trying to ERASE a 8GB Kingston USB stick that came as a replacement OS for a Dell and contains Windows 7. It's much more useful to me as an empty disk.

The Disk is formatted into two partitions, one of which I have successfully erased. I'm familiar with a variety of the diskutil commands in terminal and have been trying my hardest to erase it through there, as the actual diskutility can't do anything to it.

When I type diskutil eraseVolume or diskutil mergePartitions (with all the proper format and locations following the command) I get an error message that tells me "Couldn't modify partition map" I have included screenshot for your convenience.



If someone could please tell me how to bypass this anti-erase junk it would be much appreciated! I just want to erase it and merge the partitions!
MacHackPunk is offline   0 Reply With Quote
Old Feb 20, 2013, 03:37 PM   #2
drambuie
macrumors 6502a
 
Join Date: Feb 2010
Have you tried to erase it using Windows? You didn't say what model it is, but Kingston has extensive FAQs for their various USB flash drives, including solutions for issues with OS X.
drambuie is offline   0 Reply With Quote
Old Feb 20, 2013, 05:16 PM   #3
Quad5Ny
macrumors 6502a
 
Join Date: Sep 2009
Are you sure none of the OS X tools work?

Assuming they don't, here is how to erase, initialize, partition and format it on Windows Vista/7/8:
  1. Click the Start button
  2. Type "cmd"
  3. Right click "cmd" and choose "Run as a Administrator"
  4. In the now open Command Prompt type:
    • diskpart
    • list disk (make note of which disk is your flash drive)
    • select disk # (where # == your flash drive)
    • clean (this will completely erase the ThumbDrive)
    • convert mbr
    • create partition primary align=4096
    • active
    • format fs=FAT32 unit=4096 label="Kingston" quick override
    • assign
    • exit
    • exit

Last edited by Quad5Ny; Feb 20, 2013 at 05:21 PM.
Quad5Ny is offline   0 Reply With Quote
Old Feb 20, 2013, 06:09 PM   #4
MacHackPunk
Thread Starter
macrumors newbie
 
Join Date: Feb 2013
Location: New Hampshire
I am no good with a PC and don't have easy access to one. When I went to the Kingston website they don't have the USB drive I have listed, it came as a Windows install, with the serial number and barcode on it (like the OS sticker on the bottom of a PC laptop). I didn't turn it into one myself. The install files of the DELL_OS_HP disk seem to be protected, when I click get info the permission is set to read-only and there's no way to edit it.

I'm basically looking to see if there's a terminal command i can use to ignore/remove the protection that keeps me from modifying the drive.
MacHackPunk is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Windows, Linux & Others on the Mac

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
The Startup Disk cannot be partitioned Apples555 Windows, Linux & Others on the Mac 15 Jan 1, 2014 11:49 PM
help please;copy windows 7 onto usb from disk for imac without disk drive help please samich08 Windows, Linux & Others on the Mac 3 Aug 18, 2013 01:09 PM
Install USB from disk image? davewill2010 OS X 4 Feb 20, 2013 02:24 AM
Renaming ML install partition on USB disk parish OS X 10.8 Mountain Lion 3 Aug 2, 2012 11:40 AM
USB-based install of Windows 7 on 2012 MBA - Choice of USB seems to be sensitive kylera Windows, Linux & Others on the Mac 5 Jun 30, 2012 01:57 PM

Forum Jump

All times are GMT -5. The time now is 01:34 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC