Ubuntu :: Fixing A Deleted Partition Table / Data Recovery?

Jan 27, 2010

I erased my partition table. Can anyone recommend a good method of reconstructing it? And if this is impossible, can anyone recommend a good method of data recovery? I had an ntfs partition with windows 7 and a larger ext3 partition that ran Debian.

I'm running Test-disk on the SystemRescueCD at the moment (cross your fingers).

View 1 Replies


ADVERTISEMENT

Ubuntu :: Accidentally Deleted Partition Table..recovery?

Aug 26, 2010

I was messing around with the windows 7 install and wiped a valuable partition on a drive, I ripped the sata cable out afterwards... is there a way to reconstruct the table?

View 2 Replies View Related

Ubuntu :: Recover Data From RAID 1 Where Partition Table Has Been Deleted?

Jan 12, 2010

I have 8.04 running mdadm raid 1. I selected the wrong drive in gparted and managed to hose my partition tables.

View 7 Replies View Related

Server Platforms :: Partition Table Deleted - Get My Data Back Safe Without Losing It ?

Mar 6, 2010

I've initialize a virtual disk and deleted the partition table didn't notice that i've done that to the wrong one, data still on the physical hard disks but....how I'll get my data back safe without losing it?

View 4 Replies View Related

Ubuntu :: Data Recovery - There's Nothing In My 'Deleted Items'?

Jan 8, 2011

I have somehow managed to eradicate all of my films and music...I was going to update my external HDD (typical) and so I highlighted everything and went to drag it. My finger kind of slipped while the cursor was in the the same folder and I got a message saying something like:"Source file is in this destination. Cannot move. Do what?"There's me thinking not much can go wrong at this point so I clicked "Skip all".Everything disappeared

The file system says there's still only 500GB free on my 1.5TB, so the files are there but I just can't see them.how I can get them back?There's nothing in my 'Deleted Items' and I had a play with scalpel and PhotoRec and I either couldn't get them to work or they said they'd take way more time than I have.

Edit: Where did that smiling devil come from? That's really not how I feel right now.

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

Debian Hardware :: Partition Table Recovery?

Jul 8, 2011

had a bad experience when Fedora 15 overwrote the ext4 partition of a data disk to MVL during the installation process.I cloned the HD and now I am working on it. However, my first attempt resulted in 900.00 number-renamed files into the lost+found folder. And that's not what I want: with this number of files I need to recover the directory structure and the files real names.I know this is a hard issue for being discussed in the forum and that I shall look for some expert help, but, I wished to useis bad moment as an opportunity of learning.

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

General :: Partition Table Raw Data Using Fdisk

Apr 27, 2010

had trouble viewing partition table using fdisk, now realised i just cudnt view the whole table from Rescue terminal, please remove this thread, i can't find how ))

View 1 Replies View Related

Ubuntu :: Deleted Data On Windows Partition?

Jan 28, 2011

I just made a very stupid mistake, and in result I just deleted almost everything on my windows 7 partition. I followed this guide: [URL].. for how to access my windows partition from ubuntu and it worked, but then I decided to rm -r the whole thing thinking it was a copy. I have no restore disks or any other type of backup. I know this maybe be impossible, but is there any way to recover my data?

View 1 Replies View Related

Ubuntu :: How To Recover Data From Deleted Partition

May 22, 2011

I deleted an old ubuntu partition, I reinstalled Ubuntu but is there any software for Ubuntu or any other Linux operating systems that can recover my data?

View 2 Replies View Related

General :: Data Recovery For Overwritten Partition

Jun 27, 2010

While attempting to install FC12, Anaconda took it upon itself to overwrite the partition on my backup disk. Now I need to figure out if there's a way to get at least some of my data back. If there's a better place for this question, please let me know and I will happily move it. Using Linux since 1993, other Unixoid systems since 1986. I bought this machine back in 2004 or so. It was a pretty decent machine back then, but it's showing its age now: 370Mb of RAM, 2 hard disks with 80Gb and 120Gb (I don't think the other specs are relevant, but just let me know if I'm wrong). In a fit of insanity, I decided to install Gentoo on it. Don't get me wrong: I love certain things about Gentoo. But the constant fiddling that's required, while it can be fun at first, gets old kinda quick.

