Re: format usb

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: kitepilot@kitepilot.com
Date:  
To: Main PLUG discussion list
Subject: Re: format usb
That's bad...
That suggests that the drive doesn't trigger udev, which most likely means
that is damaged, but a 'pull without mounting' would not do that, so:

BEFORE PLUGING IN THE DRIVE:
lsusb > /tmp/lsusb-b4.txt

AFTER PLUGING IN THE DRIVE:
lsusb > /tmp/lsusb-af.txt

sdiff -s /tmp/lsusb-b4.txt /tmp/lsusb-af.txt

If you see nothing, it's probably hosed...
ET



Michael Havens writes:

> well there is no difference between the two files.
>
> :-)~MIKE~(-:
>
>
> On Sun, Aug 25, 2013 at 4:38 PM, <> wrote:
>
>> Michael, I am no following the thread but:
>> BEFORE PLUGING IN THE DRIVE:
>> cp /proc/partitions /tmp/partitions
>> AFTER PLUGING IN THE DRIVE:
>> sdiff -s /proc/partitions /tmp/partitions
>> Whatever you see is your partition, then:
>> dd if=/dev/zero of=/dev/sd${YOUR_PARTITION_**THAT_YOU_FOUND_ABOVE}
>> Then create a new partition (cfdisk) and mk2fs it.
>> YMMV...
>> ET
>>
>>
>>
>> Michael Havens writes:
>>
>>> well.... I just went to officemax to see if windows could format it. it
>>> could not and the guys there said my drive was corrupted. So I bought a
>>> new
>>> one. I still have the 'corrupted' drive if there are any ideas out there
>>> in
>>> plug land about how to fix it. (it is so upsetting.... the drive isn't a
>>> year old yet)
>>> :-)~MIKE~(-:
>>>
>>> On Sun, Aug 25, 2013 at 12:16 PM, Brian Cluff <> wrote:
>>>
>>>> Pull the drive out and do:
>>>> cat /proc/partitions
>>>> Then insert the drive into your computer, count to 10 and run the above
>>>> command again. The new drive that shows up is the one you just inserted.
>>>> If you don't see any differences, run it again, the drive just might be
>>>> slow in connecting to you system. If it doesn't show up at all, it might
>>>> be damaged and isn't going to show up... try turning it off and back on
>>>> again :)
>>>> Brian Cluff
>>>>
>>>> On 08/25/2013 11:05 AM, Michael Havens wrote:
>>>>
>>>>> Well, I stuck a usb drive into the computer, opened a terminal, and
>>>>> copied files to it. Then I forgot to umount the drive and pulled the
>>>>> drive out. Now I need to format it and do not know how to do that. How
>>>>> do I see what the drive is being called when I stick it in?
>>>>> :-)~MIKE~(-:
>>>>>
>>>>> ------------------------------****---------------------
>>>>> PLUG-discuss mailing list - .****org<
>>>>> PLUG-discuss@lists.**phxlinux.org <>>
>>>>>
>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>> http://lists.phxlinux.org/****mailman/listinfo/plug-discuss<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss>
>>>>> <**http://lists.phxlinux.org/**mailman/listinfo/plug-discuss<http://lists.phxlinux.org/mailman/listinfo/plug-discuss>>
>>>>>
>>>>>
>>>>> ------------------------------****---------------------
>>>> PLUG-discuss mailing list - .****org<
>>>> PLUG-discuss@lists.**phxlinux.org <>>
>>>>
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> http://lists.phxlinux.org/****mailman/listinfo/plug-discuss<http://lists.phxlinux.org/**mailman/listinfo/plug-discuss>
>>>> <**http://lists.phxlinux.org/**mailman/listinfo/plug-discuss<http://lists.phxlinux.org/mailman/listinfo/plug-discuss>>
>>>>
>>>>
>>> ------------------------------**---------------------
>> PLUG-discuss mailing list - .**org<>
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/**mailman/listinfo/plug-discuss<http://lists.phxlinux.org/mailman/listinfo/plug-discuss>
>>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss