Ubuntu Installation :: Testdisk Can't Restore The Partition - Just Deleted

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


ADVERTISEMENT

Ubuntu :: How To Restore Deleted Truecrypt Partition

Feb 16, 2010

my /dev/sdb was a truecrypt partition that was mounted when I accidentally deleted the partition in gparted (instead of sdc, stupid). I'm pretty sure I haven't overwritten anything since then, but I'm not sure how to go about recovering this one. To confound the problem, the only way I can install stuff to my ubunut machine is by downloading on a windows machine and transferring by memory stick.

View 7 Replies View Related

Ubuntu :: Partition Table Was Deleted / Cant Restore?

Mar 2, 2010

I was working on creating a partition on a new hard drive I was planning on using for storage. I wasn't paying attention and chose to delete the partition on my master. I am running a dual boot with Vista and Ubuntu. When I rebooted It will only go to the Grub> prompt. Ive ran TestDisk and though that I had corrected the problem but it didnt. After running TestDisk again here is what It came up with.

Disk /dev/sda - 320 GB / 298 GiB - CHS 38914 255 63
Partition Start End Size in sectors
L HPFS - NTFS 0 32 33 28554 254 63 458734027
L Linux 28555 1 1 38585 254 63 161147952
L Linux Swap 38586 1 1 38912 254 63 5253192
Structure: Ok. Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
code....

After writing the table above I rebooted. Windows prompted me for my restore disk. I rebooted to the live cd again and ran Fdisk.

code....

View 3 Replies View Related

General :: Deleted An LVM Partition - Restore The Partition

Aug 23, 2010

I was dicking around today and I deleted an LVM partition, is there anyway I can restore the partition and add it back to my volume group or is it game over?

View 5 Replies View Related

Ubuntu :: Restore An Accidentally Deleted Encrypted EXT4 Partition ?

Feb 2, 2010

I accidentally deleted my root ext4 partition, which I had encrypted. I am unable to log into any os since I am blocked by a Error 17. Is it possible to retrieve an encrypted ext4 partition, does it even matter that it was encrypted.

View 6 Replies View Related

Ubuntu :: Recover Deleted Data Using Testdisk Tool?

Jul 28, 2010

I tried to recover deleted data using testdisk tool and now my partition table have some errors. Even though i have 3 partitions and 1 unallocated disk fdisk -l shows only 1 partition

Code:
vishnu@vishnu-laptop:~$ sudo fdisk -l
[sudo] password for vishnu:

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x68000000

[Code]...

View 2 Replies View Related

Installation :: Utility For Recovering Partition Table - Testdisk?

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

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 :: 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 :: TestDisk - Incorrect Partition Table Detected

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

Ubuntu :: Reading Testdisk Log And Restoring Partition Table?

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

Ubuntu Installation :: Deleted Partition Now Getting Grub Rescue

Sep 10, 2010

I have ubuntu in sda7. sda6 had bt4, sda3 had Win7. From Win7 I removed sda6. Now when I start my computer I get grub rescue. How can I tell grub that ubuntu in sda6 and not in sda7 anymore or how can I create sda6 again so ubuntu goes sda7.

View 1 Replies View Related

Ubuntu Installation :: Swap Partition Would Be Deleted Safely With 4M Ram?

Apr 23, 2011

RAM of the machine is 4M. I never see the swap partition has been used via system monitor. So can I safely delete the swap partition?

View 7 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

Hardware :: Recovering Partition Table Using TestDisk And Sfdisk?

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

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 View Related

Ubuntu :: Recover Lost Data From NTFS Partition Using Testdisk/Photorec?

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

Ubuntu Installation :: Partition To Ensure Home Isn't Deleted By Next Reinstall?

Jun 9, 2010

How do I ensure that my home partition does not get deleted the next time I reinstall Ubuntu, as I can see there is a choice between formatting the whole drive and manually partition it, but if I reinstall won't I delete the home partition as well?

View 3 Replies View Related

Ubuntu Installation :: Deleted Desktop Partition To Replace It With Studio

Oct 28, 2010

I deleted my Ubuntu Desktop Partition to replace it with Ubuntu Studio but when I went to restart the computer and command line thing about how the Ubuntu Partition is missing is showing up. How do I get it to boot to Windows?I'm currently booting from my emergency Xubuntu USB Stick.

View 2 Replies View Related

Ubuntu Installation :: Deleted Partition - Get Grub Rescue When Boot

Jan 17, 2011

I set up my Dell Inspiron Laptop as Dual Boot -> Xp / Ubuntu 10.04. - all worked well. I had 2 installations of XP on this machine and I removed one - all worked well. I then went into XP and deleted the partion (4) that the old XP had resided on (using Easeus Partition Master) All NOT working well !! Now when booting the machine I get grub rescue> I did ls and got ....

