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
ADVERTISEMENT
Jun 28, 2011
I ran mv -n /desktop /user/local/bin and as a result everything on my desktop is gone. I tried the opposite mv -n /user/local/bin /desktop in the hopes of undoing it but now only one of those directories will exist at one time. What should I do? How badly did I screw things up?
View 3 Replies
View Related
Jun 26, 2011
I accidentally cut and paste two folders into my flash disk. then i deleted the folders from my flash. How can I recover the folders? They are not in my PC trash.
View 6 Replies
View Related
Dec 25, 2008
I was trying to delete mysql server and client and accidentally I deleted the configuration folder /etc/mysql. Is there a way to recover this folder??? I thought that only reinstalling it would solve the issue, but it didn't.
View 2 Replies
View Related
Nov 20, 2010
I have a dual boot system - vista & fedora.I was cleaning my hard disk drive, using a partition manager for windows.I moved the swap partition without much thinking about the consequences - and now I can't boot into fedora. It gives the following error mount: error mounting /dev/root on /sysroot as ext3 No such file or directory.
View 6 Replies
View Related
Jul 2, 2010
I have accidentally removed my apache2 startup file /etc/init.d/apache2 using rm /etc/init.d/apache2 command.
How can I get that back?
View 5 Replies
View Related
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
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
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
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
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
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
May 13, 2011
$ cat important_file > /dev/null &
[1] 9711
$ rm important_file
[code]....
View 2 Replies
View Related
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
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
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
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
View Related
May 18, 2010
I need to know where the /usr/bin/X11 link goes to. If someone can post the ls of that directory that would be just as helpful. It is currently referring to /usr/bin/ which means its a recursive link and I do not think that is correct. A speedy response would be nice
I wish to have this resolved before I need to reboot.
View 3 Replies
View Related
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
Mar 25, 2011
I accidentally deleted /usr/lib/libz.so.1. Now I am unable to bring up GUI(I can get into command line prompt) and also not able to create this symlink file.How can reinstall/create this package/file?
View 9 Replies
View Related
May 28, 2010
I have accidentally deleted the contents of sudoers file (while trying to add a line through CLI).Anyway, I'm still logged in and can please someone paste me the default contents of the sudoers file on Lucid Lynx
View 3 Replies
View Related
Dec 25, 2010
I've a little experience about Ubuntu. I'm using Ubuntu with Windows 7 as dual boot for 1 year. Three days ago I decided to upgrade my Ubuntu version to 10.10. I've created a live version of installer on my USB stick and I've successfully logged into live version.After some time I clicked install and accidentally I gave a command like install Ubuntu to all hard drive. Installer have given error and denied to continue but it has removed the partitioning records from hard drive. So as you guessed everything within hard drive have got unreadable everything until here is the story part. I've written in order to inform the reader.
After a few hours of searching around, I've discovered a miracle called Testdisk. Following the instructions carefully I've managed to return partitions except the System Allocated space of Windows 7 which exists on the starting 100MB of memory. But I'm able to see my files within C: drive of Windows 7Then my problem has became logging into Windows. Somehow I skip following the instructions on the website of Testdisk and I've used the command called 'Write TestDisk MBR code to first sector' so at that moment my first sector was the C: drive of Windows 7 where OS was originally installed and where my files are kept. So I cannot see the files within C: because the starting bytes set to something else and I want to undo what I've done so far.
View 6 Replies
View Related
Dec 26, 2010
Just like the title said, I was fooling around with different workspaces - seeing if I could close a program in one workspace while working in another - and I seem to have either deleted or hidden all of my workspaces!I've already tried the gconf commands and they don't seem to work at all.I'm running 11.04.TYOK... a quick update. I can get to my other workspaces using ctr+alt+ right arrow, so the workspaces are still there, I've just hidden or removed the switcher applet!
View 3 Replies
View Related
Jul 1, 2011
I accidentally formatted my Win 7 partition. I there any possibility of recovery? Failing that, is there any way to salvage files etc?
View 2 Replies
View Related
Dec 16, 2010
Not sure what I did, but the nice widget showing my desktop on my new Kubuntu install is no longer on my desktop (the widget showing a window of the current desktop contents). How can I add it back?I've looked through widgets and panels, not sure what I did
View 2 Replies
View Related
Jan 5, 2011
I'm a Ubuntu 10.04 user.I accidentally deleted the Help Icon that is near to the Applications/Places/System tab and I can't find a way to add it again. I tried to right click on the panel, then I clicked "Add to Panel" and tried to find that icon, but it was not there.
View 2 Replies
View Related
May 12, 2010
i just accidentally shift-deleted a 6gb avi file a minute ago. is it possible to recover it and how? im using lucid and ext4.
View 1 Replies
View Related
Aug 26, 2010
I was messing around with the windows 7 install and wiped a valuable partition on a drive, I ripped the sata cable out afterwards... is there a way to reconstruct the table?
View 2 Replies
View Related
Aug 30, 2010
i accidentally deleted the shortcut for rhythmbox from sound & video.and cant restore it i don't know where the location and etc is.i tried uninstalling it properly from the software centre and synaptic manager and reinstalling it didnt restore the shortcuts.
View 9 Replies
View Related
Mar 8, 2011
What exactly I did here to aid in attempting to recover my Windows system. My laptop was dual Wubi-boot with Windows 7 and Ubuntu, and after encountering issues booting into my Wubi Ubuntu, I went in to recover important files to do a reinstall. Using an Ubuntu livecd, I created a directory called "win" (sudo mkdir /win) and then mounted my Windows 7 partition (sudo mount /dev/sda1 /win) to that folder name. However, after encountering some issues there, I made the mistake of removing the "win" folder without unmounting the Windows 7 partition using "rm -rf /win". After that, my Windows system appears to be missing. Can anyone tell me what exactly I did? Did I delete the partition?
View 9 Replies
View Related