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


ADVERTISEMENT

General :: Recovery Of Overwritten File?

Nov 16, 2010

Is there any way to recover an overwritten linux file? I uncompresed a tar file which overwrote some of my files. I read somewhere you can umount your home directory.

View 2 Replies View Related

Ubuntu :: 10GB Of Data Overwritten In NTFS Partition - Hard Disk Safe

Jul 22, 2011

So the first 10Gb of a 450GB NTFS partition have just accidently been written over with an Ext4 filesystem that spans the entire partition instead. all foolishness asside, what can be repaired. Now I know Ext4 likes to jot bits of meta-data down (inodes blocks) along the way, and this can be about 5% of drive capacity, that said, there's alot of small text files and stuff, coe files so forth that can surely be recovered

I've looked into magicrescue and testdisk, but they fall into the only two groups to exist:
1) Filesystem independent, that is search almost like a patern - well exactly like a pattern match, to find the header and footer of files.
2) Filesystem recovery tools, like, damaged bootsector, so forth

I need one, that will be able to extract files, Iunderstand this will be a hard task, but.... text files; surely that'll be easy, anyway. This is my backup drive, they''re both WD you see, anyway. This is important, given the coding is ASCII surely.

View 4 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 :: 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 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 :: Data Recovery From Formatted HDD

Feb 10, 2010

While install Ubuntu on an existing xp pro I accidentally formatted my hard disk. Is there any way to get back my files it contains e books pdfs photos music files and movies. Data recovery. My Hard Disk 80GB SCSI NTFS.

View 2 Replies View Related

General :: HDD Recovery - Cannot Access Any Data

Apr 24, 2010

My laptop died. I was running FC11. I have taken my harddrive out and connected it to an usb-adaptor and mounted it on my FC11 desktop. However, when I open it all I see is grub. Palimpsest sees both the 250MB of grub and efi etc., and it also sees 120GB of LVM2. I cannot however access any of my data.

View 2 Replies View Related

General :: Which Distro To Use For Data Recovery Workstation

Sep 22, 2010

I'm building another PC that will be used as a workstation specifically for recovering data from hard drives and backing up the info and I want to install linux as the OS. Which Distro would you reccomend I use?

View 5 Replies View Related

General :: Data Recovery From Nas Acer NS04

Apr 12, 2011

I have an Nas Acer Altos EasyStore NS04 with raid level 5 (4 devices sata: Barracuda 7200 500gb)

Nas info:

Code:

And then ipstor (Falcon Software) mount several dev/VBDX for each shared folder created by web admin

