Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Esutick

macrumors newbie
Original poster
Jun 4, 2012
5
0
the Netherlands
I have a 4GB Flashdrive, that turned into a 200mb drive because of Windows.( a long time ago) now I know on Windows I can use cmd and do a listdisk clean etc. but this doesn't work on WinXP.

I want to use the Flashdrive to install Win7 on a bootcamp, but somehow the Drive turned into a Volume and I am now clueless what to do. now I have winxp on virtualbox but it won't even find flashdrive when I use list volume in cmd.

I tried eraseVolume, don't know what happened..but I just want to make it a flash drive to boot the win7 iso with to install on my bootcamp, any help please?

Screenshots:
2ykkui8.png

x3s5r5.png
 
Your screenshot and output from the terminal doesn't show any flash drive.

It just shows your 500GB Hard Drive (disk0), which as normal shows a 200MB hidden partition (disk0s1) which is normally for the EFI (created as part of the GUID partition scheme), and the OS partition (disk0s2).
 
Your screenshot and output from the terminal doesn't show any flash drive.

It just shows your 500GB Hard Drive (disk0), which as normal shows a 200MB hidden partition (disk0s1) which is normally for the EFI (created as part of the GUID partition scheme), and the OS partition (disk0s2).
Ok, the weird thing is the disk0s1 showed that it had 4GB full capacity, that's why I thought it would be my flashdrive..
so how do I delete that 2mb partition, and how can I find my flashdrive..or is my flashdrive officially dead?
 
I would leave disk0s1 and anything else related to disk0 alone as thats your hard drive not the memory stick.

I notice you have VirtualBox, you will want to make sure it hasn't taken control of your usb devices, specifically the memory stick. So make sure it's closed. Then try diskutil list again and see if it lists a second disk. If it lists it it should also appear in Disk Utility and you should be able to format it.

I've had some odd occasions where I've needed to wipe the drive completely and then reformat, for that I've used something like "dd if=/dev/zero of=/dev/disk1", but for that the drive must show up in the diskutil list.
 
I would leave disk0s1 and anything else related to disk0 alone as thats your hard drive not the memory stick.

I notice you have VirtualBox, you will want to make sure it hasn't taken control of your usb devices, specifically the memory stick. So make sure it's closed. Then try diskutil list again and see if it lists a second disk. If it lists it it should also appear in Disk Utility and you should be able to format it.

I've had some odd occasions where I've needed to wipe the drive completely and then reformat, for that I've used something like "dd if=/dev/zero of=/dev/disk1", but for that the drive must show up in the diskutil list.
I've tried Diskutil list with Virtualbox completely shut down..still nothing of a flashdrive appears...
 
What type of flash drive? Where did you buy it?

http://figpond.com/

That's an excellent point. I once bought a 4 GB drive on ebay only to find it was a 256 MB drive "formatted" to look like it was 4GB. As soon as I copied 257 MB of files to the thing, it started having errors. The HK seller wanted me to pay to ship the worthless thing back. I refused to pay return shipping for fraud. I filed a claim and got my money back. In my case, the reason my usb stick turned into a 200 MB drive wasn't Windows or any OS, it was that when formatted properly it was really only a 256 MB usb stick.

@Esutick: As for using terminal to manage drives, I say find better method. If you don't (yet) realize how dangerous it is to do something to disk0, especially when it clearly shows it is 500 GB, not 4 GB, you really should avoid using the bash shell to attempt to manage a usb stick! If you don't want to be faced with a grey screen with a question mark saying "no operating system", stick with disk utility and avoid touching anything named Macintosh HD and anything Macintosh HD is indented below. In your screen shot, that would mean keep your hands off "500.11 GB WDC WD500" and everything indented beneath it as that is your operating system and user files and things can go terribly wrong very quickly if you start making changes to those items.

