Autor |
Nachricht |
|
Titel: Formatting a USB stick?
Verfasst am: 27.08.2006, 15:39 Uhr
|
|
Anmeldung: 09. Feb 2006
Beiträge: 21
|
|
Something went wrong with my USB stick (1G Kingston Data Traveler), I can't delete files from it and it say it has a read-only file system. Is it possible to re-format it under Linux? If so, how do I do it? |
|
|
|
|
 |
|
Titel: RE: Formatting a USB stick?
Verfasst am: 27.08.2006, 17:10 Uhr
|
|

Anmeldung: 25. Mar 2005
Beiträge: 2133
|
|
First type
Code:
su
fdisk -l
to obtain partition information, e.g. sda1. Then try
Code:
mkdosfs -F32 /dev/sda1
|
_________________ And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
|
|
|
|
 |
|
Titel: RE: Formatting a USB stick?
Verfasst am: 27.08.2006, 23:53 Uhr
|
|

Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
|
|
Once I stuffed up my usb stick so bad, it wouldn't mount, and trying to format /dev/sda1 didn't work either (just produces a lot of errors). I had to do "cat /dev/zero >/dev/sda1" and start again ... that seemed to fix it, although I'm not sure if that was the right way of doing it. |
_________________ Linux is evolution, not intelligent design - Linus Torvalds
|
|
|
|
 |
|
Titel:
Verfasst am: 28.08.2006, 10:54 Uhr
|
|
Anmeldung: 09. Feb 2006
Beiträge: 21
|
|
Thanks!
I did what ockham23 and the device now works again!
Except, now it seems the mounting dialog in KDE takes forever to disappear, only after I move some files in or out of the drive's window. Hope it's okay. |
|
|
|
|
 |
|
Titel:
Verfasst am: 28.08.2006, 11:04 Uhr
|
|

Anmeldung: 25. Mar 2005
Beiträge: 2133
|
|
Please post /etc/fstab without the stick attached, and /etc/fstab and /etc/mtab with the stick attached. |
_________________ And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
|
|
|
|
 |
|