The following are the details of the USB through ‘parted’:
# parted /dev/sdb GNU Parted 2.4 Using /dev/sdb Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) print Model: LEXAR JUMPDRIVE SECURE (scsi) Disk /dev/sdb: 518MB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 32.3kB 411MB 411MB primary fat16 type=06 2 411MB 510MB 98.7MB primary fat16 hidden, type=16
I want to remove the hidden flag, remove the two partitions and create a new, single partition. If I try any of these, or attempt to rewrite the partition table, etc, it just gives the error:
Error: Input/output error during write on /dev/sdb
Some history on this device:
The second partition used to be an encrypted partition that I had messed up as a little kid. I do not remember what I did to it though. I am attempting to recover it now.
Can someone help me out?