LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to use TestDisk for recovering my USB thumb drive (https://www.linuxquestions.org/questions/linux-software-2/how-to-use-testdisk-for-recovering-my-usb-thumb-drive-737923/)

WillingToLikeLinux 07-05-2009 10:43 PM

I'll start over again and use TestDisk. So far, I don't know which partition table is for a 4G thumb drive. I don't use Intel cpu.

Code:

Please select the partition table type, press Enter when done.
[Intel  ]  Intel/PC partition
[EFI GPT]  EFI GPT partition map (Mac i386, some x86_64...)
[Mac    ]  Apple partition map
[None  ]  Non partitioned media
[Sun    ]  Sun Solaris partition
[XBox  ]  XBox partition
[Return ]  Return to disk selection


unSpawn 07-06-2009 02:57 AM

Quote:

Originally Posted by WillingToLikeLinux (Post 3597902)
You know, one of the popular ways to explain and translate Classical Chinese at a glance in a form of basic sequential logic formula.

If UNIX was developed with Classical Chinese in mind then GNU/Linux intricacies might have been "explainable at a glance in a form of basic sequential logic formula". But it isn't. So get with it. You're distracting yourself, and with all due respect, unnecessarily so. Because all you need to know to make this backup is the device name of your USB stick (in your case: /dev/sdb) and the mount point to write to.
- In your case the mount point to write to will be "/tmp" since your "fdisk -l" output shows you have only one partition (/dev/sda1) which is mounted at mount point "/".
- In your case the device name of your USB stick is "/dev/sdb" since your "fdisk -l" output shows /dev/sdb1 to be formatted with FAT.
This means the commandline you can use reads: 'sudo dd_rescue -l /tmp/stick.log -o /tmp/stick.badblocks -A -f -v /dev/sdb /tmp/stick.dd 2>&1 | tee /tmp/stick.tee'.


All times are GMT -5. The time now is 03:12 PM.