General :: Disk Recovery Using Testdisk

Jun 28, 2010

I was installing ubuntu and somehow formatted the D partition on my hdd. I have installed testdisk and have been running quick search and deep search. Testdisk found my partition as a NTFS (I used windows vista). When I press P to list files, testdisk gives me the following message: Cant open filesystem. Filesystem seems damaged.Is it possible to recover any data from the partition or is it lost?

View 2 Replies


ADVERTISEMENT

Hardware :: Partition Size Detected By Testdisk Bigger Than Disk Size

Mar 17, 2011

a client brought in an 160GB external HDD and wanted to get the files off it, there appeared to be no partitions on the disk but i thought it may have been formatted to use the whole disk. I tried to mount it as the various FS types the client thought it may have been to no avail.

I ran testdisk on it which told me that it previously had a mac partition table and a 210GB partition on it (which is larger than the disk) could anyone enlighten me as to whether or not this is even possible, and if so how could i retrieve the data?

View 2 Replies View Related

Ubuntu :: Make A Recovery Disk With Clonezilla?

Mar 18, 2010

I am a noob at Ubuntu. I currently have 8.04 and I am looking at upgrading to 8.10 and beyond. I want to make a recovery disk with Clonezilla so if something goes wrong with the upgrade I can go right back to where I am now. I have a 16 Gig thumb drive that I want to boot Clonezilla from. Then I want to burn an image to my DVD burner. I am stuck at one point in the process. I am reading the instructions from[URL]..

This part is where I am stuck is step 4.To make your USB flash drive bootable, first change the working dir, e.g. "cd /media/usb/utils/linux", then run "bash makeboot.sh /dev/sdb1" (replace /dev/sdb1 as your USB flash drive device name), and follow the prompts to finish that. My USB drive is named M-S325 so if I enter cd/ media/M-S325/utils/linux in terminal I get the error no such file or directory. I know it is something stupid simple I am doing wrong, but I am stuck. What do I need to do to make my UBD drive bootable with Clonezilla ?

View 9 Replies View Related

Ubuntu :: Data Recovery On My Broken Disk

Mar 22, 2010

A while ago my harddrive kinda failed. I didnt notice untill I got "Grub error 17" one time when I was trying to boot my computer. The problem is not really that I couldnt log on to my computer, but rather that I have alot of important information on the computer I would hate to lose. At the time I used Ubuntu 8.04 and had reiserfs filesystem on the computer. I bought a new computer and decided to wait untill I could rescue the data before doing to much dmg to it. But I dont really remember if I tried something to fix it before I realised that it was the harddrive and bad sectors that made me get gruberror 17. Hopefully I didnt do anything.

Anyway. Now today I had some extra time, so I decided to dive in. I booted from a linux mint disk and used ddrescue to transfer all the rawdata over the network to an image file laying on an ext4 drive. Once there I used reiserfsck to try and repair the filesystem. After that i mounted the image file and tried to access the files. Thats where the probelms started. I could see the whole treestructure of the harddrive and everything seemed ok, but when i tried to open the files, none of the pictures, documents and so on could be opend, and when I tried to open stuff like MP3 files they played quite strange. Videofiles was really messy, kept changing resolution and was almost always just gray and green squares on the screen. I decided to use ddrescue and move the files from the image file and on to a clean disk. So when I was done I could mount the filesystem on the new disk, but with the same resault, so I did reiserfsck again, and when that didnt help I did a buildtree also. Still with the same resault. So I decided to investigate the data abit. Opening files at random trying to understand what had hapend. And I saw that some MP3 files (the easiest to open) was some kind of mixing between several difrent mp3 files. Some files wasnt even in the same folder, so it was probably just that the file pointer was pointing at the wrong data on the disk. I dont know how that works really, so I dont know how to go on.

So now to the question. How do I get the data back? Have I done something wrong, can I redo somethig? I still have the broken disk and can take data from it once again, but I want to wait to do that untill I really know what to do. I also still have the image file, and the disk with the copied data. I have a ubuntu 9.10 system at my disposal atm.

View 5 Replies View Related

