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


ADVERTISEMENT

Ubuntu :: How To Recover Overwritten Files?

Dec 6, 2010

By mistake I've overwritten some of my project files. Is there anyway in ubuntu to recover those files.

View 3 Replies View Related

General :: Any Way To Recover Overwritten Files?

Apr 22, 2010

I was syncing my palm pilot but some setting must've been wrong: instead of putting the files from my hard disk to the palm pilot it took the blank files from the palm pilot and wrote them over my back-up. Anyway, I'm about sick of palm but I want to get this file back. Is there anyway I can restore to an earlier version of this file? I'm about to reboot with sys rescue cd.

View 1 Replies View Related

General :: Recover The File Which Has Been Overwritten?

Mar 15, 2011

Can I recover the file which has been overwritten.

View 7 Replies View Related

Ubuntu :: Windows Overwritten - Need To Recover Files

Jun 3, 2010

I overwrote windows with ubuntu netbook remix and lost pictures and videos. I need to recover them, they are from the last eight years and very important.

View 3 Replies View Related

General :: How To Recover Source Overwritten By Bad Compile Command?

Oct 4, 2010

I had written a source code of C++ and complied it with the same name using the following command line.For example: c++ source-code.cpp -o source-code.cpp.Now my source code has been replaced by the executable program.Is there any way to retrieve my source-code.

View 9 Replies View Related

General :: Recover Files From Ext4 File System Overwritten By New Installation

Jul 3, 2011

My main hard disk died and I replaced it. After installing windows in a small partition in /dev/sda, I thought I will try linux mint and went for it. (I need windows to play AOE, but ubuntu is my primary OS)I didnt see the options properly or some distraction, I choose the "install alongside windows" option probably expecting it to install it in the unallocated partition next to the windows installation. I had completely forgotten my second internal drive /dev/sdb which has the backup data. Linux mint went and installed itself on that drive.

Is there a way to recover individual files from the second harddrive. Now if I boot or open it through live cd, all I see in the linux mint file systems. I want to aleast recover my CV/resume from the second drive. The second drive is a single ext4 file system The old drive is completely dead, it doesnt even get recognized when I attach it to SATA.

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

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

Red Hat / Fedora :: How To Recover Entry After Installation Of WindowsXP In Another Partition?

Jul 26, 2009

After installation of Windows XP in the disk where Linux was installed in another partition the GRUB menu allowing to choose operation system to load dissapeared. This menu previously appeared right after switching the computer on. But after installation of Windows in the partition intended for it only WindowsXP is loaded automatically once I switch on my computer. But switching it on with Linux rescure cd-disk results in loading my ordinary Linux from hard drive. This shows that Linux is not destroyed at the loading of Windows, but just made unreachable. Possibly installation program for Windows has destroyed GRUB or some of its files. Does somebody know how to restore normal functioning of GRUB?

Details:

I am using Scientific Linux 4, which is derivative of RedHat Enterprise Linux.I have currently installed WindowsXP SP3. But previously I had the same problem with SP2 at the same computer and the same partition. At that time I needed to reinstall the full Linux after installation of Windows. This was not a problem, since this was right after its purchase and there was nothing useful. But recently I needed to re-install Windows, now it is SP3. And unfortunately I have received expected result: Windows have been installed, but it made unreachable Linux. Now I need to find a way to solve the problem with fixing access through GRUB to all systems without reinstallation of Linux, since it will be too time consuming to pass all its adjustments and loading which I need.

Probably the problem is typical and well-known. Grub, Linux in one partition and installation or re-installation of WindowsXP in another partition. How to repire GRUB and entries to all systems after that?

View 7 Replies View Related

Fedora :: Formatted EXT3 Partition - Recover Lost Data?

Jan 26, 2011

By mistake I formatted an ext3 partition on my external hard-drive. Now it has turned into a vfat filesystem. Is their any chance of recovering the lost data?

View 4 Replies View Related

Red Hat / Fedora :: Recover The Space Under /home And Expand The Root Partition?

Jun 29, 2011

So, I wan't completely paying attention to the default partitioning that Red Hat Enterprise 6 does.

