I just created a bootable USB Linux Mint image. Everything worked fine but now i cannot format my USB pend drive. I tried to use dd if=/dev/zero of=/dev/sdb
and udo mkfs -t vfat /dev/sdb
but these gives me an error:unable to open /dev/sdb: Read-only file system
.
I also tried to use the command sudo hdparm -r0 /dev/sdb
like it is suggested here, and this gave me the following output:
/dev/sdb:
setting readonly to 0 (off)
readonly = 0 (off)
But didn't solve the problem.
Do you have any suggestion to help me?
sudo
before thedd
command line)? Butdd
is a dangerous tool. I suggest that you usemkusb
, that wraps a safety belt arounddd
. See this link, https://askubuntu.com/questions/728289/re-use-of-ubuntu-live-usb/886786#886786 – sudodus Mar 19 '17 at 19:50sudo
for each command. Now I also tried mkusb but I have still the same error – Niles Mar 19 '17 at 21:06