Ubuntu :: Photo Recovery After Disk Wipe

Mar 30, 2011

I recently installed ubuntu and completely wiped the disk with windows and everythingelse on it and now it seems I forgot to save a few important photos.

View 4 Replies View Related

Ubuntu :: MDADM RAID 5 Disk Failure And Recovery?

Jun 18, 2010

I have a fileserver which is running Ubuntu Server 6.10. I had a RAID5 array consisting of the following disks:

Code:
/dev/sda1
/dev/sdb1
/dev/sdd1
/dev/md0 -

the raid drive for the above three disks. The sda1 disk has failed and the array is running on 2 of 3 disks

/dev/sdc (OS disk)
/dev/sde (new 2tb disk - unused)
/dev/sdf (new 2tb disk - unused)

My plan was to rebuild the array using the two new disks as RAID1. Would the best way to do this be to create a new RAID1 disk on /dev/md1 then copy all data over from /dev/md0? Also - this may sound stupid but since all 3 drives in md0 are identical i'm not sure physically which disk is bad. I tried disconnecting each disk one-by-one then rebooting but the system doesn't appear to want to boot without the bad drive connected. I've already failed the disk in the array with mdadm but i'm unsure of how to remove it properly.

View 3 Replies View Related

Ubuntu :: Recovery From Harddrive With Full Disk Encryption ?

Jan 10, 2011

I have a bunch of pictures that I thought I had backed up but as it turns out I didn't, the problem is I formatted the drive they were on.

It is a 1TB hard drive, and it was running Ubuntu 10.10 using full disk encryption from the alternate install CD. After formatting, I installed Ubuntu Server 10.10, also using full disk encryption.

I know the encryption key for both installs (and the keys in fact are the same).

I have turned off the machine, and have stopped writing to the disk. I am hoping because it is a 1TB drive, and I have only written over it with 2GB of data, that there is a chance I can recover the data.

View 2 Replies View Related

Debian :: Reload Plasma From Backup After Recovery From Disk Crash?

Jan 19, 2016

After recovery from a disk crash, everything seems fine except that I have lost plasma. I have a backup. Is there a way to reload plasma from the backup? I can recover kde by reloading /home/.kde from the backup. But there is no .plasma file.

View 3 Replies View Related

Debian Configuration :: Raid 5 Recovery After Mistakenly Removing Disk?

Aug 12, 2010

I've got an 8-disk raid-5 setup, and one of the disks failed. I shut the system down, replaced it, and powered the box back on again. Then, I made a catastrophic mistake; I 'failed' and removed the wrong disk (should have been sdj1, and I typed sdk1 by accident). I tried to re-add sdk1 back to the raid array, but it got listed as 'spare'. My raid array is off-line, since I now have 2 disks unavailable.

I know that the data still exists on sdk1, is there any way I can get the raid array to recognise the fact that it's a valid part of the array, and not a spare disk? At least if I can do that, I'll have a degraded but accessible array, and then I can rebuild the array on the properly replaced disk.

View 7 Replies View Related

Fedora :: Hard Disk Data Recovery Of Ext2 And Ext3

Jul 1, 2010

I am student of MCS and working on final project. I am the user of windows xp. I am new in Linux. I am working on a project that titles "Hard disk data Recovery of ext2 and ext3 in linux". In windows, including dos.h and bios.h header files in program of c language I can send interrupt to bios and access most of the devices like parallel port, hard disks etc. But problem is that there is no bios.h and dos.h files in gcc. Now how can I access my hard drive using c program. How can I call int13h interrupt in linux or there is any other function in the linux to access the hard disk. In fact I want to access sectors of my hard disk using c language program. How can I do it?

View 2 Replies View Related

Ubuntu :: Move The Recovery Partition To The Beginning Or To The End Of The Disk Without Breaking It?

Mar 4, 2011

