Recover a mistaken swap-formated USB-HD


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 1  
Recover a mistaken swap-formated USB-HD

Hi!
Installing the debian wheezy by netinstall my external USB-HD (2TB) is erroneously completly formated as swap-filesystem. I was to lazy to disconnect the USB-HD, so now i could kick myself .
Is there any chance to rescue the data. I tried to find a way by using
gparted: the whole HD is swap-fs. I only check with gparted, i didn't do any format-action.
and
testdisk. analyze and deeper search

both only see swap-fs and testdisk cant find anything.
I need a helping hint, because i need urgently some of the primary stored backup-data.

thanks in advance
IMPe
# 2  
I'm afraid you're out of luck:
1) If set up as a swap device, chances are it has been used during install, so data, or, even worse, structural data, have been overwritten.
2) Should some of your old data blocks still reside on disk, it would be extremely difficult if not impossible to put them back to your original files in correct order, esp. as they may well be binary / compressed data.
This User Gave Thanks to RudiC For This Post:
# 3  
Quote:
Originally Posted by RudiC
I'm afraid you're out of luck:
1) If set up as a swap device, chances are it has been used during install, so data, or, even worse, structural data, have been overwritten.
2) Should some of your old data blocks still reside on disk, it would be extremely difficult if not impossible to put them back to your original files in correct order, esp. as they may well be binary / compressed data.
Thanks RudiC for giving me certainty!

IMPe
# 4  
You might be able to use magicrescue or photorec to recover scattered files from it, but this will be patchy at best and useless at worst for the reasons Rudic gave. These tools just look at raw blocks for recognizable jpeg headers and the like -- they cannot recover fragmented or unidentifiable files.
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #474
Difficulty: Easy
Binary numbers are expressed in terms of a power of 2 instead of a power of 10.
True or False?

7 More Discussions You Might Find Interesting

1. HP-UX

Swap device file and swap sapce

Hi I have an integrity machine rx7620 and rx8640 running hp-ux 11.31. I'm planning to fine tune the system: - I would like to know when does the memory swap space spill over to the device swap space? - And how much % of memory swap utilization should be specified (swap space device... (6 Replies)
Discussion started by: lamoul
6 Replies

2. SCO

Occasional Core Dump with hot swap USB Thumb Drive

Hello Unix World, I've been having this issue for the longest time. Here is my setup OS: SCO OpenServer 6.0 with mp4, mp3 Server: Dell PowerEdge 840, 800, 2900 USB Stick: Patriot 16GB High Speed, and many other different brands. Occasinaly while system is running and USB is pluged in the... (0 Replies)
Discussion started by: miles556
0 Replies

3. Shell Programming and Scripting

Create a formated text file

Hi, I have written a BASH shell script (included below) which will allow me to monitor my blood pressure. The script computes the mean of 5 user input systolic, diastolic, and heart rate values. I would like the script to then append these three values to their respective columns in a text... (5 Replies)
Discussion started by: msb65
5 Replies

4. Shell Programming and Scripting

awk to find a formated o/p

hi i have a file which is having a.txt name aaa work business emp since 2oct office delhi name aba work business emp since 6oct name abc work shopper emp since ... (5 Replies)
Discussion started by: aaysa123
5 Replies

5. Shell Programming and Scripting

processing tab-formated output of command w/bash

I have a command that when ran it will have an output such as string LongerString string2 longerString2 More MoreStrings seperated by tabs. The command lists domains and their accounts set up in my server admin software (interworx). The end result will be that it will run rsync for... (2 Replies)
Discussion started by: sweede
2 Replies

6. Windows & DOS: Issues & Discussions

1.44mb disk formated = 1.38mb left??

I was formating a couple of floppy disks, to make room for a ftp install of suse. However, the files you are suposed to put on the floppys are 1.4 mb. I thought "Fine, I have a 1.44 mb disk here". But appearantly windows uses 600kb on....tmp files or something. If anyone knows how I might fix... (4 Replies)
Discussion started by: G-wizz
4 Replies

7. SuSE

Disk Formated with NTFS

HI All, My pc has two disks, One disk loaded with windows NT 2000 and redhat linux 7.2 dual boot. Another disk 80GB added and formated with NTFS file system. How to access the 80GB NTFS file system disk by booting linux os. Thanks in advance Bache Gowda (4 Replies)
Discussion started by: bache_gowda
4 Replies

Featured Tech Videos