CentOS 5 :: Restore Fstab Deleted File?

Feb 19, 2011

I accidentally deleted the file called "fstab,v" not "fstab" The files location was /etc/fstab,v if it is very important file and what its used for & how to restore?, as my server seems to be running fine, but I don't want to get into any problems later down the line.

View 5 Replies


ADVERTISEMENT

Red Hat / Fedora :: Restore Deleted File ?

Mar 10, 2010

I accidentally deleted one of my very important folder using the command:

That is a very important project done in Plone( a CMS ) is any way to recover my Folder.

View 5 Replies View Related

Ubuntu :: How To Restore File Deleted From Home Folder

Jun 25, 2011

By naming one of my folders wrong I thought I don't need it anymore and pressed delete button while holding shift. Is there any way I could get that folder back? (I'm actually looking for the file inside that folder - .conky config file to be more precise) I've tried scalpel and extundelete, but none of them worked.

View 2 Replies View Related

CentOS 5 :: Automount Cifs Filesystem Using The Fstab File

Aug 3, 2010

I have been running a server for 3-4 years now, and my shares have been mounting just fine. Well, the network admin looked at a backup and seen that the last date backed up was june. I got to looking around and seen that the share is not mounting. I can mount it with sudo mount -a, which tells me my syntax is correct. I get an error about IPv4 socket not opened and it is aborting the operation when I run dmesg | tail, since I can use the above command to mount later, it sounds to me like it is trying to mount before the network connection is ready.

I have done some looking over some init scripts and found that in the /etc/rc.d/init.r/netfs script it has a line that states that it is checking to see if the network is up before it starts to mount the filesystems and the such. This is set to no, my question is, can I change this option to yes and get my desired results, waiting for the network to be up before it mounts the filesystems.

View 6 Replies View Related

General :: Fstab Sdxx Or Uuid Or / Disk And Partitions In The Fstab File?

Jan 5, 2010

What would be the best way list disk and partitions in the fstab file?

View 1 Replies View Related

CentOS 5 Hardware :: USB External Hard Drive - Entry In Fstab File

Nov 13, 2009

I have centos 5.3 installed. I plugged in a WD usb external HD, Icon is showing up on desktop everything is working formatted with ext3. I would like to have an entry for this in my /etc/fstab file, and I need to know how to enable Quotas on some files on it.

View 3 Replies View Related

CentOS 5 Server :: Uploaded File Using PHP Scripts Getting Deleted Of It's Own / Fix It?

Aug 9, 2009

I'm having a very strange problem. I use lampp on centOS linux. My application has a upload Script (in PHP) which uploads file to file system. after upload and moving file to correct location, uploaded files are getting deleted. I check file upload and moving of file by putting all the status in a text log file. files are getting uploaded properly and after upload I'm able to move the files to it's correct location.

View 1 Replies View Related

Fedora :: Deleted Menu.lst - How To Restore

Apr 1, 2011

I have a Laptop where I installed both Fedora 11 and windows 7 dual boot.

While I was upgrading Fedora 11 to Fedora 14 using preupgrade, I tried to edit /boot/grub/menu.lst file to make an option to continue upgrading the system after rebooting.

Accidentally, I deleted the file content and I couldn't restore it

I knew then that I'll face a problem when I reboot the system, and I faced it >> the grub selection menu disappeared , and only the line (grub> ) appeared when I reboot the system.

1- These commands:

Code:

But when I rebooted , nothing changed and the same (grub> ) appeared again.

2- I used the instructions in the PDF attached, but unfortunately nothing changed.

I think that I have to rewrite the menu.lst and grub.cnf files but I'm not expert and I don't know exactly what was there (locations , commands , etc. )

The current system monitor for the file system is shown in the next image:

View 6 Replies View Related

Ubuntu :: Top Panel Deleted - How To Restore

Oct 2, 2010

I accidentally deleted my top panel and am in the process of restoring it. The last thing that was there which is not now is the quick link to Ubuntu Help. It is installed on my PC but I cant find it.

View 4 Replies View Related

Ubuntu :: 10.04 - How To Restore Deleted Panel

Oct 21, 2010

I was playing around with Lubuntu 10.04, accidentally delete a panel, how do I restore it?

View 2 Replies View Related

Ubuntu :: Deleted Panel - How To Restore

Mar 11, 2010

I deleted my panel (where you can see running programs, show desktop shortcut). I know - its stupid to delete panel, but I wanted to try it out. How can I get it back?

View 3 Replies View Related

CentOS 5 :: Restore Default File Permissions - Server Nonfunctional

Dec 4, 2009

I was working on a shell script to change the permissions of large directories and subdirectories because of an exploit discovered in the programs that run in those said directories that allow a client to upload and download files to the server. Loan behold I accidentally added a space and had something along the lines of "chmod -R 770 ." run on / logged in as root.

Yes, it was an incredibly noob move on my part, but nothing ventured nothing gained. I am surprisingly calm about this. I tried sliding in my CentOS installation disk and "Upgrading" CentOS but that only made it worse, beforehand I made everything owned by root so I could at least log into GNOME. This does not work for obvious reasons, namely having to change the permissions back for every user and every group, which far beyond a possibility.

View 7 Replies View Related

Ubuntu :: Restore Deleted Top Panel To Default

Jan 4, 2010

I deleted the top panel, how can I restore it to default.

View 7 Replies View Related

Ubuntu :: How To Restore Deleted Truecrypt Partition

Feb 16, 2010

my /dev/sdb was a truecrypt partition that was mounted when I accidentally deleted the partition in gparted (instead of sdc, stupid). I'm pretty sure I haven't overwritten anything since then, but I'm not sure how to go about recovering this one. To confound the problem, the only way I can install stuff to my ubunut machine is by downloading on a windows machine and transferring by memory stick.

View 7 Replies View Related

Ubuntu :: Partition Table Was Deleted / Cant Restore?

Mar 2, 2010

I was working on creating a partition on a new hard drive I was planning on using for storage. I wasn't paying attention and chose to delete the partition on my master. I am running a dual boot with Vista and Ubuntu. When I rebooted It will only go to the Grub> prompt. Ive ran TestDisk and though that I had corrected the problem but it didnt. After running TestDisk again here is what It came up with.

Disk /dev/sda - 320 GB / 298 GiB - CHS 38914 255 63
Partition Start End Size in sectors
L HPFS - NTFS 0 32 33 28554 254 63 458734027
L Linux 28555 1 1 38585 254 63 161147952
L Linux Swap 38586 1 1 38912 254 63 5253192
Structure: Ok. Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
code....

After writing the table above I rebooted. Windows prompted me for my restore disk. I rebooted to the live cd again and ran Fdisk.

code....

View 3 Replies View Related

Ubuntu :: How To Restore Deleted Logical Volume

Jul 30, 2010

I have 3 harddisks, 1 for system and 2 for data.

To manage it more easy, I tied 2 harddisk in LVM. And I made an logical volume. It used ext4 for it's filesystem.

Today, I wanted to format and reinstall the system. So I booted the system using Ubuntu CD. But managing the partition, I accidently delete the logical volume. Because backup(/etc/lvm) was in itself, I couldn't restore the old config. I just create new logical volume.

As I expected, I couldn't mount it correctly. Mount said that "Mount: Mouting failed A on B! Invalid argument!"

I must recover it, because it has a lot of import data. What should I do?

View 1 Replies View Related

Ubuntu :: Restore Deleted 'Downloads' Folder?

Nov 22, 2010

I made one of those silly mistakes and stupidly deleted my 'Downloads' folder. how one could restore it?

View 3 Replies View Related

Slackware :: Way To Restore Deleted LVM2 Volumes?

Jun 12, 2010

I was trying to remove a logical volume, but used the lvremove command incorrectly.

I did something like:

Code:

Thinking it would remove somelv from myvg

But instead it said "volume group somelv: not found" and then deleted all the logical volumes in myvg.

Is there any way to restore them or is it reinstall time?

I had some backups of my system, but unfortunately they were stored on a logical volume in the same volume group.

View 6 Replies View Related

Fedora :: /Boot Folder Deleted - Any Way To Restore Without Reinstall

Dec 1, 2010

My /boot folder is deleted by an unwanted mistake. I'm using F14 x64. I have updated my OS and I also installed more than 2 GB packages and It is very difficult for me to re install Fedora. Is there any way to fix this problem with out re installing Fedora?

View 1 Replies View Related

Ubuntu Networking :: Restore Deleted Eth0 By Accident

Mar 13, 2010

i had deleted eth0 by accident how can i restore it

View 9 Replies View Related

Ubuntu Installation :: Testdisk Can't Restore The Partition - Just Deleted

Aug 8, 2010

I tried to install Ubuntu next to XP. After restart - no XP and no Ubuntu. Something wrong with loader I guess, I see command line prompt (of the loader I guess).

So I restarted from liveCD. But no "Repair Install" option like in XP CD. So, I deleted partition to install again on top of old, then learned a loader possibly could be fixed.

So, the problem is: testdisk cannot restore partition I deleted. I didn't write on disk anything. May be swap space after couple reloads from liveCD corrupted it?

It complains "The harddisk (...) seems to small!", it sees some other partitions and doesn't see what Gparted and Disk Utility.

Let me know the best approach to get back XP running (having Ubuntu would be good too).

Here below are the screen captures for details.

Quich Search results. Can't recover what's found. Why 4 partitions are found? Notice, "The harddisk seems too small !" Could this be a problem? HDD is not Maxtor anymore