I have an Asus eeePC 1001PX which I have installed Linux to. With a 160 GB hard drive, space is limited, which makes it a problem for me that Asus has chosen to place the 16 GB Windows Recovery partition (which I intend to keep in case of emergency or sale) in the middle of the disk, essentially preventing me from partitioning the disk to my liking with one partition taking up the entire drive (except the space used by the recovery partition. Is there any way to move the recovery partition to the beginning or to the end of the disk without breaking it?

View 4 Replies View Related

Software :: Create A System Restore Disk Or Recovery Partition?

Dec 20, 2010

is there a way to create a system restore disk or recovery partition ? somewhat like windows has. I do back up my files regularly but a back up of entire os system and settings would be handy.running ubuntu 10.10

View 2 Replies View Related

Ubuntu :: Drive Formatted - Mount Partition For Disk Data Recovery

Nov 1, 2010

I accidentally formatted a 2TB drive of mine (big oops), but have recovered 2 of the 3 partitions using testdisk. My third partition is a LUKS encrypted partition. Testdisk managed to recover a piece of it, but it won't mount as most of it is unallocated. The partition originally occupied all space from sector 2,930,272,065 to the end of the disk -- sector 3,907,024,064. That is about 473 GBs. Currently, the partition only uses space from sector 2,930,272,065 to 2,930,288,129, about 7.84 MB.

The rest of the space is unallocated. Now what I need to do, is to expand the partition so that it occupies all the space that it used to. How would I do this? I cannot resize the partition, cause it would try to recreate the filesystem AFAIK and I don't want that, as it will fry my data. My data is not terribly important, but I would rather have it then not. I attached a screenie of kpartitionmanager. The partition in question is /dev/sdb2.

View 4 Replies View Related

General :: Restoring Partition Table - 'Testdisk' Not Working?

Jan 27, 2010

I was having trouble creating a USB Startup Disk in Ubuntu and used the command:

sudo dd if=/dev/zero of=/dev/sdb bs=1M count=1

This was a mistake as my USB flash drive was on /dev/sdc. If I am understanding this correctly, the command above deleted the MBR and the partition table. This disk had a single "/storage" partition on it. I googled a solution and found that the "testdisk" program seems to be the most popular solution for things like this. I ran it, selected an "Intel/PC partition" type, set the partition to a non-bootable primary Linux partition, wrote it, and rebooted.

Whenever I run:

sudo mount -t ext3 /dev/sdb1 /storage

I get:

mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so

Dmesg shows the following:

[20246.273941] EXT3-fs error (device sdb1): ext3_check_descriptors: Block bitmap for group 1 not in group (block 0)!
[20246.279376] EXT3-fs: group descriptors corrupted!

When I run:

sudo fdisk -l /dev/sdb

I get:

Disk /dev/sdb: 400.1 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

View 4 Replies View Related

CentOS 5 Hardware :: Hard Disk Crash / Data Recovery In RAID1 Webhosting Server

Feb 1, 2011

We have had a hardisk crash in our RAID1 webhosting server running CentOS5 and Plesk. We first realized something was wrong when our main site didn't load but showed MySQL errors. We then found out that the system was in read-only state. Something that also happened the day before yesterday, but we could fix with a FSCK. Then the system worked well til around 18 hours later when it crashed with the same sympoms. So, we rebooted the server and wanted to do a filesystem check again. But the HDD wouldnt even load. It was gone. Unfortunatelly it was not realized that the second disk in the system was also not working any more for some time now. Fortunatelly we had our main site backed up externally though. So we could re-install a fresh box and mounted the two drives to the system. We checked the harddisk. One is practically empty (the older one), the other has almost only files in 'lost + found' but these are all "numbered", no real filenames or so.

View 2 Replies View Related

Ubuntu :: Recovery Menu (in Recovery Mode) Does Not Work?

Aug 18, 2010

I've got a, as it seems to me, strange problem.I've inadvertently deleted my user from the group admin so I'm in the same situation of a lot of other users (read a lot of messages about it).My problem is that when restarted in recovery mode there is no way I can choose the 'drop to the root shell' or similar in the menu.The menu appears for a second and then I've got an empty screen. If I press a key I've been requested for a username and password that of course is not what I need.

View 2 Replies View Related

Ubuntu :: How To Get Testdisk To Work?

Jan 3, 2010

I'm new to Ubuntu and linux.I've altered the partition on my hard drive. Won't boot into windows. Do not have internet. Heard that testdisk should help. I have downloaded some testdisk files to a usb flash drive via another computer.Have ubuntu 9.10 DVD, so can use this.Step by step, how do I get testdisk to work?

View 9 Replies View Related

Ubuntu Installation :: How To Run Testdisk?

Mar 12, 2010

Recently upon running the palimpsest (in my 9.10 KK) test, i was shocked to be informed of some bad sectors on my toshiba laptop's HDD.i recall someone on this forum once suggested that the most reliable test for checking HDD consistency is the Testdisk application hosted on wikipedia etc.my problem is this- although i have downloaded Testdisk (through wikipedia) i dont really know what to do with it. i.e. how do i go about generating a report which will tell me the number of bad sectors etc and if they can be isolated.

when i ran the application all i could see were various leads about recovering an already corrupted hard drive or an accidently lost partition.so all i want to do is for Testdisk to analyse my HDD and tell me how healthy it is. but i can't seem to find the right steps to do this !

View 8 Replies View Related

Ubuntu :: Why Does Testdisk Say Structure Is Bad?

Feb 7, 2011

I recently installed windows 7 next to my ubuntu installation, I had to mess with partitions a bit to get it all to work, now I finally made it work, I can boot nicely from booth of them, but gparted doesn't show my partitions anymore (just says unallocated space), and when I try TestDisk to rewrite my partition table it says structure bad when I configure it as I like it.

Why is this not possible? Why is this structure bad, everything works ok atm, except that I can't change partitions or create new partitions because they're not recognized.

View 8 Replies View Related

Ubuntu :: Possible To Use Testdisk To Rewrite MBR?

Jun 14, 2011

Is it possible or wise to use a program like 'testdisk' running on an Ubuntu 32-bit system to rewrite the MBR of a Windows 64-bit system hard drive? I am only asking because I am cleaning someone's HDD after they got infected with a Trojan called "Dos/Alureon.A. They were worried that they might have to do a re-partition and clean install.

View 4 Replies View Related

Hardware :: Cannot Launch TestDisk

Jan 16, 2010

I am brand new at Linux and there are still lots of things I have to learn.And, therefore, I prefer to ask.(A friend of mine once said there were more dumb people than persons who ask.)Well, following suggestion from devils casper in a previous thread I installed TestDisk in my Fedora 12 system through the add/remove software tool.Now, I do not see how to launch the program.There is no call in any of the applications menus.

View 3 Replies View Related

Fedora :: Testdisk Recover Data

Jan 6, 2011

Because a customer of mine is inefficient in doing backups I have to do a recovery if possible. Drive had vista on it and was really bug infested to point of a reload. I reloaded vista from scratch and then my customer says "Oh, I guess I forgot to back those files up...".Is it possible to recover some files even though vista was reloaded? I suppose the basic answer is "As long as they havent been overwritten yet".

Im running testdisk and its made a ton of directories with files in them that I assume it has recovered. Im going to have to write a script I guess to grab the files as there are about 600 directories!I guess what Im asking is 1. What are my chances of success? 2. Has anyone ever recovered files from a vista re-install? 3. Is testdisk the best way of going about it (with photorec).

View 4 Replies View Related

Ubuntu :: TestDisk Cannot Find Partition To Fix

Apr 27, 2011

I messed up a 500GB USB hard drive by confusing it with another drive, accidentally trying to erase it, realizing my error and pulling out the cable in panic. Running Testdisk has found no partitions to fix. Photorec can find most of my files but sorting them out again is going to take weeks. Are there any methods I can use to try and save my folders/file system on the HDD? I'm very much a novice as far as partitions and file systems go.

View 9 Replies View Related

Ubuntu :: Using Testdisk To Recover One Of Lost Partition?

Jan 21, 2010

I was using testdisk to recover one of my lost partition and when I rebooted my system it says , "error unknown filesystem ".I am giving a screenshot of gparted

View 7 Replies View Related

Ubuntu :: Delete Recovered Files ( By TestDisk )?

May 1, 2010

I have used TestDisk to recover lost data. But it recover much more than I expect. So I wanna know how to delete those files.

View 2 Replies View Related

Ubuntu :: Testdisk--formatted Memory Stick, Won't Appear Anywhere?

Aug 1, 2010

I am using Ubuntu 10.04. I was having problems with bad sectors on a Sony memory stick--a couple of photos that we couldn't get off. So I installed testdisk and photorec and successfully got the photos off. That's the good news.

I decided I format the stick using testdisk. I unmounted it and formatted it (FAT) I don't know whether I re-mounted it, there was some message about rebooting.

In any event I now can't get the stick to show up *at all*, no matter what I do. testdisk doesn't seem to see it, it doesn't come up on my desktop when I plug the camera in. The camera doesn't recognize that it, my windows boxes don't see it either.

View 4 Replies View Related

Ubuntu :: Using TestDisk Software To Recover Files?

Aug 23, 2010

I am trying to recover data from my blackberry and a USB stick and after some research on the web I came through the Test Disk software which i just downloaded with Ubuntu Software Centre. I was looking to find information on how I could use this and recover files from my Blackberry and USB stick.

View 2 Replies View Related

Ubuntu :: Possible To Recover Home Partition Using TestDisk?

Aug 30, 2010

I have stupidly and inadvertently formatted my home partition on my other system while trying to 'downgrade' to Ubuntu 9.10. I have isolated the hard drive and am currently using Testdisk to discover the partitions on there. The scan hasn't yet finished however it appears there are two entries of each partition.

Here:
Linux 0 1 1 4012 254 57 64468776
Linux 0 1 1 4012 254 57 64468776
Linux 4013 0 1 14032 254 59 160971296
Linux 4013 0 1 14032 254 59 160971296
Linux 9079 0 1 14032 254 61 79586008 [home]
Linux 9079 0 1 14032 254 61 79586008 [home]

When attempting the downgrade, I was wanting to keep the home folder (and root and swap) all at the same size. I am pretty sure I fouled up by trying to revert the file system type to ext3 from ext4. Which partition out of the two 'home' ones, I should be attempting to keep? I cannot see a difference between them but this is how testdisk has reported the drive. Apart from the standard 'back up everything next time' and more fitting for me 'pack up your PC and never use it again!', does anyone have any specific advice on recovering my original home partition?

View 1 Replies View Related

Ubuntu :: Unable To See NTFS Partitions Even Using Testdisk

Nov 1, 2010

I was running Windows XP SP3 when one of my drives (or partitions) suddenly wasn't accessible. I booted into an old ubuntu Live CD I had (version 8.X) and tried mounting it. I could see the other partitions at this time. I rebooted the machine a couple of times (for normal reasons) and after a particular reboot none of my partitions were present! All seemed to have gone! I didn't do anything except mount the partition from Ubuntu Live CD. Made no write operations .

fdisk -l gives me this:

Code:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

to list the files and I get:

Code:

Can't open filesystem. Filesystem seems damaged.

I originally had 6 partitions (including my primary). What do I make of the above screen and how do I proceed? Mot of testdisk documentation says "Choose the paritions to recover..." but I do not have a partition. What do I do to recover my data? I don't mind reformatting my entire HDD, but I need to get some jpegs and movie files off it first.

View 8 Replies View Related

Ubuntu :: Using TestDisk To Recover Lost Partitions?

Nov 16, 2010

I had 10.04 installed in parallel with a bad windows OS. Used the 10.04 to pull the documents, pics, etc off of windows. Worked great. Then when I tried to delete the windows partition it screwed grub up an instead of just re-installing grub. I re-installed ubuntu, what the heck it was gonna get wiped anyway. I didn't back up the pics and documents. I did however have them in all the ubuntu folders for my pics etc.

I feel like total crap, anyway, how good of a chance do I have at getting something back with testdisk? After doing a "deeper search" I come up with multiple partitions but it won't let me restore all of them. I really dont care if I can't boot to a single one, just as long as I can get the data back. (always can use a live CD).

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved