I did something really dumb and accidentally removed the e2fsprog package. Now it deleted all these executables (openssh,scp, yum, etc). If I could just recover the /usr/bin direcotry I was thinking I can reinstall the e2fsprog package. Trying to scp over these executables from other servers won't do because scp and ssh is gone. I still have a sesssion opened right now.
we know that /etc/passwd - is a replica of /etc/passwd file and acts as a backup in any damage done to /etc/passwd file..i have observed a strange thing in RHEL 5.4....for example... if /etc/passwd has 100 accounts.. then /etc/passwd - is having only 99 accounts....when i add 101 useraccount with "useradd" then /etc/passwd has 101 accounts and /etc/passwd is having the 100th account of /etc/passwd - ..when i delete /etc/passwd and recover it with /etc/passwd - from runlevel 1 the lastly created user is not having his account after recovery.. what is the solution? this is same case even with /etc/shadow and /etc/shadow -
I have tried to compiled e2fsprogs-1.41.12 to be used on my android device that runs linux kernel. I need to compile it with -static option but building returns error First is the configure:
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?
I had some bad luck today when I was trying to fix an account that had trouble with FTP. I decided to remove the user and add him again and reset all configuration. Anyhow, to make things short, I accidently typed rm /* -R -f and without looking hit the enter button, as soon as I realised what I wrote I hit ctrl+c. Too bad the /bin/ folder was gone by this time and standard commands like ls didn't execute anymore.
My question is if there is any way to recover these files by a system repair or something? The server is used to host a heavy loaded site which can't afford any downtime, and silly me didn't make a backup of the whole HDD, just the important folders (not the system files).
Currently I don't have the balls to restart the server as I know this will probably turn into a dissaster. I also don't have straight access to this server since it is located in a datacenter (I can go there if absolutely necessary but I rather don't).
i have already installed Debian 6.0 i386 & Windows XP in my PC. But due to some Problem i have again reinstalled Windows XP ... So How to Recover the GRUB in my PC which i have already installed Debian 6.0 i386
I have installed fedora10 on My PC for last month and forgotten the password and User name and Password Both super and other.Tell me How Can I open My Pc.
I am using red-hat linux-5 version. My profile become corrupt and now I can't see the files, folders I had saved. How can I recover my corrupt profile.when I open my profile there appears no data.
I have an external 250gb hard drive where I had copied all my documents, pictures, etc etc. I wanted to reinstall windows xp on internal hard drive but I made a mistake and deleted the partition on the 250gb external hard drive. Is there a way to recover those files? I didn't format the 250gb hard drive. If yes, which software do you guys recommend? If this needs to be posted on another forum please let me know.
SO after using Testdisk to recover some images, the folders recup_dir.1 & 2 have saved in my FIle System area, when ever I try to press delete noting happens. I have also tried rm -f -rrm -f -fIt still dont delete, I have also deleted my user account and made a new one, but the files are still there.
I am trying to use an old box as backup server. I have tried a couple of possibilities along the lines of:
Quote:
rsync -a --delete --progress --log-file=/home/$USER/info.txt -e ssh /home /etc root@192.168.0.106:/mnt/back
The problem is it does not delete files that has been removed from my local system? I run the command as root on the local system.
(I realize I should properly not ssh into the server as the server's root but I'm having trouble with the permissions and I want to make sure everything else works before messing around with it)
My laptop has two os. one is windows vista. and other is Ubuntu. I am currently on ubuntu system, this is my primary OS.There are 4 partitions of my hard diskWindows OSLinux(Ubuntu OSData Now the problem part. The data partition is NTFS. I have mounted this partition on the location /media/windrive-a under ubuntu OS.A little while back i decided to delete the mounting of the data partition and i fired command rm -r /media/windrive-a/. To give me a shock; all my data on data drive is gone.Now, I know this is not the command to remove mounted partition. But I have committed the wrong. Is there any way i can get my data back. These are very important data for me.
Possible Duplicate:Recover a file deleted using rm command in Linux.I have accidentally deleted all the stuff under my home directory, say /home/OriginalWood, is it possible to recover?Now the home directory is empty and not yet overlapped by any data. So, is there a way to recover?
Computer has 3 partitions: windows swap, windows recovery, and 3rd, which currently has linux.
There is grub installed, which lets me choose to run windows recovery, or linux. Both boot fine.
But. I'd like to remove Linux, and use recovery to install windows. When I boot to recovery, and make it install windows, it does so, but after rebooting all I get is:
error: no such partition grub rescue>
ls shows 3 msdos partitions, but I don't know what to do with it further.
When I did boot Linux rescue, and overwrote first 446 bytes of /dev/sda to remove grub - computer doesn't boot at all.
I do not have any bootable windows disks, just the rescue. I do have another computer I can work on, so I can download stuff from internet if it would help me.
I'm trying to recover a lost partition from a faulty SSD . I've used Linux last time, hence I'm a bit rusty. Still I'm trying to recover a damaged SSD filesystem on a eeePC 900 of a friend of mine ...Here are the details.
Asus eeePC 900
- 4GB primary SSD (OS is installed in here and works fine)
- 16GB secondary SSD (this one is faulty; after a few weeks of problems this friend of mine made some sort of system restore, but Linux couldn't use it correctly and trashed it away with all of it's data ... he couldn't explain it better to me. I'd like to recover the files from within this SSD)
Here's what I did on the eeePC:
1) fdisk -l Disk /dev/sdb: 16.1GB, 16139354112 bytes ... /dev/sdb 1 1962 15759733+ 83 Linux
[code]......
I'm trying to find out the right words without generating any inflammatory answers from the community ... I currently kinda have only a Windows Seven installation available to work with ...
If you're still with me I add a few more details. That's all been done on the Win machine.I've managed to load the sdb.img file with Gizmo (it's a little software that mounts img files). Gizmo couldn't load the sdb1 partition inside of it but ... another program called PhotoRec managed to access the mounted disk, found the ext3 partition inside of it (gave me a few errors though) and successfully recover a lot of files :-) Well, a lot, not all of them, and not every recovered file was good That's a first improvement, that tells me sdb.img actually contains valid data even if only partially valid. I don't know if PhotoRec is to be blamed for the failed ones or the SSD image file did not contain enough valid data to let PhotoRec do a good job.
Now I would go back to Linux. I'm well aware that Linux has more potentials than Windows when it comes to handling disk images, loopback devices and so on; but, as I already said earlier, I'm a bit rusty.I'm willing to make a fresh installation of Linux (maybe Ubuntu) on a spare harddisk in order to get full advantage of that and dig deeper but I need directions when it comes to recover that lost partition. I'd like to try and recover the entire partition (not only a few files), maybe rebuilding the ext3 superblock or whatever.Here I'm lost, I don't know what has been developed in the last years regarding partition recovery in Linux, what tools are available, which forums deal with such techniques, I'd like to be pointed in the right direction.
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.
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 .
I thought I knew my way around a little, but apparently mounting is still a complete mystery to me. I'm trying to back up my data with Knoppix since Ubuntu won't start up. something weird is happening with the keyboard and it starts spamming ^[[26~ across the splash screen. When I try to read my hard drive, Knoppix tells me "mount: wrong fstype, bad option, bad superblock." It seems like it should be a pretty common error, but I haven't found any anything helpful and understandable that doesn't involve rebooting (won't get me anywhere with Knoppix). I think it has something to do with Knoppix insisting my drive is hda instead of sda, though I have read that Ubuntu likes to tell you hda is sda anyway. Knoppix is the only distro that has worked on a live boot so far.I've thought of trying dd, dd rescue, or just cp onto my external, but I don't know if Knoppix's hda business will make a working backup. The other computers around are all Windows with no extra space, so I don't know what the easiest and safest way is to test wether the back up worked.
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
I wanted to get some data off a second disk, let me tell you what I did. (that didn't work). The data I am looking for is under /etc/ on the second disk. I looked in /dev for /dev/hda or hdb but there was nothing.
I found: /dev/sda /dev/sda1 /dev/sda2 /dev/sdb /dev/sdb1 /dev/sdb2
So I guessed /dev/sdb /dev/sdb1 /dev/sdb2 was the second disk. So I did: mkdir /tmp/olddisksdb mkdir /tmp/olddisksdb1 mkdir /tmp/olddisksdb2
Then I did mount /dev/sdb /tmp/olddisksdb and got mount: you must specify the filesystem type mount /dev/sdb1 /tmp/olddisksdb1 and got no feedback (good?) mount /dev/sdb2 /tmp/olddisksdb2 and got mount: you must specify the filesystem type
If I do: ls /tmp/olddisksdb - I get nothing. ls /tmp/olddisksdb2 - I get nothing ls /tmp/olddisksdb1 - I get:
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 .