I was setting up a base image for VMWare and the disk was 200GB, but for some reason the default is for about 40% to go to the root partition and then the rest of it to go to /home (this doesn't include the 2GB or so in swap).

Is there an easy way to recover the space under /home and expand the root partition? Assume there are no user accounts created.

View 1 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 Servers :: /etc/hosts Keeps Getting Overwritten?

Oct 14, 2010

I haven't needed static alias's for at least 3 months, but I'm assuming an update messed something up.

Upon every restart, my /etc/hosts file keeps getting overwritten back to the defaults; erasing all the hostname alias's I added. What would be doing this? Is there a new way that I'm supposed to define IP aliases now?

Running F12 fully updated.

View 2 Replies View Related

Fedora :: Overwritten Root User Directory ?

Aug 27, 2009

I did a fresh fedora install and have overwritten the root user directory ( /root) with a backup of a previous install. Now I cannot log on through the login screen with the root user password. I can login su - as root on the command line with the password OK.

View 1 Replies View Related

Fedora :: Recover Mbr / Partition Table - Boot "Super Grub Virus" From A Usb Stick

Aug 5, 2010

a windows installation on a fake-raid, /dev/mapper/ddf1_AR01p1 and an xtra penguinFS on ddf1_AR01p2. I simply tried to boot "Super Grub Virus" from a usb stick ... and the $%!($ER hosed the array. Luckily, my day to day OS and important data is on a different set of disks ... but my BIOS boot target is set to the fake-raid, so it did not kill anything genuinely important ... I just got lucky.

I would really like to restore the windoZe partition as it WAS. I actually use it a couple of times each year. I would just reinstall the OS ... really NOTHING important on those 2 disks, but I have no idea where my XP disk can be found ... but I know the xp installation is hiding in /dev/null ....

View 1 Replies View Related

Ubuntu :: Could Not Access Contents Of A Mounted Partition?

Jan 4, 2010

I had my hard disk partitioned as below:-

Size Label Mount point File system
52 GB Multimedia /MM ntfs
52 GB Backup /ABackup ntfs
52 GB Extras /Extras ext4
27 GB root / ext4
60 GB home /home ext4

The problem is that I cannot access the /MM and contents. I tried Properties > Permissions and changed applied the changes to subfolders and contents too. Now I can access /MM but not the contents. All are marked with a lock logo.There are numerous folders/files.Changing the permissions individually is a hectic work.possible to do it in a command line/script?

View 4 Replies View Related

Fedora Installation :: FC10 Network Setup Repeatedly Overwritten?

Jan 21, 2009

Recent FC10 totally clean install. Fully updated using yum.

Using gui /system/administration/network I set up my DNS to the two IP addresses I've been given.

$service network restart

cat /etc/resolv.conf and the secondary DNS has changed to the IP address of my
gateway (router, at 192.168.2.x)

I.e. something is overwriting resolv.conf

Prior to this install, I'd been successfully using fixed IP on the 192.168.2.x range quite happily. Now it only works on DHCP and DNS seems to take an age.

View 4 Replies View Related

Ubuntu :: Partition The New Drive & Just Copy The Contents Using Rsync?

Jan 26, 2011

I just installed a new HD on my system with multiple HD's already. I have a drive with two versions of Ubuntu & would like to copy the complete drive to the new drive along with all the contents & partitions of the Ubuntu drive.

1 - Could I partition the new drive & just copy the contents using rsync?

2 -If I copy all the contents over could I just reinstall Grub & edit fstab & be good to go?

View 3 Replies View Related

Ubuntu Installation :: 11.04 Install Without Format Hides Partition Contents

May 27, 2011

I have been using a kubuntu 10.10 till last week when it could not complete do-release-upgrade, so I downloaded kubuntu 11.04, specifying that I did not want my /home partition to be formatted, and went ahead with the installation. I used ext4 under 10.10 and selected ext4 again for 11.04, yet when I first rebooted after the completion of the installation, I could not find any of my files in that partition (except a newly created user home folder with the same user name as the old one). But when I looked at du -h, it's 92% full. I know I have set the mount point correctly, so it shouldn't be a fstab problem. What I should do to recover the files?

View 6 Replies View Related

Ubuntu :: Create A User Partition And Move The Contents Of Home Folder Into It

Mar 7, 2010

Gparted shows that my dual boot laptop has the following partitions: [URL] I want to create a partition and move the contents of my Home folder into it.

View 3 Replies View Related

Ubuntu :: How To Recover Logical Partition

Oct 22, 2010

I deleted Ubuntu partition from Windows and it deleted one of the LOgical partition(used for Data storage) along with it.Anny ideas how to recover that Logical partition?Windows disk manager now displays that partition as 'FRee Space'

View 2 Replies View Related

Ubuntu :: How To Recover Ecryptfs From Other Partition

Nov 3, 2010

I recently had to install ubuntu 10.10 through wubi because my olde ubuntu broke after a failed upgrade. Now I am quite happy with everything in 10.10 except I can't get to the files in my olde home folder because I chose the home folder encryption option in the installation process. How can I recover my home folder? They all seemed to be recovering from another user not another partition.

View 9 Replies View Related

Ubuntu :: How-to Recover A Lost Partition

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

Ubuntu :: Recover Data Off The Partition?

Jan 16, 2011

Well, my laptop slid off my couch and crashed down onto hardwood floor. The hard drive is shot. I was using grub and had both ubuntu 10.10 and windows 7 on it. Can't load either OS.

What options do I have for trying to recover data off the ubuntu partition? I tried loading livecd...for some reason, it won't work. Does livecd require a working harddisk?

View 9 Replies View Related

Ubuntu :: Possible To Recover Lost Partition?

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

General :: Recover Ext 4 Partition And Data?

Aug 27, 2009

Well i have an 20GB HDD (/dev/sdb) formated with ext4 and has very important files on it .All of sudden something went wrong and the 20GB partition has been lost . Now how do i have to recover that partition and primarily recover those files . Gparted shows no partition on it but unpartitioned space .

View 1 Replies View Related

General :: Recover From Deleting Partition

Apr 4, 2010

I have deleted the ubuntu partition on my xp pc. Now at restart i have the following:
GRUB loading.
error: no such partition
grub rescue>
I have no idea what to do now. I have downloaded super grub - because one of the pages that i googled said it would help - but my pc does not read from either the cd or usb drives - don't know why.I need this pc recovered today .

View 6 Replies View Related







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