[Code]...

View 6 Replies View Related

Ubuntu Installation :: Partition Table Gone / Restore It?

Feb 23, 2010

I have searched and didnt find a situation like mine so i thought id ask. i have a dual boot setup on my hp pavillion windows vista /dev/sda1 and backtrack linux 3,while trying to install backtrack 4 (which is ubuntu based) i deleted the former partitons for bt3. im not quite sure what i clicked but using the ubiquity installer it deleted my partition table so now my entire drive is listed as unallocated space. i have some very important files on my windows partition other wise i would just format and start over. how can i restore the partition table and boot to windows to atleast grab the important stuff. the drive hasnt been formatted so the info is still there i just cant get to it anyone have any ideas?

View 5 Replies View Related

Ubuntu :: Top Panel Deleted - How To Restore

Oct 2, 2010

I accidentally deleted my top panel and am in the process of restoring it. The last thing that was there which is not now is the quick link to Ubuntu Help. It is installed on my PC but I cant find it.

View 4 Replies View Related

Ubuntu :: 10.04 - How To Restore Deleted Panel

Oct 21, 2010

I was playing around with Lubuntu 10.04, accidentally delete a panel, how do I restore it?

View 2 Replies View Related

Ubuntu :: Deleted Panel - How To Restore

Mar 11, 2010

I deleted my panel (where you can see running programs, show desktop shortcut). I know - its stupid to delete panel, but I wanted to try it out. How can I get it back?

View 3 Replies View Related

Ubuntu Installation :: Accidentally Deleted Partition Table On Lvm Physical Volume.

Jul 18, 2010

I was trying to remove the physical volume from an old drive. So I opened gparted and told it to rewrite the partition table. The only problem is I targeted the wrong volume, I wiped the partition table on my 4tb raid5 array This 4tb array has everything! All my movies, tv shows, music. The only things I have backup up off site are my smaller files like documents. I was about to lose my whole media collection.

I did some research and found a solution that I will post here in the hopes that someone will google "I deleted the partition table on my lvm" and be find the solution.You should find in your filesystem a /etc/lvm/backup folder. LVM puts a copy of the crucial lvm information there every time you change the the volume group.

In this folder you will find a file for each volume group. In this file you will find the uuid for all of the physical volumes that make up that group.The first step is to recreate each physical volume with their original uuids. In my case I had only 1 physical volume, which was my raid5 array. My recreation command looked like this:

pvcreate --uuid cLrY02-zrVi-D0Vi-cIPB-6fF5-ed0c-XFF0os /dev/md0

Now I have a physical volume with the same uuid it had before. It is essential that you correctly match up the uuids with the correct physical deviecs.The recreated pv is empty, the volume group needs to be recovered. This is done by using a special tool and the backup file. For me the command looked like this:

vgcfgrestore --file /etc/lvm/backup/raid5 raid5

This tells it to recreate the volume group using the information in the backup file. The backup files looks for the uuid of the PV, which now matches the correct volume. The coordinates in the backup file match up to the data on the array an suddenly everything is back!

When I deleted my LVM partition table I did not damage any of the actual volumes on the volume group, I just wiped out the table of contents. The backup file had the information needed to rewrite this table of contents.

View 1 Replies View Related

Ubuntu Installation :: Can't Restore GRUB2; Can't Mount Partition?

Apr 29, 2011

I get the error - 'You must specify the filesystem type'.I used the syntax on the GRUB2 page:mount /dev/sdb3 /mnt but it returns the above error.Is there additional parameters to the code???

View 1 Replies View Related

Ubuntu :: Restore Deleted Top Panel To Default

Jan 4, 2010

I deleted the top panel, how can I restore it to default.

View 7 Replies View Related

Ubuntu :: How To Restore Deleted Logical Volume

Jul 30, 2010

I have 3 harddisks, 1 for system and 2 for data.

To manage it more easy, I tied 2 harddisk in LVM. And I made an logical volume. It used ext4 for it's filesystem.

Today, I wanted to format and reinstall the system. So I booted the system using Ubuntu CD. But managing the partition, I accidently delete the logical volume. Because backup(/etc/lvm) was in itself, I couldn't restore the old config. I just create new logical volume.

As I expected, I couldn't mount it correctly. Mount said that "Mount: Mouting failed A on B! Invalid argument!"

I must recover it, because it has a lot of import data. What should I do?

View 1 Replies View Related

Ubuntu :: Restore Deleted 'Downloads' Folder?

Nov 22, 2010

I made one of those silly mistakes and stupidly deleted my 'Downloads' folder. how one could restore it?

View 3 Replies View Related







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