After a reboot NAS was unreachable (eth0 didn't start and this is the only way to control NAS)
without disks NAS work on with default params

Suggest me to connect disks in a server and start and try to mount MD device to recover data so i download SystemRescueCd-0.4.2 and connect disks to a HP Proliant ML350 G6

System starts and systemrescuecd find ad array MD127

Code:

I tryed also to recreate array in a new device (for ex. MD128) but error messages was the same

I dont' understand if problem is in md file system or superblock or something else.

View 2 Replies View Related

General :: Data Recovery - No Valid Directory

Nov 15, 2010

I was trying to set up a partition on my netbook's hard drive, and foolishly forgot to backup my home folder. Now, Ubuntu (10.04, btw) won't boot. It allows me to get into the manual recovery shell, though. Now, I'm perfectly willing to reformat, but first I'm hoping I can recover the files from my home folder without having to take my netbook to the ridiculously overpriced computer repair centers in my area.

I have an external hard drive, but when it's plugged in during the recovery shell, it won't register as being a valid directory. I know the commands to copy or move a directory, but without my external reading as a valid directory to move my home folder to, I'm kinda stuck. Is there any other way to recover the contents of my home folder without having to go to a computer repair place? Neither of the ones in my area know much about linux at all, and I really don't want to have to pay $80+ to have someone else recover my home folder.

View 8 Replies View Related

General :: Finding A Free Data Recovery Tool

Jan 25, 2010

I deleted files on my linux drive that I shouldn't have. What is a good tool to use to recover these files that will:

Recover the various file types (txt, php etc)
Recover it as the original files names

TestDisk and PhotoRec almost do the trick, but the original filenames are not restored.

View 3 Replies View Related

General :: Knoppix Data Recovery Ownership Permissions?

Jun 4, 2011

I use Linux but have a computer with windows I use for gaming. It died and put the hard drive into another computer and used knoppix to recover my files. I looked at the ownership of the windows files and the owner is knoppix. Now I am concerned that ownership will not work on my new Windows computer (when I finish building it, that is). Since I don't get into Windows much I have no idea what those permissions should be.

If I copy them with owner knoppix can I even access them in Windows to change the ownership to whatever Windows will accept? If I change the ownership before putting them on a CD with knoppix, can I write the CD? I will have to use the hard drive on the new windows box so will not have access to the files later (unless I also copy them to my Linux computer for safekeeping). At least I know the ownership changes to make with Linux.

View 2 Replies View Related

General :: Data Recovery From External NTFS Disc?

Mar 19, 2011

I'm using Ubuntu 10.04 and am trying to use it to recover data from a failed External HDD (NTFS).

The drive failed with an accompanying smell of electric burning and subsequently was not recognised by Windows. It would recognice the enclosure, but told me that the drive had to be reformatted.

I removed the drive from the external enclosure and hooked it up to my PC with a power cable and USB to SATA connector. I can mount the drive in Ubuntu (eventually) and I've learned enough about BASH to navigate through the files on the drive.

Those that I can access I am able to copy across to my internal drive (VERY slowly, but it does do it) but a lot of the directories show up with an Input/output Error when I run the ls -l command.

Is there any way for me to be able to access these files or to recover them? Should I be trying a different technique rather than just attempting to access and copy the files?

View 1 Replies View Related

General :: Data Recovery On HDD - Command Line Prompt

Feb 11, 2010

I installed Fedora 10 on a pc I built from a barebones package, I have had no problems over the past couple months until recently. When I start up the pc the OS lags on a black screen with the cursor blinking. I have searched forums but I guess since I am a newbie I am still lost in the translations. What I am trying to do is save my files that are on the pc to a DVD-RW or my external hard drive before I have to reinstall the software again.

My questions are as follows:
How can I locate the files on the hard drive? When I have the bootable cd-rom inserted I am unable to locate the HDD. How can I transfer my files using the command line prompt? Finally, is it possible just to upgrade to the latest Fedora without losing my files and going through the data recovery process head ache? Or can I reinstall the OS and not lose my files?

View 2 Replies View Related

Fedora :: LVM - Recover Contents From Overwritten Partition?

Apr 14, 2011

Accidentally, I deleted my '/etc' & '/bin' folder (i know, my fault). Then, I boot liveCD and tried to copy or fix this issue. And then when I can't figure nothing to fix it, I don't know why, I want install system on my existing system, and I thought that new installation don't touch and change my /home folder. And this step Was my biggest mistake, after this I get raw /home partition without my data. Now, I'm trying recovery my data from /home, and I don't know how do this. I'm using program testdisk but I don't know how it work with lvm and ext4. Can I recover content of '/home' or it's impossible?

View 2 Replies View Related

Hardware :: How To Recreate Overwritten Partition Table

May 29, 2010

I reformatted a ntfs drive to fat32, meaning to only reformat one partition on the drive. Because the partition table is overwritten I cannot simply restore the old partition table. Any thoughts on tools that I can use to manually re-create the partitions and save the data?

View 2 Replies View Related

Ubuntu :: Recvering From Files From Overwritten Ntfs Partition?

Sep 28, 2010

I installes Ubunu on my Windows XP pro FD and I need to rcover some files , What is the best way tto recover them?

View 2 Replies View Related

General :: Files Recovery Swap Partition?

May 18, 2011

I installed Ubuntu 10.10 on my PC. During the installation process i selected a partion on my hdd for swap , there i had some important files can i rocover it some how

View 1 Replies View Related

General :: Don't Have Permission To Read DATA Partition; Partition No Longer Visible

Oct 30, 2010

I've been using Ubuntu 10.10 for just under a week. Recently, a partition called 'Data' has disappeared, and all my music and documents along with it. The folder is not to be seen in Places or on my desktop. My only way of finding it is to go to terminal. But when I try to open it there I get an error saying I don't have permission to read it. In Puppy Linux and SliTaz I can easily find the partition and read it. What should I do to bring it back in Ubuntu?

View 3 Replies View Related

General :: Make A Recovery Partition Windows Like Of Root Folder[ubuntu]?

Jan 1, 2011

I want to make it now because it is still under the size of a dvd 3.7GB and i want to put it safe on a dvd to restore fast and not have to customize anything in case of a disaster , like me running dd again )

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

Ubuntu :: Use A Windows-based Recovery Partition On A Dual-boot Computer To Overwrite Partition And Remove GRUB Loader?

Mar 9, 2010

