Please help me remove a volume in shell (terminal)

Discussion in 'Mac Basics and Help' started by Metal Storm, Jun 24, 2006.

  1. Metal Storm macrumors newbie

    Joined:
    Jun 24, 2006
    #1
    I canot delete some volumes i made other then in the terminal because I had formated them special for a dual boot that I am no longer going to do. I need terminal shell script to delete a volume. I looked it up online and in my linux books, but the syntex I use must be wrong. Please provide me with an example of the correct syntex to delete a volume thank you. I have worked with linux some, never mac. Thanks for your time.
     
  2. Metal Storm thread starter macrumors newbie

    Joined:
    Jun 24, 2006
    #2
    This is as far as I can get and there is a syntax error.

    Sudo diskutil eraseVolume disk0s3

    or

    sudo diskutil eraseVolume [MS-DOS FAT32] <disk0s3>
     
  3. Metal Storm thread starter macrumors newbie

    Joined:
    Jun 24, 2006
    #3
    /dev/disk0
    #: type name size identifier
    0: GUID_partition_scheme *55.9 GB disk0
    1: EFI 200.0 MB disk0s1
    2: Apple_HFS Macintosh HD 20.0 GB disk0s2
    3: Microsoft Basic Data FAT32 20.0 GB disk0s3
    4: Microsoft Basic Data FAT32 10.0 GB disk0s4
    5: Microsoft Basic Data 5.6 GB disk0s5
    ben-kitchens-computer:~ benkitchen$ sudo diskutil eraseVolume MS-DOS FAT32 /dev/disk0s3
    Password:
    Could not unmount disk for making it bootable
    The volume could not be made bootable during erase
    This new volume may not be bootable in the future
    Started erase on disk disk0s3 FAT32

    Erasing

    Mounting Disk

    Finished erase on disk disk0s3 FAT32
     

Share This Page