Hardware :: Testdisk Fails To Find Lost Partition?
Jan 12, 2010
I resized my root partition yesterday to make it include the unused 28GB at the end of my drive, but something went wrong and now I can't mount it again.. I think this has to do with the computer coming with Vista preinstalled and the partitions not being aligned to cylinders. This is what the partition table looked like before the resize (according to fdisk):
Code:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xdec3533c
[code]....
None of the last two partition schemes works, when I try to mount sda6 I get an error saying that the XFS superblock contains an invalid magic number. I've tried running xfs_repair on it, but even though it found a few secondary superblocks it couldn't verify them. I've tried running testdisk with the "Cylinder boundary" option set to "no", but it would not find my root partition... The log from the search is here I don't really care about the other partitions, all I need is my old root partition so that I can copy all the important stuff to another drive and then start from scratch with a new partition table (and remove the recovery partition aswell since I don't need it).
View 7 Replies
ADVERTISEMENT
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
Mar 8, 2010
My main partition having all my data like movies, music, files,etc has become inaccessible. Its file system was NTFS. Due to some recent resizing using GParted, the partition as well as my WIndows 7 OS has become unbootable due to some errors. The data partition's file system has become unknown. I don't care much about the OS but I would like to recover my drive. I am trying to achieve this using Testdisk and Photorec but haven't met with much success so far. The main problem is I can see my partition and all my files through Testdisk but I am not able to copy them to another drive. When I try to copy the option I get is of copying them to the DVD and not to any other partition.
View 4 Replies
View Related
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
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
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
Apr 29, 2010
I'm not sure exactly how, but somehow one of my partitions was corrupted yesterday (GParted showed it as unallocated space). I tried using testdisk. It found the lost partition, so I happily let it rewrite the partition table. The lost partition did return, but then I found out another partition has disappeared (the one most important to me) and in its place there is an empty NTFS partition and an empty ext3 one (the original was an ext4.
The two new partitions seem to be those that were merged to form the ext4 partition). I tried testdisk again. When I run "testdisk /dev/sda" and choose "Analyse" the incorrect partition table is detected. I tried running "testdisk /dev/sda5" (sda5 is the NTFS partition) and it finds a partition labeled "magic" which is the name of the lost partition but testdisk cannot recover it. I get this:
Code:
TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <grenier@cgsecurity.org>
[URL]
Disk /dev/sda5 - 47 GB / 44 GiB - CHS 5823 255 63
The harddisk (47 GB / 44 GiB) seems too small! (< 75 GB / 70 GiB)
Check the harddisk size: HD jumpers settings, BIOS detection...
The following partition can't be recovered:
Partition Start End Size in sectors
Linux 0 1 1 9137 234 56 146800640 [magic]
EXT4 Large file Sparse superblock, 75 GB / 70 GiB
I tried deleting the second partition and moving the one after it so that there is 75GB available but it didn't help. I have lost worth of a year of my work. The worst thing that could ever happen to me!
View 5 Replies
View Related
Aug 8, 2010
I tried to install Ubuntu next to XP. After restart - no XP and no Ubuntu. Something wrong with loader I guess, I see command line prompt (of the loader I guess).
So I restarted from liveCD. But no "Repair Install" option like in XP CD. So, I deleted partition to install again on top of old, then learned a loader possibly could be fixed.
So, the problem is: testdisk cannot restore partition I deleted. I didn't write on disk anything. May be swap space after couple reloads from liveCD corrupted it?
It complains "The harddisk (...) seems to small!", it sees some other partitions and doesn't see what Gparted and Disk Utility.
Let me know the best approach to get back XP running (having Ubuntu would be good too).
Here below are the screen captures for details.
Quich Search results. Can't recover what's found. Why 4 partitions are found? Notice, "The harddisk seems too small !" Could this be a problem? HDD is not Maxtor anymore
The gap is there but no deleted partition shown
Essentially same thing... going for deeper search
Deep Search hasn't recover anything new. And shows same results as Quick Search (2nd testdisc image )Hit "continue"...
Now the partitions shown as deleted because of overlapping. The partition to be recovered is still not in the list.
Anyway, my final goal is to get WinXP back and if possible, install Ubuntu. It's nice that installer still sees the XP. Too bad the loader doesn't. how to get it done.
Unlike during installation of XP, ubuntu doesn't offer to utilize the deleted partition. Is it going to stay empty/unallocated? Forget the empty space, will I get XP running if I continue and install?
View 9 Replies
View Related
Apr 1, 2011
I ran testdick on a apple hard drive to find the tables. It looks like it found it, here's the log:
Quote:
Tue Mar 29 12:02:56 2011
Command line: TestDisk
TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <grenier@cgsecurity.org>
[Code]....
How do I restore the table using fdisk? Gparted doesn't let me check the drive. It just says unallocated space, create a table and erase all data.
View 3 Replies
View Related
Oct 8, 2010
I had a tri boot of Win 7 /XP and Mint...I was using EasyBCD 2.0 as a boot manager...I booted Mint by configuring the NeoGrub option in Easy BCD..I wanted to uninstall Win 7 and so what I did was the following
1. Edited BCD bootloader settings ...Marked XP as my default and deleted Win 7 entry...
2. Logged out and wiped my Win 7 partition
With my fingers crossed , i rebooted but Easy BCD booted flawlessly with 2 choices XP and Mint(GRUB)...As Easy BCD is not meant for XP, I thought of restoring original NTLDR of XP so that things would be in place and thinking that this cud avoid problems of detection by other Linux OS I deleted manually the Easy BCD menu.lst file and NeoGrub.mbr in my root...That was it , after I rebooted, I got boot screen of EasyBCD but whichever option I select,I got an error message that address not Valid-NTLDR not found or something like that I booted my XP live CD and like many times before ran
1.Fixmbr
2.Fixboot
3.bootcfg /rebuild
After that , now when I reboot , I am getting "Invalid Partition Table" On booting from a linux CD , I can see the files are in place..I have to get boot sector and partition table fixed...
View 2 Replies
View Related
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
Jul 16, 2010
Something bad happened to my partition table,so right now I'm working from a Live CD. My partition table is completely screwed, although the data on the lost partitions hasn't been overwritten. I've been messing around with TestDisk for about an hour, but I still didn't figure out how to fix my problem. Before the crash, I had 5 partitions:
NTFS - 30GB
NTFS - 8GB
ext4 - 20GB
and here comes the extended partition:
linux swap - 8 GB
NTFS - 400GB
TestDisk can see all those five partitions. I can mark swap as Logical, but I can't do so with the 400GB NTFS partition - there is just no selection. Turning on "expert mode" didn't help. I have read about using sfdisk to fix partition table, but I don't think I'm able to do it by myself.
Here's how it looks in TestDisk:
Code:
Disk /dev/sda - 500 GB / 465 GiB - CHS 60802 255 63
Partition Start End Size in sectors
D HPFS - NTFS 0 1 1 3915 254 63 62910477
D HPFS - NTFS 3916 0 1 4959 254 63 16771860 [Windows XP]
[code]....
I've filled sizes according to TestDisk's findings. First 3 partitions were OK, the problem lies in the extended partition holding 2 logical ones. By the way, TestDisk is able to enter the 400gb partition and see the files.
View 2 Replies
View Related
Nov 1, 2010
I got ubuntu 10.04 lucid lynx along with windows (dual boot) and using Grub. On my computer, I have my C:/ (programs) and D:/ (data). I've never used my D:/ before that day that I've lost my windows partition on my grub menu. I usually use my D:/ with windows. The first time I used my D:/ to store data with linux, I lost my windows option in my grub menu. I'm not sure what I did wrong but I do want to restore my windows option in my grub menu.
After "fdisk -l",
I checked in /boot/grub and there is no menu.lst to modify. how I can get back my windows option in my grub menu ?
View 24 Replies
View Related
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
May 9, 2010
I was messing around with my monitor settings in Ubuntu 10.04 [The first time when everything worked right away with my system!], and I stupidly deleted all the applets in the upper panel, and now I can't find them anymore. I looked though the applet selection screen, and I couldn't find the sound applet, the all-in-one power off/log out/switch user applet, or the email/chat applet. How do I get these applets back on my top panel?
View 2 Replies
View Related
Nov 29, 2010
I need a way to recover my Windows partition that was completely repartitioned when I originally moved to Ubuntu.
When I first moved to Ubuntu 8.04, I somehow overwrote my Windows partition. It happened on a laptop and since then, I've purchased a new one so I can now go back and attempt to unzip the partition holding 10.04 and get to the files I had under Windows.
View 6 Replies
View Related
Jun 14, 2011
I was trying to resize to the left the sdb5 partition where ubuntu is/was installed and things got messy. I lost the partition it was unallocated. Next "cleverly" used livecd and reinstall ubuntu (thinking it was just like a repair the system thing) but instead ubuntu install from new...all my data is lost...gone with the wind. I try sadly enough testdisk but it says partition corrupted impossible to recover. Now the whole disk shows as unallocated in gparted.
I am running ubuntu from a second hard drive and strange enough my windows 7 partition with files is save and sound. I wonder if there is anything I can do to recover my files (guess the enitre partition now is lost). I try photorec and no files were able to recover then try scalpel and it says files were not find or couldn't read the partition. Of course "cleverly" I didn't had a recent back up of my files. Now I cant access the new ubuntu partition that still in sdb5 at boot takes me directly to windows 7.
View 3 Replies
View Related
Apr 5, 2011
then I tried to move something to a workspace and it got locked into opening every time i opened firefox,. I tried to fix that and because i have no idea what i am doing whatsoever i lost the whole bottom panel. I can hear music playing from two different minimized windows,... but cannot find them to close them.. Can not even see them
View 4 Replies
View Related
Jan 20, 2010
I deleted my hard disk , where I had a triple boot of vista, ubuntu and kubuntu after hours of work , I was not able to recover my ubuntu partition and lost everything .Now I need to recover some of my partitions .I am running a live cd
The output of fdisk -l is
How to use parted to rescue my partition , gparted shows the enitre disk as unallocated.
View 6 Replies
View Related
Feb 26, 2011
I'm using Windows 7 and Ubuntu in two differents partitions in my hard drive. I was on Windows 7 and decided to reboot. When the grub screen should have appeared, instead the computer rebooted itself. It continues to do so. I put Ubuntu 10.10 Live CD and it keeps "loading" forever, but doesn't hang. In the console, it said something like "input/output" error. I tried with my Win 7 DVD and it was the same: it doesn't reach the part where it shows the menu with all the installation options.
I tried with Gparted and it loaded fine. It showed all my partitions, but there wasn't (I think) more that I could have done with it. I tried then user Super Grub Boot. I finally could enter Ubuntu. Everything is fine except that it doesn't show my Window partition. It's like it doesn't exist anymore, so I can't backup my files. Now, I haven't tried loading Win 7 from Super Grub Boot (I'm going to do it just as soon as I post this), but this is pretty weird. Anyone have any idea what is going on and what can I do to this this?
View 5 Replies
View Related
Jul 28, 2011
I have a PC, with 1 HD of 500GB and the following partitions:
Windows XP - NTFS 50 GB
Windows 7 - NTFS 350 GB
Linux Ubuntu - 98 GB
Linux swap - 2GB
The last OS that I have installed was Windows 7, and each time, when I started up my PC, I saw GRUB first, and after choosing the option to load windows, the Windows loader giving me 2 options, one for Windows 7 and one for Windows XP. I didn't like to see first GRUB and after that the windows loader, it was redundant, but everything was working well. One day, I decided to mix the windows 7 and the windows XP partitions (deleting the windows XP and resizing windows 7). I tried to do that with the Windows 7 utility included in the control panel but I couldn't. It said that I couldn't delete the active partition or something like that. It was not possible to delete the partition in which WinXP was stored.
Then, I decided to boot with Ubuntu and use the partitioning tool that comes with it to delete the WinXP partition. It was possible to delete the partition, and I also putted the option "bootable" on the 350GB Windows 7 partition. After that, I rebooted and it was not possible to load windows. Then I tried changing in GRUB the entry for Windows, because I thought if I could put the correct partition to load from, it wouldn't be more problems. I tried several times but I couldn't load windows, so I putted the Windows 7 DVD and I started the installation process, waiting to see an option saying that there was already a system in the partition of 350GB, and allowing me to fix the mbr in that partition.
My surprise was when I choose the partition of 350GB and the installation process began. I was afraid of to lose my data then I decided to reset the computer! And now, all my 350GB disk is gone! I can't see the partition when I enter with Ubuntu. I'm really worried about this, because the computer detects the 350GB partition as empty, and I don't know what to do! I turned off the computer and now I am using another to write this. I have all my files and important information in that partition! and It seems it's lost. I hope it's still possible to restore the partition. Actually I don't care if I have to install again my operating systems but I need my information!
View 5 Replies
View Related
Jul 2, 2011
My low-down lousy computer crashed while I had two spreadsheets (Libre Calc) open. When I re-booted the 'tater, then clicked on the launchers for my spreadsheets, Libre Calc opened new, blank documents.
Is there a way to find the lost spreadsheets? If I can't have the whole things, then just the data would be OK.
View 3 Replies
View Related
Dec 19, 2010
In other words, I somehow deleted the first partition of Windows7, the windows reserved system partition. WHat is the quickest way I can rescue this system? Client has been waiting for her machine a long time already, I have to delived today, no time to re-install windows7.
View 4 Replies
View Related
Jul 3, 2011
I wan trying to install Debain on a 4GB USB drive while running the setting something happened with my pc and i had to restart it.I try to boot from the USB drive it worked but was giving a empty cursor. the installation did not continue.i open the USB drive in my pc now but it shows just 300 MB space and lost the 3.7 GB space.I think space of USB drive with that partition, can i recover my USB drive lost partition space ?
View 4 Replies
View Related
Dec 8, 2009
During attempted repair of damaged USB stick with fdisk and parted, an error appears to have changed the partition holding the /boot partition. At one point I possibly typed sda1 instead of sdb1 and appear to have lost my /boot partition.
This is on a HP Compaq Presario CQ50 228CA Portable running only Fedora (No multiboot).
I am able to reach most of the programs and data on the machine with the rescue mode from the F12 x86_64 DVD, chroot /mnt/sysimage command - so the main part of the system is still available. But when the machine starts up all I get is the 'grub:' prompt. In rescue mode I can cd /boot but there is nothing to list, and certainly there is no /boot/grub. fdisk /dev/sda1 p reports 255 heads 63 sectors/tracks 25 Cylinders Units=cylinders of 16065 x 512 = 8225280 Bytes Disk Identifier 0x0000000 - and then nothing under the headings Device, Boot, Start End etc...
Previously /boot was on /dev/sda1 a 194 m patition, with 39m used and 146m available (according to logwatch mail),
My questions:
Are there any commands in the grub program that would help my recovery - I doubt it, because grub is in place and running but I am not sure. Could I using fdisk recover the sda1 partition and it's contents? If so - how? If no, could I use the F12x86_64 to update and hence recover the /boot drive and retain the the LVM volumes both programs and content? If no, is my only option to reload F12 from the start, then rsync in my backup /home directory?
Since there had been a fair amount of customization done on the previous F11 which had been preupgraded to F12 I would prefer any option that would retain the customizations ...
View 3 Replies
View Related
Aug 24, 2011
I just installed Fedora on my pc with windows XP pre-installed (dual boot). I had the same setup with ubuntu before with no problems. My ntfs windows partition is of 15 gb approximately and the remaining space that was available for fedora was about 220 GB (non partitioned - I removed all the partitions excepting the windows one using gparted from liveCD prior to beginning installation) ..........after installation etc etc.....my home folder shows me only 150GB of space.....what's happening? Where has all the remaining space gone to?
View 8 Replies
View Related
Mar 25, 2010
As soon as I install and reboot OpenSUSE, my partition table gets lost somehow. Here is some information about my system:
Dual-booting system with Vista and OpenSUSE 2 SATA hard drives combined into one with Vista installed on them. 1 IDE hard drive with OpenSUSE installed on it.
When I install OpenSUSE, it loads fine right after the installation. Then, when I reboot the computer and select to load OpenSUSE from the Grub loader menu, it hangs right after:
root(hd4,1)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-IC35l....... and so on
I tried running System Repair off of a DVD and automated test - it tells me that the partition table is lost. I choose to recover partition table and after a while it does but I am still unable to boot.
View 7 Replies
View Related
Apr 8, 2011
Ive been running crunchbang on my system, and yesterday decided to try opensuse so i can install the novell client. I ran the live gnome cd and during installation I shrank my main partition down and created a new partition for opensuse. Installation went well other than sometimes programs close and make the part of my desktop that they occupied useless.
Question 1) I can see my crunch bang files through opensuse but i cannot find or boot into crunch bang.
question 2) Why are these programs closing and then killing my desktop? Say i have a Firefox in the top left of my desktop and it errors and closes. I go open Firefox again, anywhere that the old Firefox window was in ( not click able). My cursor will turn to the text cursor as soon as it enters the x y position. I have to restart the laptop to be able to click file or insert a web address.
View 8 Replies
View Related
Apr 30, 2010
This morning, i want to install ubuntu 9.10 and want to upgrade to 10.04. Im using live CD and while install, i go to advance partition and resize the windows partition and after i resize the partition i saw my windows partition has lost.Here the details:Windows XP size: 80gb and free size 35gbi want to use my ubuntu size around 10gb, after i resize to 10gb and format etx4 as root my windows partition has gone. how to recovery and revert my windows partition back?
View 6 Replies
View Related
May 12, 2010
I was a regular Windows user and have installed Ubuntu 10.04 LTS 2 days back. Not really sure what was my mistake during installation but that had erased all my data. I lost windows completely and lost all my data in all 4 drives including drives itself.I searched in internet and forums as how could I recover my data, and got solution to use test disk. Testdisk worked perfectly, I recovered my 4 drives and retrieved data for 2 of my drives. But I still cann't retrive my important data from other drives.I guess data still exists in hard disk. (no free space , and no data)I know there could be several threads which had solved this kind of problem.
View 5 Replies
View Related