fungtszto

Q: Question about usb drive made with Boot Camp

When installing windows via Boot Camp, a usb is created which was used for installation.

 

Now that I have deleted the Windows partition, the usb is no longer needed.

 

The usb is called "WININSTALL" and a photo below are the files in the usb that can't be deleted.

 

Screen Shot 2016-04-02 at 9.02.52 pm.png

MacBook Air (13-inch Mid 2013), OS X Yosemite (10.10.5)

Posted on Apr 2, 2016 8:45 PM

Close

Q: Question about usb drive made with Boot Camp

  • All replies
  • Helpful answers

  • by Loner T,Apple recommended

    Loner T Loner T Apr 2, 2016 9:12 PM in response to fungtszto
    Level 7 (24,012 points)
    Safari
    Apr 2, 2016 9:12 PM in response to fungtszto
  • by XRiter,

    XRiter XRiter Apr 3, 2016 10:18 AM in response to fungtszto
    Level 1 (22 points)
    Mac OS X
    Apr 3, 2016 10:18 AM in response to fungtszto

    Try formatting your usb with Diskutility. That will erase all the files. (Choose OSX Extended (journaled)).

  • by fungtszto,

    fungtszto fungtszto Apr 4, 2016 11:32 PM in response to XRiter
    Level 1 (4 points)
    Windows Software
    Apr 4, 2016 11:32 PM in response to XRiter

    This Doesn't work

  • by Loner T,Apple recommended

    Loner T Loner T Apr 5, 2016 3:54 AM in response to fungtszto
    Level 7 (24,012 points)
    Safari
    Apr 5, 2016 3:54 AM in response to fungtszto

    Connect the USB to your Mac, and once connected post the output of the following OSX Terminal command.

     

    diskutil list

     

    You should see an entry for the USB. Note down the N in 'diskN' for it. Now you can run

     

    diskutil eraseDisk jhfs+ MyUSB diskN

     

    Please choose N correctly to ensure that you do not accidentally erase any other disk.

  • by fungtszto,

    fungtszto fungtszto Apr 7, 2016 12:36 AM in response to Loner T
    Level 1 (4 points)
    Windows Software
    Apr 7, 2016 12:36 AM in response to Loner T

    This doesn't work.

     

    I tried eraseDisk, eraseVolume and reformat, these 3, but none of them worked.

    Someone permission denied

     

    It said:

     

    Started erase on disk2s1 WININSTALL

    Unmounting disk

    Erasing

    newfs_msdos: /dev/rdisk2s1: Permission denied

    Mounting disk

    Error: -69832: File system formatter failed

  • by Loner T,

    Loner T Loner T Apr 7, 2016 6:16 AM in response to fungtszto
    Level 7 (24,012 points)
    Safari
    Apr 7, 2016 6:16 AM in response to fungtszto

    You need to erase an entire disk not a slice. Try

     

    diskutil eraseDisk fat MyUSB disk2

  • by fungtszto,

    fungtszto fungtszto Apr 7, 2016 8:20 AM in response to Loner T
    Level 1 (4 points)
    Windows Software
    Apr 7, 2016 8:20 AM in response to Loner T

    Neither.

     

    Started erase on disk2

    Unmounting disk

    Error: -69877: Couldn't open device

  • by Loner T,

    Loner T Loner T Apr 7, 2016 8:23 AM in response to fungtszto
    Level 7 (24,012 points)
    Safari
    Apr 7, 2016 8:23 AM in response to fungtszto

    Please connect the USB, and post the output of

     

    diskutil list

    diskutil cs list

  • by fungtszto,

    fungtszto fungtszto Apr 7, 2016 9:08 AM in response to Loner T
    Level 1 (4 points)
    Windows Software
    Apr 7, 2016 9:08 AM in response to Loner T

    My usb is called WININSTALL

     

    diskutil list: what comes out:

     

    /dev/disk0 (internal, physical):

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:      GUID_partition_scheme                        *251.0 GB   disk0

       1:                        EFI EFI                     209.7 MB   disk0s1

       2:          Apple_CoreStorage Macintosh HD            250.1 GB   disk0s2

       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

    /dev/disk1 (internal, virtual):

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:                  Apple_HFS Macintosh HD           +249.8 GB   disk1

                                     Logical Volume on disk0s2

                                     33F90395-AEEE-40A8-8537-AB1F61C16E7C

                                     Unencrypted

    /dev/disk2 (external, physical):

       #:                       TYPE NAME                    SIZE       IDENTIFIER

       0:     FDisk_partition_scheme                        *8.0 GB     disk2

       1:                 DOS_FAT_32 WININSTALL              8.0 GB     disk2s1

     

    diskutil cs list: what comes out:

     

    CoreStorage logical volume groups (1 found)

    |

    +-- Logical Volume Group 9E6DA4FC-5108-42EC-8A20-56C0805D068C

        =========================================================

        Name:         Macintosh HD

        Status:       Online

        Size:         250140434432 B (250.1 GB)

        Free Space:   18882560 B (18.9 MB)

        |

        +-< Physical Volume B505C9AC-7F1A-41D5-866F-0A049DD0DC6B

        |   ----------------------------------------------------

        |   Index:    0

        |   Disk:     disk0s2

        |   Status:   Online

        |   Size:     250140434432 B (250.1 GB)

        |

        +-> Logical Volume Family BA69AB4F-CDE9-4F88-A842-4EB4C5023B57

            ----------------------------------------------------------

            Encryption Type:         None

            |

            +-> Logical Volume 33F90395-AEEE-40A8-8537-AB1F61C16E7C

                ---------------------------------------------------

                Disk:                  disk1

                Status:                Online

                Size (Total):          249769230336 B (249.8 GB)

                Revertible:            Yes (no decryption required)

                LV Name:               Macintosh HD

                Volume Name:           Macintosh HD

                Content Hint:          Apple_HFS

     

    I was wondering why diskutil cs list command doesn't even mention disk2 ?

  • by Loner T,

    Loner T Loner T Apr 7, 2016 10:27 AM in response to fungtszto
    Level 7 (24,012 points)
    Safari
    Apr 7, 2016 10:27 AM in response to fungtszto

    1. Unmount disk2

         diskutil unmount disk2

    2. Check if the disk is still the same

         diskutil list

    3. Erase the disk

         diskutil eraseDisk fat MyUSB disk2

    4. Check the disk

         diskutil list

     

    Since disk2 has no CS LV/LVG, it will not appear in the CS list output.

  • by fungtszto,

    fungtszto fungtszto Apr 7, 2016 6:04 PM in response to Loner T
    Level 1 (4 points)
    Windows Software
    Apr 7, 2016 6:04 PM in response to Loner T

    First step is successful

    For further information, I only have the permission to read the disk, but I don't know why I can only read. This usb was made in Bootcamp assistant in my macbook.

     

    In the third step it is sill like that:

     

    Started erase on disk2

    Unmounting disk

    Error: -69877: Couldn't open device

  • by Loner T,

    Loner T Loner T Apr 7, 2016 6:31 PM in response to fungtszto
    Level 7 (24,012 points)
    Safari
    Apr 7, 2016 6:31 PM in response to fungtszto

    Please look in Applications -> Utilities -> Console logs and look for any disk-related errors.