1

Long story short I have a microsd card which was used as an installer for Ubuntu 22.04 LTS and somehow stopped working for anything else but "viewing" It has a 6GB persistent volume (casper-rw) which I think is the cause of all evil, even though I didn't have much problems with persistant usb drives in the past

gparted

diskmgmt

device properties

wth is LUN 0 anyway?

minitool part wiz

What I tried so far:


Any time I try to make any changes using Windows built-in tools it says it fails, while Minitool, mkfs, gparted & dd all claim success and reload, they still show the same partitions.

Would very much appreciate ANY help getting it back in working order

nichtNox
  • 562
  • 1
    Stop flailing. Doing several Windows & Linux "things" to the USB, then asking "what's wrong?" is silly. Use sudo lsblk -f to see the partitions. sudo umount each partition of the USB. Then, read man parted gparted and use gparted to repair the disk. – waltinator Jul 06 '22 at 23:58
  • @waltinator No mount points. And I was just trying my luck getting it to format in any way I'm familiar with – nichtNox Jul 07 '22 at 06:15
  • 1
    You can analyze your problem according to this link and, I hope, find a solution. Good luck :-) – sudodus Jul 07 '22 at 09:21
  • @sudodus Thanks for the exhaustive guide! The drive is recognized and I also believe (key word haha) it isn't read-only. I've tried everything laid out there, no-go. At least I learned a little on the way :) Currently trying to nuke it totally using mkusb-dus, if that doesn't work I'll try the dd command from the answer below yours – nichtNox Jul 07 '22 at 11:42
  • ^Still not working. trying to dd the whole drive again but now using bs=1, i don't really know if it will make a difference though – nichtNox Jul 07 '22 at 11:54
  • 1
    bs=1 will make it ridiculously slow, and maybe also cause excessive wear. I recommend bs=4096. – sudodus Jul 07 '22 at 12:05
  • If still no luck, I'm afraid that your pendrive is damaged beyond repair, maybe 'gridlocked'. – sudodus Jul 07 '22 at 12:10

1 Answers1

1

Try this.

Open applications -> type Disks and click on it to open,the program open with graphical interface with displaying all disks, select the erasing disk, under that use - sign to erase.

enter image description here

karel
  • 114,770
Kiran
  • 11
  • 1
  • That's a part of what I already tried, but I did it again just to be sure. For a second the app "flashes" as if the disk just completed deleting successfully and then just goes back to how it was – nichtNox Jul 07 '22 at 07:17
  • John if you try to use the - sign it will delete only the selected partition.instead that go to top of menu to right you can see three stars just place the mouse on it you will show the further option,in that choose format disk option. I think this will work. – Kiran Jul 09 '22 at 03:09