I am having problems with my USB stick. From the disks utility I can see its size, model and Serial Number but I can't make a NTFS partition on it. Previously I had another problem with the same USB stick here. How can I fix it?
$ sudo mkfs -t ntfs /dev/sdb
/dev/sdb is not a block device.
Refusing to make a filesystem here!
Wipe the first mibibyte
First you can wipe the first mibibyte with mkusb. This can remove data, that might confuse the tools, that you want to use later.
If you run standard Ubuntu live, you need an extra instruction to get the repository Universe. (Kubuntu, Lubuntu ... Xubuntu have the repository Universe activated automatically.)
Create partition table and file system
I suggest that you first create a partition table (new GPT or old MSDOS), and then create a partition
/dev/sdb1
, and then create a file system in the partition.You can do it with command line tools,
fdisk
orgdisk
depending on which partition table you want, and thenmkfs
You can do it easier with
gparted
, if you have a graphical desktop environmentFinal comment
If the actions above do not work, I think the drive hardware is damaged.