is it possible to use a Windows-based recovery partition on a dual-boot computer to overwrite the Ubuntu partition and remove the GRUB loader? For instance, if you booted up your computer, accessed the hidden recovery partition and used it to reset the computer to it's factory default settings, would that effectively remove the Ubuntu partition and the GRUB loader? Would a completely new installation of Windows overwrite/uninstall Ubuntu and GRUB automatically?

View 4 Replies View Related

Ubuntu :: Partition Removed By Windows Recovery Partition?

Jan 28, 2011

My set up is a dual boot between windows 7 and ubuntu 10.04. This laptop used to have vista on it. See image below for my partition set up. pretty obvious where ubuntu should be.I accidentally selected the wrong entry in grub and booted into an acer windows recovery partition. despite exiting as soon as it loaded, the long story short is that it has goodbyed linux.On booting i now just get a grub rescue prompt.I have eventually managed to boot into a liveUSB (cd drive is botched too )As you can see from the screenpic, testdisk shows linux is still there but there are quite a few entries from the upgrades.So, if i can restore the partition around this linux partition will grub come back with it and will all be merry?

I havent mounted any volumes on the drive yet, but i think i need to back up my data before messing with the partition table. is it cool to mount them to pull some data off?general advice for how to proceed would be great.Im not too hung up on keeping the linux install itself. whats gunna be easier? install into that 16gb space and then re add windows to grub, or try and recover this partition?

View 9 Replies View Related

Ubuntu :: How To Recovery Data

May 21, 2011

Anyone know how to recovery data? cuz I've del my file(film)

View 7 Replies View Related

Ubuntu :: GRUB2 Overwritten - Boot Into Windows Via TC Bootloader But "no Bootable Partition Found"?

Sep 11, 2010

I'm using Truecrypt to encrypt my Windows 7 OS. I also have unencrypted Ubuntu 10.04 installed on /dev/sda6 on the same hard drive. Since Truecrypt bootloader must be installed in MBR, I have GRUB2 installed on /dev/sda6, so I can use TC bootloader to load GRUB2. When I first install GRUB2 on /dev/sda6, I can use TC bootloader to load Ubuntu. But, if I boot into Windows via TC bootloader, and then later try to boot into Ubuntu, I get the message "no bootable partition found". I have to reinstall GRUB2 onto /dev/sda6, every time after I use windows in order to be able to boot into Ubuntu. It seems that starting Windows somehow overwrites GRUB2. Is there a fix for this?

View 1 Replies View Related

Fedora :: Data Recovery - NAS Samba ?

Feb 4, 2011

I have a fedora file server with a raid 1 array acting as a NAS for my local network. I accidentally overwritten a file that I need to recovery. What are my chances of recovering this file?

View 2 Replies View Related

Ubuntu :: SDHC Data Recovery

May 30, 2010

Yesterday, my Windows 7 machine managed to somehow destroy a SD card with some pictures on it. Now, every time the card is inserted into a computer running windows, or the camera it came from, it asks to be reformatted. Obviously I would like to recover the pictures from the card.

I tried a scanning the card with a windows program "card recovery" and the program was able to scan the card and find the images on it. But I have to pay $40 to actually copy them from the card to the computer.

So I did some digging and tried to find a way to recover the data for free using my Ubuntu machine.

Some details about my hardware:
Running Ubuntu 9.04
SD card: 8Gb SDHC from PNY Optima
The camera was a Nikon D5000

What I have done so far: I used ddrescue to create an image of the card. However, at this point, most of the instructions I found only have you try and mount the image. Then I used the testdisk utility and the mmls utility from the SluethKit to try and find a partition on the SD card image that I could mount. Both of these programs failed to identify a partition on the card.

View 5 Replies View Related

Ubuntu :: Boot DVD For Data Recovery?

Jul 13, 2011

A friend's old Compaq Presario came with Windows XP. However, when it got buggy (without his knowledge or consent), his kids overwrote his OS by installing a warez edition of Windows 7 Ultimate. Unfortunately, that wiped out all his data, including photos of his late wife that he does not have backed up. I want to recover those if possible. I don't want to install anything because that may overwrite the photos if they're still there in some shape or form.

What I'm wondering is if there's a DVD-bootable distro of Linux specifically for data recovery. If I could boot to that, I could run its data recovery utilities without danger of putting anything on the hard drive. Once I've recovered the photos and backed them up to an external hard drive, I'm going to make his PC legal by installing Ubuntu. That's no problem. I'm very up to speed on that. What I need to learn is the best data recovery strategy via some type of bootable Linux. I suspect someone has written such a tool given how often people lose data due to viruses, accidental deletions, formats, etc.

View 1 Replies View Related







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