Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was trying to create a bootable USB to install Lubuntu using Startup Disk Creator and I accidentally tapped on the "Erase Disk" option.

Now Ubuntu 12.04 doesn't seem to read my USB drive anymore. I tried using GParted but it doesn't seem to recognize it either.

share|improve this question
    
It might be useful to see the dmesg output as you try different operations on you drive. Unplug your drive, open a terminal. Plug your drive back in and type dmesg into the terminal. Look for messages related to your drive to find out what the problem might be. –  nelaar Oct 5 '12 at 9:40

2 Answers 2

You may have lost the partition

  1. Open Disk Utility from Dash and select click on the partition that you would like to change, or on the unallocated disk space that you will be using for a partition. If the disk space is currently unallocated, it will be labeled "Unrecognized" in the Disk Utility

  2. Click the drop-down menu next to "Create Partition Table," and choose "Master Boot Record." Click the "Create" button at the bottom of the window.

  3. Click "Create." You will see a warning reminding you that this process will remove any existing data on the partition. If you are sure that the data on the partition (if any) has been backed up, click "Create" again.

  4. Enter your root password. The label for the hard drive partition will change to "Unallocated Space." Click it.

  5. Click the drop-down menu next to "Create File System" and click "NTFS."

  6. Type a label for the partition, if you would like to use one.

  7. Click "Create." You will see a warning reminding you that this process will remove any existing data on the partition. If you are sure that the data on the partition (if any) has been backed up, click "Create" again.

  8. Enter your root password. The NTFS partition is now created.

Read more: How to Create a NTFS Partition in Ubuntu | eHow.com http://www.ehow.com/how_5781942_create-ntfs-partition-ubuntu.html#ixzz28PnKfwqV

share|improve this answer
    
A great description on how to do so can be found here –  cauon Oct 5 '12 at 8:55
    
I tried it, the format option is grayed, whan I tap on it it says "error formating" –  Muhammad Oct 5 '12 at 8:59
    
@kamil I tried using testdisk, but it also failed to recognize the USB drive –  Muhammad Oct 5 '12 at 9:20
    
@kamil even Gparted, doesn't recognize the disk either –  Muhammad Oct 5 '12 at 9:24
    
do you have the same situation as here ubuntuforums.org/showthread.php?t=1609554#8 –  user91632 Oct 5 '12 at 9:32

Search for GParted in the Ubuntu Software Center and click on the button that says More Info. This will show you the GParted Partition Editor screen in the Ubuntu Software Center, and at the bottom of this screen is a section called Add-ons. Put a check mark in the checkboxes to the left of the three Gparted add-ons that are listed below, and click the Apply Changes button to install these three GParted add-ons:

  1. Device-mapper Software RAID support tool (dmraid)
  2. Guess PC disk partition table, find lost partitions (gpart)
  3. Read/write NTFS driver for FUSE (ntfsprogs)1

Then try formatting the USB flash drive in GParted again.

1The Read/write NTFS driver for FUSE is called ntfs-3g in Ubuntu 14.04.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.