Fedora :: Recover /bin Directory On My F10?
Oct 30, 2009I occasionally enter "rm -rf /bin" instead "rm -rf ./bin" under root. How can I recover /bin directory on my Fedora 10. Or may be reinstall with minimal tesualties?
View 6 RepliesI occasionally enter "rm -rf /bin" instead "rm -rf ./bin" under root. How can I recover /bin directory on my Fedora 10. Or may be reinstall with minimal tesualties?
View 6 RepliesUnfortunately, I deleted my /home/ directory by running "rm -rf *" accidentally. The partition (/dev/sda3/) has an ext3 filesystem. After deleting the /home directory, I shutted down the PC and rebooted from a RIPLinux liveUSB, which has some tools that allowed me to recover some files. However, what I would like to do is to recover the directory tree structure, rather than the files, in order to see which files I deleted.
What I exactly want is the following:
I would like to have the output of "ls -lR /home/" before deleting all the files, but the problem is that now the /home directory is empty.
I was backing up my hard drive last night when the backup drive died. Somehow some files are now missing from my hard drive. Any idea how to recover them on the hard drive. I'm using Mint 7, I was preparing to move to Mint
View 3 Replies View Relatedrecover deleted files using "debugfs" & "extundelete" by running:Code:sudo debugfs /dev/sda3
and find inode number of deleted file using "ls -d" command and then running:Code:sudo extundelete /dev/sda3 --restore-file <inode#>but when my desired file was in a deleted folder I can't find my desired file inode number using debugfs
I have a drive with an NTFS partition where all the files were deleted. What I'm looking for is a way to rebuild the directory structure and recover the files. I really, really want the directory structure as the partition contains 460 Gigs of data. Normally I would use the tools here: [URL] but I've never dealt with this much data before. Everything there that I've used creates a pretty messy dump however.
I have used ntfsundelete before but only for a few files at a time. I have no idea what would happen if I tried to run it on a partition of that size. I'm comfortable with data recovery but this amount of data is beyond me. I've run ntfsundelete with no args and from what I can tell of skimming the pages of output all the files are fine. The partition has not been written to.
I run a server where multiple people can access it via SSH and have access to the same folder. Someone recently decided to stop using my server so I deleted their login account inside the User and Group GUI inside gnome. I accidentally selected delete files owned by this user. I didn't think much of it because the user didn't actually own any of the files since it was shared among all of them. Anyway, ALL the files in that shared home directory vanished, including the home directory. How can I recover this? It didn't move all the files to the root trash or my local user's trash folder. Are the permanently deleted?
View 6 Replies View RelatedToday I accidentally removed my home directory which contains no. of other directories having my work done in last 3 years. I used the command rm -rf * . I looked for the problem in the google got some links pertaining to my problem, but got no solution. One among these links is: [URL]. Can I get back my lost data (so many directories in my home)
View 6 Replies View RelatedI accidentally rm -rf 'ed /etc directory from the main server. The server has raid1 soft-raid. Is there a way to recover the directory.
View 4 Replies View RelatedI have accidentally ended up in deleting my root directory while I blindly fired command while watching movie.
I fired following command
#rm -rf ~/<SPACE>*.out
instead of this command
#rm -rf ~/*.out
Things already done:
1) Created /root directory relogged to get some of basic settings of gnome and Desktop.
2) Things went well now when I login my desktop ,gnome environment and other things looks to be working well only prompt on my terminal has changed. I can fix it any ways.
Things I want to ask:
1) I haven't studied much about contents of /root directory to best of my knowledge is it like other user's home directory with some basic configuration files for mostly required applications. SO my question is have I lost any thing important system file or something?
2) If I have lost any important configuration or system data how can I recover it without reinstalling whole system? (My opinion about this is, It is quite possible but to do so, as far as I know capabilities of linux. But I still want comments from experts before I try any things on it because I don't want to backup my whole HDD and reinstall the whole stuff again for me and also my sister's stuff in MS.)
I have a server with Fedora 13 with which I would like to get NFS working. I have looked up multiple howto's and tutorials, but I'm having a problem not addressed by any of them.Official how-to, another how-to, and another how-to.I have verified that nfs-utils, nfs-utils-lib, portmap, and system-config-nfs are installed and running. I have verified that I have, in fact, shared the directory that I want to share, and that the proper permissions are set.
I had to go through some gyrations to get the Belkin wireless N router to allow my server to have a static IP. However, I can ping the server from the nfs client (a toshiba satellite running mint 8), and vice versa. I have (for now) disabled firewalls on both computers. I think I have disabled SELinux on Fedora 13 (for now).When I attempt to connect to the server from the client, the output looks like this:Quote:
aragorn ~ # mount -v 192.168.2.101:/test /home/kelev/test/
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Sat Dec 18 12:21:09 2010
[code]....
i want to copy a few files from my windows directory into the wine directory - its no big deal, just a few preference files so i dont have to set something up all over again. trouble is, i had the files copied, but i cant find the wine/ c: drive directory anywhere, anyone know where this can be found??
View 8 Replies View RelatedHow to recover ext3
Quote:
By mistake I have deleated my mozilla setup. Now can anybody guide me how to recover the setupfile .I dont have access to yum command in this network otherwise I cudhave downloaded it and use it.Now since I dont have any other browser so I can't download mozilla too
View 3 Replies View RelatedI had fedora 13 installed on my computer which is used a server for my php development. I had all my projects on that server. Not sure what caused this but my linux is not loading at all. It tries to load the kernel but fails and restart the machine.I confirmed that there is no hardware failure. I am planning to reinstalling fedora on the machine but I can't loose my projects which were in /var/www folder and the /home directory. Unfortunately I didn't take back for last 1 month.I wanted to know:
1) Is there any way I can recover the data for www and home folder
2) If I reinstall the fedora again then will it delete my old data on machine.
Really in a difficult situation as my projects development is halted due to this. Want to have some advice before reinstalling fedora.
I have enabled desktop effects in KDE on Fedora 10.
I clicked "everything is OK", and accepted the settings and then everything went black ...
Then I have restarted X, logged again, still nothin' ... all black .... windows and action is present, but I can't see anything ...
How can I recover this ? I am using gnome now, ...
For several weeks now I have been experiencing a problem with GNOME keyrings in Fedora 10 x86. Here is the thing: somehow out of the sudden GNOME started requesting the "Default Keyring" in order to connect to protected wireless networks it already knows. I don't remember having set one, maybe I did, and just in case I tried all my passwords to no avail.
On the other hand, XFCE, the desktop environment I use the most in that machine, has lost its ability to 'remember' passwords, which is a little painful in the long run.
I wouldn't want to just delete the keyrings because there are many stored already, and I want them back. Needless to say I have root access to the machine. Is it possible somehow as root (or as user) to fix that problem and restore both access to the stored passwords and the ability for Network Manager to remember them?
Just to be on the safe side I created another user and that one 'remembers' the stored passwords and is not prompted for the "Default Keyring".
Because a customer of mine is inefficient in doing backups I have to do a recovery if possible. Drive had vista on it and was really bug infested to point of a reload. I reloaded vista from scratch and then my customer says "Oh, I guess I forgot to back those files up...".Is it possible to recover some files even though vista was reloaded? I suppose the basic answer is "As long as they havent been overwritten yet".
Im running testdisk and its made a ton of directories with files in them that I assume it has recovered. Im going to have to write a script I guess to grab the files as there are about 600 directories!I guess what Im asking is 1. What are my chances of success? 2. Has anyone ever recovered files from a vista re-install? 3. Is testdisk the best way of going about it (with photorec).
I had a back-up of the files of someone . He realized that he wants those files , after I had deleted them . And now I need to recover them . How can I do that?
View 5 Replies View RelatedI'm running Fedora 15 64bit on a HP Elitebook 8740w. I have both Gnome and XFCE installed, and have only noticed this problem while using XFCE, but that may just be because I am using XFCE more than Gnome (that's another story - which I won't go into!). Anyhow, twice in the past 3 days I've been in the middle of using the PC, and it has "locked up". By that I mean, using the keyboard and mouse have no effect. The display does not change, moving the mouse does not move the cursor from it's current position. And keyboard commands seem to have no effect (I've tried ctrl-alt-backspace, ctrl-alt-delete, and alt-F1, alt-F2, etc.). The only way I can continue using the computer is to hold in the power button until it powers off.
I suspect, but can't be sure, that it may only be a problem while I'm in XFCE. The reason I say this is that the first time it happened, I was trying to do a screen capture using The Gimp while in XFCE. Today I also tried to do another screen capture (again whilst in XFCE), and X kicked me out back to the login prompt. I then logged into Gnome and was able to successfully do the screen capture. Later in the day I was using XFCE and programming in SpringSource Tool Suite, when the "lock up" occurred again, requiring me to switch the PC off again. I've had a bit of a look in /var/log/Xorg.0.log.old and it finishes like this. I'm not sure if it is enough info to track down the problem though?
[Code]....
I have installed Fedora 12 then updated all the packages, after that my windows got crashed so i reinstalled Windows 7 then i lost my grub loader
recover my Fedora 12 with out reinstalling it again
I recently installed Fedora 12 on a system with 3 HDs, using the first hard drive for root and swap, and the other two as a RAID 1 device mounted to the folder /data. This was all set up while installing from CD. /data appeared as a folder under Filesystem in the GUI
After trashing the OS, I reinstalled from CD. I formatted only sda to recreate the OS; sdb1, sdc1, and RAID MD0 were not changed during the reinstall. When the newly built system is started up, RAID MD0 does not appear when I run fdisk -l. It does show up in the GUI when I open "Computer" as RAID-1 Drive. When I open it and authenticate as root, it then appears as RAID-1 Drive 320 GB Filesystem. I can open that and authenticate as root again to access the files that were on the initial RAID 1 device when I reinstalled. At this point MD0 is listed when fdisk -l is run, with the message "Disk /dev/md0 doesn't contain a valid partition table"I am able to mount the opened RAID-1 device to a folder, but each time I reboot the system I have to open and authenticate the RAID device twice to access the files in it. Is there a way to configure the OS to recognize this RAID 1 device as it did before I reinstalled? My goal is to recreate the RAID device without having to move the files on it to another drive.
which log file should i look at to debug problem with system sleep or anything to do with the system won't return back after goes to sleep.
Basically i got my system running from the night before. No problem until this evening around 5pm. (i realised the problem at 5pm) my monitor goes to sleep. My system power still on. It won't respond to monitor/mouse movement. i can't ssh in.
After reboot, check /var/log/messages. The only message there before reboot was at 9am. I am pretty sure everything worked fine around 2pm.
I have a laptop with Fedora 12 on it and I accidentally did an dd if=/dev/zero of=/dev/sda (since then I learned to think before I type)
anyway, I stopped it in time (I hope), it only zeroed first 60 MB. So, it killed partition table and boot partition. What I need is home partition, and it should be untouched. home is on a LVM device (fedora default install settings), and I tried testdisk (supposedly handles LVM) but it found only one partition (I guess it's a LVM physical device, as there should be 3 partitions, /, /home and swap) and said it's not recoverable.
Is there a way to get access to files on that partition (partition itself, including file table should be untouched). Partition contains various data (video, audio, and text) I need back (and it's my data, not backed up, and not something I can redownload). Is there any software that can help me with this, and if not, is it theoretically doable (I believe it should be, as the partition itself is not damaged, so it should be possible to read file names and link them with data on disk, am I right)? what is a good way to image the disk, so I can reinstall the laptop while trying to rescue data from image?
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 RelatedI switched from OpenSUSE to Fedora and I moved a folder full of coursework and a backup of that folder (which was pretty outdated) onto a usb. Once I had installed Fedora, I first deleted the outdated backup, intending to make another fresh one but then I realised that somehow the original files hadn't copied from OpenSUSE onto the USB.
The situation I'm in now is that I only have the outdated backup in the trash can so I need that back but I get the following error message when I try and recover it:
Quote:
Error while copying to "desktop". There was an error getting information about the destination.
And then when I select the "Show more details" drop-down:
Quote:
Error stating file '/media/5E7A-32A1/desktop': No such file or directory
I am about to repave an FC14 box with FC15. To save a bit of mucking about, I would be keen to restore, from backup, the file(s) needed to reactivate my WiFi connection under FC15. I can always rebuild from scratch, but recovering from backup would prevent finger fumbles from making the task harder, as I have a long-winded 128-bit key.
View 9 Replies View RelatedI recently decided to do a dual boot computer running windows 7 and fedora 12. After running disc management in windows 7 and shrinking my main volume down so there was enough unallocated room to install fedora I rebooted and ran the fedora live cd. I then chose the option to install fedora on unused hard drive space.
After all of this I booted up fedora and everything ran great and I have access to all my windows files when I mount that drive. I restarted my computer and tried to boot into windows 7 and ended up with the error "bootmgr is missing press ctrl alt del to restart". Is there any way to recover from this and use windows 7 again?
I have a usb drive that is owned by root with chmod set to -w-r-x for all othersthe system that root existed on crashed and now i'm trying toecover the files on my usbi have the root password and uuid of crashed hdd can i use a program or copy uuid to new system to recover usb?
View 1 Replies View RelatedI moved a few files from a directory in my home directory structure to the KDE trash folder, and then deleted them from the trash folder. About a minute later I regretted this, and now I'd like to see if there's any way to recover the files. First, are there any good utilities for restoring accidentally deleted files? If so, where would I look for these files? Does the KDE trash config file actually correspond to a physical directory somewhere, or do the files just remain hidden in their original location?
View 7 Replies View RelatedIn my dual booting system consisting windows & fedora 12, for some unfortunate reason I have to reinstall windows .Earlier it was XP. Now it will be Vista. Now how shall I recover my fedora after windows installation. Can I follow the following steps or I have to do something else:
Code:
#grub
#root(hd0,8) [since my / partition is in /dev/sda9]
#setup(hd0)