I was trying to decrease the size of my main partition so I could create a secondary and install Windows 7 to.I was using Norton's partition software. My computer had to reboot and before reaching Windows XP it started doing the resizing. For some reason it failed in shrinking my main partition. I'm not sure if any harm was done while it was trying to do this.I proceeded to run the Windows 7 installer, under the impression I could just install Win 7 to the same drive and leave all my personal files alone. Right when the installation started during the "Copying files" stage I hard reset the computer after getting nervous and changing my mind..
I booted up Ubuntu Live and found that my main file system had been cleared, and only a few tiny temp Windows 7 installation files where there.I am sure there were no deep formatting done, only a quick format by the win 7 installer. there is any software I can run in Ubuntu to scan the drive for files to recover them, because the new file system overwrote the old one.
I had an Ubuntu installation on my laptop, on an encrypted LVM (this was /dev/sda1).
I was planning to write an Arch Linux image to my USB drive (/dev/sdc1), following this guide - [URL] USB_Installation_Media#Overwrite_the_USB_drive. Instead, I accidentally overwrote my Ubuntu by using
dd if=archlinux.iso of=/dev/sda
Is there any hope of recovering my Ubuntu installation, or is it totally hopeless, and I rather recover as much data as possible?
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.
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.
I've been using Evolution for several years no without problem. Yesterday I started getting the message"Error while openinghome/name/.evolution/mail/local#inbox".The mail is all there in local/inbox.sbd, but I can't find any way to tell the program this. I've got it all backed up on Dropbox, but can't find any trace of a #inbox. At least nothing with that name that's been recently deleted.Is there some way of recreating or recovering the file I need?
A friend had a 320 gig hdd he wanted me to back up. I saved all the files in a folder "Documents & Settings" and even made a 7z archive out of it. I used a 1tb mybook and copied the files to it then tried to delete it. Now i had recovered the files using ubuntu, but moved them to my windows partition. When i got on windows 7 and tried to delete the directory "documents & settings" i got an error saying some files had names that were too large or something like that. So i went on ubuntu and deleted the files from my windows partition without moving them to the ubuntu partition.
Well my 1tb drive just broke so i lost the files on there. Now im trying to back the files up using ubuntu. I am running scalpel at the moment, and it hasnt found anything at all. I really dont know if i set up the configuration file right. I just started scanning my other hdd that contains the linux boot. It has just started so i am not sure if it will find anything or not.
But incase it doesnt, how do i set up the config file to find the file? There are two things i deleted off of my windows partition. a 7z file archive which was the 9GB directory "Documents and Settings" zipped, and the actual folder Documents and Settings.
i have recently beingmessing about with a few of my own files(i realise that this was not very smart) and i managed to delete it from the trash. is there any possible way that i am going to be able to recover the folder that i deleted.
I've just tried to open an .odt file which says it's corrupt and cannot be recovered... The last backup I can find is from about a month ago and is 10,000 words shorter than the corrupt version.I have no idea why the file has suddenly become corrupt
The man page for rm says Quote:Note that if you use rm to remove a file, it is usually possible to recover the contents of that file. Do you know of a way to recover a file deleted with rm?
I bought a new SD card which I intend to put some MP3s on - except that I can't write to it because it tells me the destination is Read Only. No-probs thinks I: I'll just reformat it.
"Error creating file system: helper exited with exit code 1: cannot open /dev/mmcblk0p1: Read-only file system"
Various chmod commands all result in Read-only file system. I tried umount then mount commands, but it couldn't find it to mount once I'd unmounted it using the same /media/ file path (I assume it's the only one).
My Redhat Enterprise Linux 4 with 6x partitions (/, /boot,/home, /usr, /var, /tmp) of 6.0 GB IDE Hardisk was working quite fine. I decided to create LVM on /home and /var partitions but due to some errors occured and I delete the /home partitions. That's why partition table altered. I then delete 4,5,and 6th partitions (/home, /var, /tmp) partitions and now try to create one by one but following error is coming:-
[Code]....
The Super block could not be read or do not describe a clear ext2 file system. E2fsck b 8193 <device> I have tried following commands,but could not successful:- e2fsck -p /dev/hda7 (where hda7 was created but afterthat it was deleted) e2fsck -a /dev/hda7
v10.4 in place, new install. Now this is really weird, my mtab keeps on being replaced with a default mtab (from where?). I loose my NFS mounts and only notice when they cannot be reached. This also happens it seems randomly (just make it easier to debug and fix)
Now what process has the ability/authority to replace my mtab, that process should have sudo authorization, correct? Is there some kind of silly root kit doing this?
was doing dual boot Ubuntu with win xp (on separate drives ) . XP went curropt I reinstall it and it over written GRUB . So , now I no more get option to boot into Ubuntu ...how can I install grub with live CD I am not an experienced user so kindly tell step by steep procedure . (Ubuntu boot directory is /hda7)
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.
Have just assembled a new computer and thought I would install the 64 bit version of openSUSE 11.2 in a "Windows free zone". After a hiccup or two I have managed to get a system of sorts running but on trying to copy files from my old computer(via a memory stick) it tells me that Vfat is an unknown file system.On my old computer I am running 32 bit openSUSE 11.2 as a dual boot system with Windows XP and have no problems moving files between the two different file systems.Is it possible to get a 64 bit file system to read 32 bit file system drives and if so how do I do it?
I recently installed a few packages from source using checkinstall (notably x264). Today, when my normal synaptic/apt-get upgrade ran, it wanted to to overwrite the (newer) version I installed with the (older) version in the repos.Is there any way to have synaptic/apt ignore packages installed via checkinstall so that they aren't overwritten?
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?
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.
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.
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?
A colleague of mine has a Linux box (running Debian I believe) with an SVN repository on it. The repository directory and files 'owner' is my colleauge. We are both members of a group called 'users'. He manages several projects both Linux and Windows apps, while I have one Windows app. For the Windows apps, we both use TortoiseSVN via an SSH link to commit/update. Performing the command 'ls -l' shows the repository files and folders on the Linux box to have the following permissions:
-rwxrwx--- john users
However, when my colleauge commits to the repository, the permissions change to:
-rwxrwx--- john john
This then means I get 'Permission denied' when trying to access the repository myself as it appears that the group permissions have been overwritten with only 'owner' permissions. To fix this, a 'chown -R' command is applied to the files/folders to set the permissions back to owner/group, but each time he writes to the repository, the issue repeats.
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.
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?
I have been trying to follow this guide for dnssec http://wiki.debian.org/DNSSEC in which at the very last it gives that you should change the value in /etc/resolv.conf to 127.0.0.1 Now in mine, network-manager overwrites the values. Is there a way to stop network-manager from overwriting the values in /etc/resolv.conf ?seems the simplest is to write-protect it. chattr +i /etc/resolv.conf
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.