So various and sundry things have been going wrong with it here and there (CD-ROM, sound card, etc ad infinitum), and, finally, it wouldn't even load X any more (almost certainly some final Gentoo update which broke something) and I said "screw it, I'll just put Fedora on it." This is what I use at work, and plus I have a good friend who has far more patience with admin stuff than I do and Fedora is what he knows. So, last night, I pick up an FC12 CD that I have lying around and decide to finally just reinstall the whole thing. I went so far as to buy myself a Passport USB drive, 319Gb, and have been backing up up all my stuff very regularly to that drive. I go through one final cycle of backing up and verifying before I start the reinstall.

So my drive is solid, and contains everything I could possibly need (and probably quite a bit of stuff I don't). After booting into FC12, I used Palimpsest to explore the partitions on the existing hard disks. Not sure which was which, I mounted the Passport, where I have cleverly saved a copy of my fstab. Using this, I can see which of my partitions were /boot, /, /home, etc. Most of my personal data has been put into separate partitions so that I could reinstall without blowing away the data. I hope that I can do that there, but, if I can't, no matter: I have a backup. I find some bits of empty space and delete a few of the partitions and recreate them, consolidating the empty space. Still confident in my backup, of course.

So I run Anaconda. Nothing happens. Eventually, I figure out that it won't run the graphical interface because I don't have enough memory. I can use the text version, no biggie. It gets to the part about the disks. I tell it which hard disk to install itself onto. For some reason I think it's going to pop up and ask me about the existing partitions and whether I want to keep them or rewrite them (maybe that's a previous version of Anaconda? or a different installer altogether, who can remember). It does not. It babbles something at me about LVM (which I've personally never really used before), and then promptly locks up. Obviously standard Fedora on a low-RAM machine like this is doomed to failure.

I poke around on the Internet, and I eventually stumble on the Fedora "spins" and select FC13/LXDE. Hopefully this will have better luck. Reboot with the new CD, take a look at my hard disks. It has completely overwritten the old partitions, replacing them with LVM partitions. But not a big deal: I have a backup. Take a look at the Passport. Its ext2 filesys has also been replaced with an LVM partition. Proceed to beat head against wall. So, obviously what happened is, since I (foolishly) had the backup drive mounted at the time I ran Anaconda, it assumed I wanted it to take over that drive as well, and just formatted everything it could lay hands on as LVM. It certainly never asked me my opinion on the matter.

But, fine, I shouldn't have had it mounted. The question is, what do I do now? My first, panicked instinct, was to just set the partition type back to 83 (I believe LVM is 8E), which I did (using cfdisk). That might have made it worse; I dunno. But I'm pretty sure I haven't written anything else to the disk since then. I've tried testdisk (nothing useful; although it can seemingly find the underlying deleted partition, it won't actually do anything with it), and a bevvy of Windows Linux recovery programs (Stellar Phoenix, DiskInternals, Raise, and R-Linux), all of which were completely useless except for R-Linux, which scanned the disk for eight hours and was still going when I had to interrupt it (I may come back to that one, but so far it doesn't look too promising).

My primary problem is that I can't make an image of the disk because this little Passport is the biggest hard drive in the house. I would certainly feel better if I could image everything off it and then play with the image. But, of course, it doesn't matter that very little of that 319Gb was actually being used: I still need 319Gb worth of space to make an image. I ordered another (larger) Passport, which should be here Wed. Once I have that I believe I can do something like so:
Code:
dd ifs=/dev/sdX ofs=/mnt/bigpassport/smallpassport.img bs=512
Right? Then I can muck about with that image in some amount of safety.

Of course, I also have the original hard drives, which are not so large. testdisk can identify the original partitions on those too, but, again, won't actually do anything with them. If I could find something that would image just the partitions I care about, I could probably save those as well, but I don't have any other external hard drives with 120Gb of space free. Can I somehow take the info that testdisk is giving me about those original partitions and use dd to get only that part of the image? Are there other recovery tools I haven't considered? I have a Windows (Win7) laptop, a Linux laptop (FC10, I think), although its power cord is flaky so it's not too reliable, a smaller Mac, a really old Windows box (XP on it, I think), and this formerly-Linux box, which I can only boot off CD's at this point. There's nothing on this disk worth the 500 bux that professional data recovery would charge me, but it's worth a day or two of my life to try to get at least some of it back.

View 14 Replies View Related

Hardware :: Restore Partition Table Or Recover Data?

Mar 27, 2009

I was putting the cover back on my Antec p180b, and I guess it got stuck and gave it a hard bump (pretty much broke the cover). As a result, one of my hard drives, a Seagate Barracuda ST3750640AS, got messed up or something. All the other hard drives are fine. It's in an LVM with another hard drive, so now I can't boot up into my computer. So I booted into the installation CD:

Code:

# find /dev/sd[a-c][1-3]
/dev/sda1
/dev/sda2

[code]....

This led me to believe the partition was messed up. So I ran cfdisk, and it said something about a missing partition table or something. Additionally, instead of showing the single partition on it, it displays, from my recollection, Pri*Log. To my knowledge, this is the only problem with the hard drive. So now I need to either somehow create or restore the partition table without overwriting the data. Or get a new hard drive, and some how recover the data (LVM, partitions, and all).

View 4 Replies View Related

Software :: Repair Missing Partition Table And Recover Data From Xfs?

Jun 15, 2009

I used to have a 1TB external drive with lots of stuff on it. But after a reported drive failure during a F11 install the partition table seems to have been lost. (I think F11 toasted it)

Disk /dev/sdc: 1000.2 GB, 1000215724032 bytes
255 heads, 63 sectors/track, 121602 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

The drive used to have xfs and a partition. Is there any way to rebuild the partition? Or is my 1TB of data gone forever? The drives seem to be fine now... I just want to get it up enough to either pull any data or just to get a file list. Most of the stuff on the drive was from somewhere else.(ie 300GB of NRN data for all of North America.

View 3 Replies View Related

Debian :: Recovering Data From Deleted Partition

May 16, 2010

I was trying to delete a logical drive in windows xp and the damn disk management tool in windows not only deleted my other windows partition but also my linux /data ext3 partition. Now I have a unallocated space in place of these partitions. The data is still there but the entries in the partition table have been removed. So how do I recover my partition. I was trying to use the following tutorial. [URK]

I used the sudo parted /dev/sda -- and then rescue START END command and could get back the /data partition. But it gives me the following error while mounting the partition. mount: wrong fs type, bad option, bad superblock on /dev/sda7, missing codepage or helper program or other error. In some cases useful info is found in syslog - try dmesg | tail or so.

What does this mean. How to I fix this? Also when I try to recover my windows partition using parted it scans for a while and then does nothing. It doesnot ask for writing the lost partition in the partition table. What do I do?

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

Fedora Installation :: Broken Partition Table - Cause Significant Data Corruption ?

Jul 24, 2009

During a recent request to install fedora 11, I ran into an interesting problem. It seems that between fedora10 and fedora11, the developers switched from fdisk, to parted for creating the initial pre-mke2fs partition table creation.

It looks like the implementation of this is broken, as it's writing the partition table with overlapping cylinder boundaries. While this can sometimes be ignored, it can in certain cases cause significant data corruption.

On an installation I took it through, using the latest installation media, in both manual & automatic partition creation, the layout looked like this:

The last two partitions turn out fine, for some reason. However, those two partitions should not have overlapping cylinders. After my very first installation, the system was completely unbootable, and not even fsck wouldn't rescue it. If this is possible, then that means that a system that's been online for months or even years could simply drop out of functionality simply due to a byte or two of system-critical data falling on that last cylinder. Considering that a lot of the time kernel data ends up on /dev/sda1 (commonly the /boot partition), this is something that should not be ignored.

View 4 Replies View Related

General :: Can't Format Kingston 8GB Data Traveller G2 - Fix Partition Table Back?

Oct 25, 2010

I used a Kingston 8Gb flash drive as a live usb recently (copied the live iso image over using dd). I am done with the installations and all but seem to have a problem. i cannot format my flash drive. It now shows as a live CD (800 or so mb). Is there a way to fix the partition table back? I guess if i copy a partition table image from some other 8 gb drive that might fix the problem but i dont have any other flash drives. Is there a solution possible or am i stuck with a live usb forever

View 1 Replies View Related

Ubuntu :: Difference Between Using GPT Partition Table When Formating Hard Drives And MS-DOS Partition Table?

Aug 6, 2010

Is there a difference between using GPT partition table when formating hard drives and MS-DOS partition table? What are the advantages/disadvantages of using either?

View 2 Replies View Related

General :: Recovering Data From Ext3 Partition With Hardware Errors - Recovery Required On Readonly Filesystem

Jan 10, 2010

I have an external 3.5" USB 250Gb HDD which is showing symptoms of hardware problems (repeated /var/log/messages errors of "reset high speed USB device using ehci_hcd"). This was originally plugged in to my NSLU2 running Debian Etch. I have just installed Ubuntu Desktop 9.10 to a spare Pentium-3M laptop and was hoping to copy the contents of this HDD to a fresh drive. However, I cannot mount it even read-only; mount -o ro /dev/sde3 /mnt/disk fails, and the /var/log/messages error is "recovery required on readonly filesystem", "write access unavailable, cannot proceed". I cannot understand why mounting a disk read-only should require write access. Following advice I googled elsewhere, I tried running mke2fs -n /dev/sde3 to try to list the alternative superblocks - but once again I got the error that the device was read-only. How can I go about accessing the data on this disk?

View 11 Replies View Related

Ubuntu :: Recently Deleted File Recovery?

Jul 26, 2010

I recently accidentally (permanently) deleted a bunch of files off my computer. I used "foremost" to recover all my images, but there are still a bunch of videos that need to be recovered. The problem is that foremost seems to have also recovered a crapload of files from before i switched to ubuntu (i just removed windoze today) so i have a LOT of jpg images right now (over 400,000) and i don't want to deal with that many video files!How do i recover my recently deleted videos without getting a bunch that i don't want?? (can i specify the folder they were deleted from or something?)PS: i used this code to recover my picturesCode:sudo foremost -t jpg -i /dev/sda1

View 1 Replies View Related

Ubuntu :: Accidentally Deleted Windows 7 During Wubi Recovery?

Mar 8, 2011

What exactly I did here to aid in attempting to recover my Windows system. My laptop was dual Wubi-boot with Windows 7 and Ubuntu, and after encountering issues booting into my Wubi Ubuntu, I went in to recover important files to do a reinstall. Using an Ubuntu livecd, I created a directory called "win" (sudo mkdir /win) and then mounted my Windows 7 partition (sudo mount /dev/sda1 /win) to that folder name. However, after encountering some issues there, I made the mistake of removing the "win" folder without unmounting the Windows 7 partition using "rm -rf /win". After that, my Windows system appears to be missing. Can anyone tell me what exactly I did? Did I delete the partition?

View 9 Replies View Related

General :: Deleted File / Folder Recovery

Feb 19, 2011

I have just accidentally deleted some files and a folder.Is there anyway I can recover them.

View 1 Replies View Related

Fedora :: Fixing An Undersized Extended Partition?

Dec 17, 2010

I have a situation where a disk was built using an image from a disk with a much smaller geometry. The result is about 70% of the disk is unused. Most of the partitions (including root) are on an extended partition that is sized for this smaller geometry. The person who did this has already been scolded, but life goes on.fdisk shows this:

Disk /dev/sda: 146.6 GB, 146694733824 bytes
255 heads, 63 sectors/track, 17834 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

View 3 Replies View Related

General :: Recovery Deleted Folders And Files When Using Rm -rf Command?

Apr 2, 2010

I need to recover some folders and some files from my CentOS 5.3 X86_64 linux machine ext3 partition after I have deteled them with rm -rf command. After I have deleted the files (*.exp extension) and folders with rm -rf command, I have written a big archive 70GB on the same partitions but in a different path. I know that in windows if I do that, there's no way I can bring back the deleted files, 'cause the OS writes the information in the same cluster and therefor I can't bring back the files. I hope you guys understand what am I saying.

what program (that knows all extensions, or dosen't read a specific extension/extensions) can I use in order to get the date back ? I have used foremost and it worked, but this programs knows only specific extensions, like exe, jpg, avi, mpeg, etc and not my *.exp extension. The foremost program worked perfectly, but it dosen't know the *.exp extension that I need, in order to get the data back that has that extension.

View 6 Replies View Related

General :: Deleted Files Recovery, Inodes And Size Is Known?

Apr 27, 2011

i manage to delete some files from the system. now i need to recover them.. i know the inode # (through ext3undel) and also the size.Quote:Unfortunately, we cannot automatically obtain the name of a deleted filefrom Unix file systems - since the connection between the iNode (whichholds the MetaData, including the file namee real data is droppedon deletion. However, we can obtain a list of names from the deleted files.How can i use this information to recover the files?Also can i search the text from a partition? (file don't exists). As i need figures

View 3 Replies View Related

Ubuntu :: Change Sda2 Partition To Ntfs - WARNING: The Kernel Failed To Re-read The Partition Table

Mar 27, 2010

I want to change my sda2 partition to ntfs type. i have installed GParted but it is returning a strange type of error. Here is the error dump file...

[Code]...

WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot. WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot.

View 9 Replies View Related

Ubuntu :: Tell Kernel To Reread Partition Table While One Partition Mounted

Feb 5, 2010

Is there a program that will reread the partition table and update the kernel even if one of the unmodified partitions is mounted? I installed my system on one partition, then I added another with free space. Now I want to format the second partition, but the kernel doesn't know about it yet. I tried sfdisk -R /dev/sda, but it refuses while the root partition is mounted. Is there anyway I can avoid rebooting?

View 2 Replies View Related

Ubuntu Installation :: Os_prober Calls The Vista Partition The Windows Recovery Partition

Feb 20, 2011

Two days ago I repartitioned my laptop HD and added the latest Ubuntu (2.6.35-25-generic) to the existing Vista and existing Ubuntu (2.6.32-28-generic via upgrades from 9.14(?)). Prior to this install it was using Grub with menu.lst from the old/upgrade Ubuntu. After the install the boot menu labels the partition with Vista as the Windows Recovery partition and the recovery partition item is no longer present.

At first I wondered how I could get Vista to boot. I found that SuperGrub cd would boot it OK. Then, it dawned on me that the boot menu item was not the recovery partition, but instead the Vista OS partition mislabelled . Vista loads just fine from it. The recovery partition is no longer listed as it was with Grub/menu.lst. SuperGrub will not boot the recovery partition, showing an error "missing BOOTMGR".

'os-prober' produces--
root@Toshiba:/home/deh# os-prober
/dev/sda2:Windows Recovery Environment (loader):Windows:chain
/dev/sda7:Ubuntu 10.04.2 LTS (10.04):Ubuntu:linux

[code]...

I edited boot/grub/grub.cfg so the boot menu item is labelled correctly, but suspect that it will revert back when there is an upgrade.

View 4 Replies View Related

Ubuntu Installation :: 10.04 Wubi - Windows 7 Partition Along With The Lenovo Recovery Partition

Aug 1, 2011

I tried installing Ubuntu 10.04 LTS on my girlfriend's lenovo using a live disc. First we tried it out to show her the wireless would work fine (her previous lenovo was not ubuntu friendly at all). She's interested in keeping her windows 7 partition along with the lenovo recovery partition, so I tried doing a dual boot install. I manually moved the cursors setting the disk space on each partition, and we allowed Ubuntu to do the rest. Much to my dismay, the installation failed.

I've done some reading over the internet, and I think in our case it would be best to use a Wubi installation. We're interested in using 10.04, so where can we find a wubi installer of Ubuntu 10.04?

Also, any ideas why the installation might have failed? The iso was downloaded off the ubuntu main site, and we burned it using infrarecorder.

View 3 Replies View Related







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