Ubuntu :: 10.10 - Deleted A Conifg File On An External Hardrive
Mar 30, 2011I deleted a conifg file on an external hardrive that I'm trying to recover but it did not go to ubuntu trash can. Where did it go to?
View 1 RepliesI deleted a conifg file on an external hardrive that I'm trying to recover but it did not go to ubuntu trash can. Where did it go to?
View 1 RepliesI am attempting to be careful in case my system crashes, and although highly unlikely my first question is if there is a way to first compress my Linux Partitions. After running the diskutil command in OSX's Terminal, I basically end up with this poartition scheme:
Quote:
Macintosh HD = 130GB
disk0s3 = 1MB
disk0s4 = 30GB
Linux Swap = 1.3 GB
I am sure there is a way in the Terminal to first compress disk0s3, disk0s4, and Linux Swap, and then output the compressed partitions into my external Harddrive. I have already read some of the suggestions that only /HOME, /etc/fstab/, list of installed packages, /opt, and /var/cache/apt/archives/-where all installed packages are stored, is what I should backup. But, please correct me if I'm wrong. Wouldn't it take quite a while to install all those packages again in case of a system failure. Or would it just be easier to untar all of them in their directories once Linux has been reinstalled. The closest command I have found so far in being able to achieve this is:
Quote:
sudo tar cvf - files | (cd target_directory ; tar xpf -) The above code is very suitable for what I am looking for because it enables you to copy files into another location by using the tar command where you would create In my case the new location would be my external harddrive. My external harddrive already has its own Linux partition which I am able to mount in Linux and that Linux sees as free space.
When I try to mount my 320 Gig HD I get this.
DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending
What am I missing?
Im Running Ubuntu 10.10
I am having issues with sharing an external hard drive with other users on a computer. For example if I reboot and login with user A and then logout and login with user B, I am not able to mount the external hard drive. If I reboot and login with user B first, I can then access the external hard drive with user B but not user A. Is there a way that both users can use the drive without having to reboot every time?
I am assuming this is some sort of security issue. If I login with the second user and go to /mnt/external harddrive I get a permission error."You do not have the permissions necessary to view the contents of "External Drive"." If I login with the first user and try to set the permission it doesn't give me the ability?
I installed Ubuntu 10.04 two days ago and was using my 1tb passport external HDD with it to download and store files. However today whenever i try and copy/cut and past to the HDD i get this error message..
Error opening file '/media/My Passport/test.avi': Input/output error This is obviously very fustrating and i want to stay with Linux but i do need to fix this problem else im afraid im going to have to back to awful windows.
I have a Westel 1 TB external hard drive and when attempting to partition it, the partitioner never finishes refreshing the device. I've tried gparted live, opensuse, & ubuntu; and none of them finish refreshing the device.
Another issue is, I have 200 gig of music & movies that can't be wiped out because I got no room elsewhere to move them to. I would like to set a partition of 750 gig for the ext 3 and leave the rest for ntfs.
I've pretty much installed Ubuntu Linux9.10, 10.04 and Debian 5 on external hard drives before, however, I just want to avoid certain pitfalls that may occur with openSUSE11.3. Has anyone successfully done this before? And, is it similar like Debian and Ubuntu installs in that you have to install the OS using an advanced option and specifying /dev/sdb, etc? Right now, I have Ubuntu installed on an external harddrive along with Debian as well and wanted to do the same for openSUSE11.3 and was wondering if all Unix derivatives share similar installation processes. I would just like to keep things as I have it currently where the system does not boot with Grub, and instead I have to go to the bios and specify which physical drive to boot from in order to change the boot order.
View 9 Replies View RelatedSo the other day I was trying to repartition my external hard drive and somehow accidentally wiped the whole thing out. I tried using testdisk to restore it and I thought I did ok but know when I try to mount the hd i get the following error
Error mounting: mount exited with exit code 1: helper failed with:
[mntent]: line 10 in /etc/fstab is bad
mount: /dev/sdb1: can't read superblock
I don't know much about editing things like this so I downloaded storage device manager in hopes of automatically editing my fstab, which no says:
system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
[Code].....
I was installing Linux Debian on a machine and my usb external drive (320 GB) was attached with it (It was on NTFS that time). During installation I deleted all the partitions from machine and from my external drive. Can I recover the data from this drive?
View 3 Replies View RelatedMy brother has an external hard drive that has some personal data on it that he doesn't want to lose. He was reinstalling windows on his machine and deleted both the partition on his internal drive and on his external drive. He installed windows on his internal drive only though. I want to be able to reaccess that data from the drive. All the data should still be on the drive since so write cycles have been done to overwrite it.
I guess deleting the partition removed the partition table or something so the drive doesnt mount. I would prefer to use linux (but windows is ok too) and a free as in beer tool preferably. there are normal recovery tools (I have used get data back before) that scan for any files anywhere that has been overwritten but I don't really need things that have been overwritten; just the data that is still there but not availible because it cant be mounted.
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.
I want to delete a file but it says it's in use by another program. I forgot what the command was to look for it.
View 4 Replies View RelatedI plugged in my external dvd-r (asus) via usb. It showed me some message on shell, that it has detected the cdrom(although its dvd rom as well but nevermind) and its of ASUS. But how do i know which dev it was associated with in /dev/? Since i had to test something, i plugged it out, and save the output of ls /dev/ > ~/result.txt
after plugging the dvd-rom, i compared the results and was able to find that it was associated with simple cdrom i.e. /dev/cdrom. I wanted to know that is there any command that will tell me which /dev/ file was associated with external dvdrom? i tried to see in the following result
1) df -h ( no results, just the already mounted partitions)
2) fdisk -l ( same as above)
3) dmesg | tail (shown almost the same result as was shown on shell at the time of plugging the dvd)
Is there a way to undelete a just-deleted file in JFS? I can't seem to find any information on it. I'd have sworn I did this before but didn't save the steps.
View 1 Replies View RelatedA friend had a 320 gig hdd he wanted me to back up. I saved all the files in a folder "Documents & Settings" and even made a 7z archive out of it. I used a 1tb mybook and copied the files to it then tried to delete it. Now i had recovered the files using ubuntu, but moved them to my windows partition. When i got on windows 7 and tried to delete the directory "documents & settings" i got an error saying some files had names that were too large or something like that. So i went on ubuntu and deleted the files from my windows partition without moving them to the ubuntu partition.
Well my 1tb drive just broke so i lost the files on there. Now im trying to back the files up using ubuntu. I am running scalpel at the moment, and it hasnt found anything at all. I really dont know if i set up the configuration file right. I just started scanning my other hdd that contains the linux boot. It has just started so i am not sure if it will find anything or not.
But incase it doesnt, how do i set up the config file to find the file? There are two things i deleted off of my windows partition. a 7z file archive which was the 9GB directory "Documents and Settings" zipped, and the actual folder Documents and Settings.
I would like to ask if there is a way of preventing a file from being deleted, but still retaining the option of editing it. I know that I can set write access off with chmod, but that would also mean that I can't edit the file any more. What I would like to achieve is to make it impossible to remove a file on which I am working.
View 9 Replies View Relatedi have recently beingmessing about with a few of my own files(i realise that this was not very smart) and i managed to delete it from the trash. is there any possible way that i am going to be able to recover the folder that i deleted.
View 1 Replies View Relatedlol title says it all, im pretty new with using ubuntu and was messing around, I honestly dont reember what i was trying to do, but anyway, it ended up with me deleting the /usr/bin/ld file, it didnt really change anything and everything performed as normal untill i tried to compile some c++ code a few days later. now its giving me the error, collect2: cannot find 'ld', ive been searching all over looking for how I can get it back or reinstall it, seems no one else was dumb enough to do what i did lol forgot to mention, its not in the recycling bin because I override the file, then deleted it..
View 3 Replies View RelatedI recently made the dumb mistake of using tar to make a backup of my "/" on my "/" when my "/" didn't have near enough space to store the backup. I received a warning message, so I canceled the terminal process and used nautilus to delete what amount of the backup had already been saved. That didn't seem to free up any space on my "/" like it should have, though. In an effort to find any hidden trash files that needed to be deleted, I used this terminal command:
[Code]...
I recently accidentally (permanently) deleted a bunch of files off my computer. I used "foremost" to recover all my images, but there are still a bunch of videos that need to be recovered. The problem is that foremost seems to have also recovered a crapload of files from before i switched to ubuntu (i just removed windoze today) so i have a LOT of jpg images right now (over 400,000) and i don't want to deal with that many video files!How do i recover my recently deleted videos without getting a bunch that i don't want?? (can i specify the folder they were deleted from or something?)PS: i used this code to recover my picturesCode:sudo foremost -t jpg -i /dev/sda1
View 1 Replies View RelatedI am running into a very strange problem where my my .htaccess file keep getting deleted.Attempted scenarios ftp upload file.txt rename to .htaccess ftp upload .htaccess ssh - wget url/.htaccess ssh - wget url/htaccess.txt, rename to .htaccess
[Code]...
I updated my computer yesterday and ever since when I delete something from my second hard drive it no longer goes into the trash. It not only does that but does not release disk space so now I have a blocked hard drive. I have tried deleting .trash-1000 as root but that only created a folder called .trash-0 and did not do anything. I am running kubuntu lucid lynx kernel ver. 2.6.32-31-generic
View 5 Replies View RelatedI have Ubuntu installed and I need to reinstall Window$ so that I can set up a dual boot.I cannot get my Hardrive to format, I think there is a way to format the drive in recovery but I do not remember the commands for command prompt.
View 4 Replies View RelatedI have recently reinstalled Ubuntu. As the last operating system developed a problem (Xubuntu) and I lost all my files I decided this time to partition the drive so that anything important could be backed up to the other partition.The problem I have now is I cannot work out how to see the other 40Gb of the drive in order to copy the files over. Ubuntu shows 120ish gig for its portion which is as I set it up.
View 9 Replies View RelatedId like to know how to partition my hd on kubunto!
what software should I use?
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?
I accidentally deleted a php file under my public_html folder. Is there a way I can get it back?
I typed: sudo rm contacts.php
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 RelatedBy 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 RelatedI 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.