When I get a new memory stick or external HDD, the first thing I do is let Disk Utility format it HFS+. If it's big enough (8GB+) to use for an install disk, I make it GUID partition scheme HFS+. FAT32 is something I avoid unless I specifically want to share files across OSX and Linux or Windows.

In the screen shots you posted, your USB stick is not mounted. It should automount when you plug it in. If not, try looking for it in Disk Utility.
 
That's an excellent point. I once bought a 4 GB drive on ebay only to find it was a 256 MB drive "formatted" to look like it was 4GB. As soon as I copied 257 MB of files to the thing, it started having errors. The HK seller wanted me to pay to ship the worthless thing back. I refused to pay return shipping for fraud. I filed a claim and got my money back. In my case, the reason my usb stick turned into a 200 MB drive wasn't Windows or any OS, it was that when formatted properly it was really only a 256 MB usb stick.

@Esutick: As for using terminal to manage drives, I say find better method. If you don't (yet) realize how dangerous it is to do something to disk0, especially when it clearly shows it is 500 GB, not 4 GB, you really should avoid using the bash shell to attempt to manage a usb stick! If you don't want to be faced with a grey screen with a question mark saying "no operating system", stick with disk utility and avoid touching anything named Macintosh HD and anything Macintosh HD is indented below. In your screen shot, that would mean keep your hands off "500.11 GB WDC WD500" and everything indented beneath it as that is your operating system and user files and things can go terribly wrong very quickly if you start making changes to those items.

When I get a new memory stick or external HDD, the first thing I do is let Disk Utility format it HFS+. If it's big enough (8GB+) to use for an install disk, I make it GUID partition scheme HFS+. FAT32 is something I avoid unless I specifically want to share files across OSX and Linux or Windows.

In the screen shots you posted, your USB stick is not mounted. It should automount when you plug it in. If not, try looking for it in Disk Utility.

I bought it at a populair electronics store (something like a BestBuy but than Dutch)

It's the Dane elec 4GB
http://ak.buy.com/PI/0/500/204304884.jpg

the problem is: It used to be a 4GB usb drive. but before Mac OS 10.6.1 you usually got an error36 when you tried copying files from your computer to a FAT32 format USB. and the other way around, when mounting the USB in a PC with Windows XP/Vista/7 it would often ask to format it before you could use it, without formating it wouldn't open. when chosing format, it would only assign 200mb to it, so I always refused.

I have't touched that usb for a year or so because I got a External HD of 1T that I could easily format into 2 partitions: Mac journaled & Fat32.

But since I wanted to use the USB to put Windows 7.ISO on it to make the USB bootable, I mounted it into my mac. but my mac wouldn't recognize it, neither would Disk utility. so after some google-ing I came acros the diskutil list code. disk util list DID find my drive as a 4GB, only it was placed under disk0s1, saying the used capacity was 200MB, unmounting the drive made the disk0s1 disappear so it was only common knowledge that was the flashdrive. but somehow now it sees disk0s1 as a second partition of my main HD...No idea how that happened...so that's my whole issue!

I used the terminal because I know in Windows you can run cmd, use disk list, disk select and clean to format everything that was once assigned to the disk, using the diskmanager to reformat the disk to it's full capacity again (I did that last week to my friends external HDD, something like a normal format doesn't work) and I simply wanted to do the same to my flashdrive: Clear all the assigned formats and reformat it's full capacity again.


(and I know about the importance of the HDD..I do have a bit of mac knowledge by now after replacing my HDD and all that jazz...I just don't get why my flashdrive won't appear and USED to appear under my main HD)

So now I wonder, is my flashdrive dead?
 
I bought it at a populair electronics store (something like a BestBuy but than Dutch)

It's the Dane elec 4GB
http://ak.buy.com/PI/0/500/204304884.jpg

the problem is: It used to be a 4GB usb drive. but before Mac OS 10.6.1 you usually got an error36 when you tried copying files from your computer to a FAT32 format USB. and the other way around, when mounting the USB in a PC with Windows XP/Vista/7 it would often ask to format it before you could use it, without formating it wouldn't open. when chosing format, it would only assign 200mb to it, so I always refused.