The gap is there but no deleted partition shown

Essentially same thing... going for deeper search

Deep Search hasn't recover anything new. And shows same results as Quick Search (2nd testdisc image )Hit "continue"...

Now the partitions shown as deleted because of overlapping. The partition to be recovered is still not in the list.

Anyway, my final goal is to get WinXP back and if possible, install Ubuntu. It's nice that installer still sees the XP. Too bad the loader doesn't. how to get it done.

Unlike during installation of XP, ubuntu doesn't offer to utilize the deleted partition. Is it going to stay empty/unallocated? Forget the empty space, will I get XP running if I continue and install?

View 9 Replies View Related

Ubuntu :: Deleted Top Panel - How To Restore In Original State

Aug 5, 2011

The top right panel item contains the shutdown, time, network icons, etc. I don't use the messaging icon so right-clicked and chose 'remove from panel'. The whole lot disappeared! How can I restore things to their original state?

View 5 Replies View Related

Software :: Restore Deleted Files In Gnome Commander?

Jan 26, 2010

Is any easy way to restore deleted files with Gnome Commander (v1.2.8.2)? I have external drive with two partitions: FAT32 and EXT4. I was using GC on Ubuntu 9.10 and it was working fine, today I installed openSUSE and GC is showing only EXT4 partition. Nautilus is showing both and it is working fine though.

View 2 Replies View Related

Fedora :: Deleted Default Icons In Gnome Panel - How To Restore

Oct 12, 2010

I accidentally deleted the default icons in the gnome panel on the top right. I tried to get them back from the add to panel. I went through every program I could, but none of the original programs were found. I'm running fedora 13.

View 4 Replies View Related

Ubuntu :: Restore An Accidentally Deleted Encrypted EXT4 Partition ?

Feb 2, 2010

I accidentally deleted my root ext4 partition, which I had encrypted. I am unable to log into any os since I am blocked by a Error 17. Is it possible to retrieve an encrypted ext4 partition, does it even matter that it was encrypted.

View 6 Replies View Related

Ubuntu Security :: Cannot Restore Deleted Directory Using Rdiff-backup

May 17, 2011

I have carefully made daily backups using rdiff-backup, so in the case of needing to restore I can do so.

But I deleted a directory yesterday, and made a backup in the evening. Therefore, the directory is not in the latest mirror, but in the incremental backup from yesterday.

Now I need to restore the directory. But I cannot figure out how to!

I can see the directory in yesterday's incremental backup; i.e., the following works:

Code:

Where [backupdir] is the backup (mirror) directory, and [nameofdir] is the name of the directory I'm trying to restore.

So, I have tried to restore. This is the type of thing I have tried:

Code:

Where to-restore.lst holds the name of the directory to restore (in rdiff-backup's format) and [restoredir]is where I want the restored directory to go to.

But, I get errors like:

Code:

Useful file specifications begin with the base directory or some pattern (such as '**') which matches the base directory. Well, obviously the file specification doesn't exist in the [restoredir]. That's because I'm trying to restore it! If I try to create an empty directory first, it complains:

Code:

How do I restore a deleted directory from a previous day's backup to a designated destination?

View 2 Replies View Related

Ubuntu :: Deleted User Main Folder - How To Restore Using Root Shell

Apr 14, 2011

I have system that was cloned from another system hence the user was same in both computer. I changed the computer name - to TANU. Then I added another user - BANU. I gave admin rights to second user. Logged out the first user DON- who is now only the desktop user. Before deleting the account through users and groups - I deleted the folder DON from home folder. I restarted the comp. unable to login. I had created automatic login for both users. How to restore the folder DON while using root shell.

View 2 Replies View Related

General :: Write A Bash Script To Restore Deleted Files To Original Location?

Dec 5, 2010

I have managed to write a bash script that moves files to the recylce bin instead of being deleted. Then (with a bit of assistance) wrote another bash script that deletes the files from the recycle bin. Now I need to write one that will restore the files preferably to their original location? I am very new to linux and stuggling with where to even begin...any ideas? There seems to be some advice about creating a cloning tree, but I've never heard of them?

View 8 Replies View Related

General :: Unconsciously Deleted The Project Files \ Way To Restore The Files?

Apr 16, 2011

I was working on my Ubuntu lab machine and unconsciously deleted the project files I was working on. I have been working on the project since last 10 days now. Is there a way to restore the files? I do not have sudo access. I was working in my home directory which is served by a common file system (serving all the lab machines).

View 1 Replies View Related

General :: Deleted An LVM Partition - Restore The Partition

Aug 23, 2010

I was dicking around today and I deleted an LVM partition, is there anyway I can restore the partition and add it back to my volume group or is it game over?

View 5 Replies View Related







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