How to Recover Files Hidden by Virus in Pen Drive?

[dfads params=’groups=-1′]
 

memory-card

  1. Open Windows Command Prompt in elevated mode (for Windows 8, 7, Vista)
  2. Go to path of pen drive i.e. my case it is F, type f: and hit enter
  3. Type attrib -s -h -r /S /D and hit enter

 

[dfads params=’groups=-1′]

Disk /dev/sdb doesn’t contain a valid partition table in Linux

drive-not-formatted

[dfads params=’groups=-1′]

1. Run fdisk /dev/sdb

2. Create a new partition table with ‘o’

3. Create a new partition with ‘n’

4. Let it use the default values by hitting ENTER when it asks for numbers, to take the entire available disk in this partition

5. Write the new partition table with ‘w’, which should dump you back to the prompt.

6. Finally, you should have a /dev/sdb1 to format using the following command:

  sudo mkfs.vfat -n ‘Ubuntu’ -I /dev/sdb1

[dfads params=’groups=-1′]