I have't touched that usb for a year or so because I got a External HD of 1T that I could easily format into 2 partitions: Mac journaled & Fat32.

But since I wanted to use the USB to put Windows 7.ISO on it to make the USB bootable, I mounted it into my mac. but my mac wouldn't recognize it, neither would Disk utility. so after some google-ing I came acros the diskutil list code. disk util list DID find my drive as a 4GB, only it was placed under disk0s1, saying the used capacity was 200MB, unmounting the drive made the disk0s1 disappear so it was only common knowledge that was the flashdrive. but somehow now it sees disk0s1 as a second partition of my main HD...No idea how that happened...so that's my whole issue!

I used the terminal because I know in Windows you can run cmd, use disk list, disk select and clean to format everything that was once assigned to the disk, using the diskmanager to reformat the disk to it's full capacity again (I did that last week to my friends external HDD, something like a normal format doesn't work) and I simply wanted to do the same to my flashdrive: Clear all the assigned formats and reformat it's full capacity again.


(and I know about the importance of the HDD..I do have a bit of mac knowledge by now after replacing my HDD and all that jazz...I just don't get why my flashdrive won't appear and USED to appear under my main HD)

So now I wonder, is my flashdrive dead?

How many ways can I say leave that 200MB thing alone. It isn't something you should be tempted to mess with...

Code:
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.1 GB   disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                  Apple_HFS r0k Macintosh HD            499.2 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     Apple_partition_scheme                        *1.0 TB     disk1
   1:        Apple_partition_map                         32.3 KB    disk1s1
   2:                  Apple_HFS ExternalFWDrive                   1.0 TB     disk1s3
/dev/disk3
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     Apple_partition_scheme                        *3.4 MB     disk3
   1:        Apple_partition_map                         32.3 KB    disk3s1
   2:                  Apple_HFS Install Balsamiq Moc... 3.4 MB     disk3s2
/dev/disk4
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     Apple_partition_scheme                        *37.1 MB    disk4
   1:        Apple_partition_map                         32.3 KB    disk4s1
   2:                  Apple_HFS YamiPod (MacOS X)       37.1 MB    disk4s2

In this case my boot drive is disk0. Disk0 is almost always the boot drive. To further muddy the waters, any disk images I happen to have mounted show up on the list even though they are just dmg files sitting in my downloads folder.

Your memory stick definitely should NOT be showing up as disk 0. On my Mountain Lion test machine, I boot from an external drive so things are a bit more interesting...

Code:
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *320.1 GB   disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                  Apple_HFS r0k Macintosh HD            208.2 GB   disk0s2
   3:                  Apple_HFS r0k Macintosh HD 2          111.4 GB   disk0s3
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *160.0 GB   disk1
   1:                        EFI                         209.7 MB   disk1s1
   2:                  Apple_HFS r0k Old Macintosh HD    159.2 GB   disk1s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3
/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *8.0 GB     disk2
   1:                        EFI                         209.7 MB   disk2s1
   2:                  Apple_HFS Mac OS X Install ESD    7.7 GB     disk2s2

Now my boot drive is disk1

In this case, you see my usb stick shows up as disk2. Never disk 0 anything and I should add a USB stick can never show up as diskX where X is my boot disk.

Notice how I have a 200ish MB disk0s1? In fact I have them on every disk, even my 8GB ML install usb stick. I'm not even mildly tempted to mess with any of them!

Does this mean your stick is bad? I don't know. It's only 4 GB. For about 10 bucks you can get a new 8 GB stick and move on.

BTW, I also notice that sometimes if I format a usb stick on my Mac in "FAT" format, Windows machines can't see it. For this reason, if I buy a usb stick and I intend to share with Windows, I don't format it on OSX, I simply write to it from my Mac and if it ever needs formatting, I let Windows do that.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.