LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   how to get rid of a "full-disk filesystem" (https://www.linuxquestions.org/questions/linux-hardware-18/how-to-get-rid-of-a-full-disk-filesystem-423202/)

dadriver 03-09-2006 11:24 AM

how to get rid of a "full-disk filesystem"
 
i accidentally formated my whole usb-disk instead of a partition with "mkdosfs -I /dev/sda".
i tried to use fdisk to get rid of the filesystem but it didnt work. everytime i plug in the disk, the filesystem gets mountet but i cant read or write on it. could anybody tell me how to solve this problem? thanks

marozsas 03-09-2006 11:57 AM

1.Plug your usb-stick, let the system mount it.
2.Umount it.
3.Create a new partition on it. Mine looks like:
Code:

gold:~ # fdisk -l /dev/sdd

Disk /dev/sdd: 521 MB, 521142272 bytes
32 heads, 32 sectors/track, 994 cylinders
Units = cylinders of 1024 * 512 = 524288 bytes

  Device Boot      Start        End      Blocks  Id  System
/dev/sdd1  *          1        994      508911+  6  FAT16

gold:~ #

4. Create a dos filesystem on it

I hope this works,


All times are GMT -5. The time now is 01:45 AM.