0

I used gparted and it says error opening /dev/sdc: No such device or address ! In Disks Ubuntu apps it show my usb drive and give me Error wiping device when I select format options:enter image description here

and when I open gparted its get me error opening my usb drive: enter image description here

and my question is: How to delete Unknown partiton and and make one whole partition?

Thank in advance !

3

1 Answer 1

2

Often the tools that create USB flash drives use dd or dd underneath to create a hybrid DVD/flash drive installer. That does not have a standard partition table, so then many partition tools do not correctly see flash drive. You usually can just erase with dd the beginning of drive where partition table is and then standard partition table tools like gparted, parted or fdisk will then work.

Reset USB flash that was dd'd to make it usable again, reuse

Formatting a USB stick - unable to operate USB &

https://help.ubuntu.com/community/mkusb#Re-use_the_pendrive &

https://unix.stackexchange.com/questions/216152/usb-disk-read-only-cannot-format-turn-off-write-protection

I do not like suggesting use dd as its nickname is Data Destroyer. If you select wrong drive, it totallly erases data. Check & double check you have correct drive. My system changes drive order on reboot with flash drive plugged in. So it may not be the same device, /dev/sdX when rebooted.

Zero out MBR and partition table, first sector only:
dd if=/dev/zero of=/dev/sdX bs=512 count=1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .