General :: Deleted Root Directory - How To Recover System Data

Feb 27, 2010

I 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.)

View 4 Replies


ADVERTISEMENT

General :: Recover Deleted Directory In EXT3?

Jul 19, 2011

recover 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

View 1 Replies View Related

Ubuntu :: How To Recover Data From Deleted Partition

May 22, 2011

I deleted an old ubuntu partition, I reinstalled Ubuntu but is there any software for Ubuntu or any other Linux operating systems that can recover my data?

View 2 Replies View Related

Ubuntu :: Recover Deleted Data Using Testdisk Tool?

Jul 28, 2010

I tried to recover deleted data using testdisk tool and now my partition table have some errors. Even though i have 3 partitions and 1 unallocated disk fdisk -l shows only 1 partition

Code:
vishnu@vishnu-laptop:~$ sudo fdisk -l
[sudo] password for vishnu:

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x68000000

[Code]...

View 2 Replies View Related

Ubuntu :: Recover Data From RAID 1 Where Partition Table Has Been Deleted?

Jan 12, 2010

I have 8.04 running mdadm raid 1. I selected the wrong drive in gparted and managed to hose my partition tables.

View 7 Replies View Related

Ubuntu Installation :: Over Windows And Deleted All The Other Partitions - Recover Data?

Oct 24, 2010

i specifically told ubuntu to install alongside my operation system (windows) and instead it installed over windows and deleted all the other partitions... i had 200gb of data that i completely lost is there anyway to recover this data?

View 4 Replies View Related

General :: Recover Data From Ext3 File System?

Jun 20, 2009

I have accidentally removed vmware virtual disk, my host operating system is RHEL5.2 with ext3 file system, i have used photorec, magicresue and foremost but still no luck to recover the vmdk file. i have seen in foremost configuration file that there are some predefined files (ex- doc, pdf, jpg, avi, zip, etc),

1. is there any way to add vmdk file extension on that configuration file?

2. if yes how can i do ?

3. by adding vmdk on configuration file, can i specifically use recover option for vmdk?

View 2 Replies View Related

General :: Recover A Deleted File Using The Ext3 File System?

Jan 10, 2011

I used the ext3 format when I formatted my partition prior to installing Ubuntu10.10. I had accidentally deleted a file and began the process to get it back. It wasn't critical but helpful to recover the file. To make a long story short I ran into to some unexpected road blocks. I tried to use PhotoRec to get the job done but with no success.

I'm just looking down the road in the event I might have to recover something important.If it would be better going back to the Fat32 file system I would rather do it sooner than later. Just as a side note I am dual booting between linux and windows.

View 6 Replies View Related

Ubuntu Installation :: Can Recover Data After 'kernel Panic Not Syncing Vfs Unable To Mount Root Fs'

Aug 5, 2011

I need to recover some data of the 'home' directory after kernel panic.I was upgrading ubuntu 11.04, [COLOR=blue !important][COLOR=blue !important]installed[/COLOR][/COLOR] on usb.Failed to upgrade because the main partition had no more space. I moved one directory of about 100Mb to other partition, but it seemed that in the main partition didn't appear those 100Mb free. i restarted the computer expecting those 100Mb free. And kernel panic.

[ 0.789567] Kernel panic - not syncing: VFS: Unable to mount root fs on unknow-block(8,1)
[ 0.789646] Pid: 1, comm: swapper Not tainted 2.6.35-22-generic #33-Ubuntu
[ 0.789716] [<c05c6468>] ? printk+0x2d/0x35

View 2 Replies View Related

General :: Moving Data From Tape To System Directory?

Feb 10, 2011

I need help writing a script that will copy everything from tape to system directory. I have a Linux box with 3 TB of Hardware space. I am using the following commands

1) mt /dev/st0 rewind

2) tar xvf /dev/st0

3) tar xvf /dev/st0 fsf 1 (Using this to move to the next segment of the tape) and then

4) tar -xvf/dev/st0

I keep repeating steps 3 and 4.

View 5 Replies View Related

Hardware :: Recover Data From Crashed System?

Sep 18, 2009

I was running CentOS 5 with VMware Server on top of it. The system died and I'm trying to recover the VM images. The system died with a 'end_request: I/O error, dev' type message. It looks to me like the 2nd partition is wonky - is that correct? The GRUB portion does boot. I pulled the drive out and plugged it into my Ubuntu box to see if could get to the files. I ran 'fdisk -l' and found:

--------------------------
Disk /dev/sdb: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders

[code]....

To me this shows the GRUB boot partition and the system drive - correct? Next I created a mount point and tried 'mount /dev/sdb2 /mnt/recover' At that point I get a

mount: unknown filesystem type 'LVM2_member'

Here's where I'm a bit lost. I believe I need to add filesystem support to my Ubuntu box. I've been looking but have yet to find something that says the default filesystem of CentOS 5 is <blah>. After I do find that info, how do I install the filesytem support to read the drive?

View 8 Replies View Related

General :: How To Recover Deleted Files

Apr 18, 2010

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.

View 2 Replies View Related

General :: What's The Root Directory On Multi-OS System

Jun 15, 2010

The root filesystem is the filesystem that is contained on the same partition on which the root directory is located, and it is the filesystem on which all the other filesystems are mounted.

In a multi-OS desktop, having Windows, Ubuntu and Fedora, what is the root filesystem as the root directory is located on at least 2 of the OS.

View 8 Replies View Related

General :: Recover Open But Deleted File Using Ln Instead Of Cp

Feb 16, 2011

Say I have a file that's downloading (from a source that's hard to re-download from), but accidentally deleted from the filesystem namespace (/tmp/blah), and I'd like to recover this file. Normally I could just cp /proc/$PID/fd/$FD /tmp/blah, but in this case that would only get me a partial snapshot, since the file is still downloading. Furthermore, once the download completes, the downloading process (e.g. Chrome) will close the FD. Any way to recover by inode/create a hard link? Any other solutions? If it makes any difference, I'm mainly concerned with ext4.

View 3 Replies View Related

General :: Recover From Deleted Ext2 Partition?

May 3, 2010

I was installing windows vista on my computer, so I backed up everything to a external drive which was formatted with ext2. I then proceeded to install windows vista. When I got to the partition section I tried installing windows vista to my raid 0. When it didn't work I decided that I would delete all my existing partitions and create a new one. Well in my haste I accidentally deleted my ext2 partition from my backup drive that was still connected. As soon as I realized what I had done I shutdown the windows install and disconnected my external drive. This is the current state of my drive from parted:

Model: WD 15EADS External (scsi)
Disk /dev/sdb: 1500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags

I know that the drive only had one partition before and that it took up the entire disk and it was ext2 (maybe ext3).

View 3 Replies View Related

General :: Recover Deleted Files In Redhat?

May 3, 2011

i lost below mention file in my appache server,how i can recover libphp5.so mod_actions.so

View 2 Replies View Related

OpenSUSE Install :: Recover Data Off A Shot Hard Drive XP System?

Dec 1, 2009

Trying to recover data off a shot hard drive. XP system. says I don't have permission to open the drives/folders.. not the owner...

View 6 Replies View Related

General :: Recover /opt/local/bin Folder That Accidentally Deleted?

Apr 2, 2010

I'm running Mac OS X 10.5.8. I was recently uninstalling mysql5 from /opt/local/bin.I typed:rm -rf /opt/local/bin mysql*instead ofrm -rf /opt/local/bin/mysql*This deleted my entire /opt/local/bin directory which puts me in a bit of a bind.Is there any way to recover those files? If not, I have a friend that is using a similar set of programs, would it be possible to use the contents of his folderIf I end up needing to reinstall everything in this folder, what is the best way to go about doing this?

View 2 Replies View Related

General :: Ubuntu - Recover A File Deleted Using Rm Command

Jul 9, 2010

How to recover a removed file under linux

Is there any free undelete software for the Mac?

I have accidentally deleted a very-very important file in my Linux (Ubuntu) machine using the command rm.

Is there any way to recover it?

View 6 Replies View Related

General :: Recover Deleted File If It Is Still Opened By Some Process?

May 13, 2011

$ cat important_file > /dev/null &
[1] 9711
$ rm important_file

[code]....

View 2 Replies View Related

General :: Undelete Or Recover Previously Deleted Files?

Oct 22, 2010

There are some files on my external disk drive that are corrupted and not identifiable. How can I recover these files?

View 1 Replies View Related

General :: Recover Deleted MySQL Database Files?

Sep 4, 2010

Some a$$ hack me MySQL and deleted all my databases, I have older copies on my system, but is there a way that Ubuntu server can recall or recover deleted MySQL database files ?

View 8 Replies View Related

General :: Any Way To Recover Deleted Files And Folders In Redhat9

Sep 9, 2010

is there any way to recover deleted files and folders in redhat9.because one of my user delete one folder through samba.please advise me or any other recover tools.

View 4 Replies View Related

General :: Recover Deleted Files From [formatted] FAT32/NTFS Drive?

Aug 22, 2011

Is there like EasyRecovery for Linux? Free open source command-line based software strongly preferred.Expecting something like:

$ fat32_recovery --some-arcane-options dump.img dir/
Recovery in progress...
~ILE1.TXT -> dir/XILE1.TXT

[code]....

View 1 Replies View Related

CentOS 5 Hardware :: Using Asus P6T Built-in Intel RAID - CPU Fan Fails And The System Halts - Recover Data?

Jan 20, 2011

The situation: computer based on Asus P6T motherboard. Two RAIDS:

- 'boot', on motherboard built-in RAID controller (CentOS 5.5 installed on this RAID)
- 'data' on 3dware RAID card

At one moment a CPU fan fails and the system halts. After the fan is replaced, BIOS informs it's reset and all the inner controller data are forgotten. After I switch it to 'RAID' mode, it remembers it was a mirror raid (RAID 1) installed, but the file system on it is completely trashed.

The 'data' RAID run by external controller isn't affected by the system failure. Three questions:

- is it worth trying to install OS on the rebuilt 'boot' RAID once again? Looks like if BIOS settings are lost for some reason, there's chance of completely losing RAID data
- has someone encountered similar problem with built-in RAID nd was it possible to recover data?
- will the software RAID be worth creating instead of using hardware RAID to replace the 'boot' drive?

View 2 Replies View Related

General :: Recover Data After Deletion Like 'rm' ?

Jan 19, 2011

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?

View 1 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 :: Mounting Second HDD To Recover Data

Apr 16, 2010

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:

config-2.6.18-128.el5 symvers-2.6.18-128.el5.gz
config-2.6.18-164.9.1.el5 symvers-2.6.18-164.9.1.el5.gz
grub System.map-2.6.18-128.el5
initrd-2.6.18-128.el5.img System.map-2.6.18-164.9.1.el5
initrd-2.6.18-164.9.1.el5.img vmlinuz-2.6.18-128.el5
lost+found vmlinuz-2.6.18-164.9.1.el5
message

This is a CentOS box.

View 7 Replies View Related

General :: Recover Data After New Installation ?

Jul 12, 2011

During a new installation of openSuse 11.2, because of a mistake, I lost access to previous partitions.

I was advised to use testdisk/testimage, but of course it didn't work, because my lost data had beeen encrypted.

How can I make linux ask me the previous root password?

I think any program that doesn't ask the previous password, isn't able to recover data. Is it true?

View 5 Replies View Related

General :: Windows 7 - Recover ~1TB Data From A Bricked NAS?

Apr 27, 2010

I bought an IcyBox NAS a little while back, and it recently died on me. I have physical access to the disks inside (1.5TB RAID 1 array), and the box was running a version of Linux. I now have the difficulty of retrieving the data from the disks. As best I can tell, the NAS uses software RAID. All I have available are 2 Windows machines, one of which has sufficient free space to hold the data from the NAS. I've booted one of the Windows machines into Linux using a Ubuntu CD, and Ubuntu can see the array drive(s), but cannot mount them.

What would be the quickest and easiest way to retrieve the data from the disks? What data can I collect from Ubuntu (10.10) that will help me pin down why it can't mount the array volume?

View 1 Replies View Related







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