Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 10-20-2008, 11:20 PM   #1
LQ Newbie
Registered: Oct 2008
Posts: 18

Rep: Reputation: 0
Recovering files using programs on UBUNTU

i have been having some issues lately with my computer. i have finally got my laptop running and have ubuntu and xp installed on it. however, i saved all the files from my laptop on a 750 GB external hard drive and now i cannot acess it. i already know it is my fault i lost the data, but i need to know how to recover it. i had tried to run ubuntu from the external, but was trying to use the option to create a new partition for ubuntu without hurting my data. aparently i did it wrong and i think it partitioned it and installed ubuntu in that partition. when i open the external on my laptop, i can see the folder that had contained all the data i was trying to save, but it says that i do not have suffecient permission to access that folder. well, if it's there, maybe the data is as well. is there a way, in ubuntu, to recover that data? i tried to use the ubuntu support page, but it was very confusing and most of the commands did nothing.
Old 10-21-2008, 01:31 AM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
Try to access the directory as root: "ls -l /path/to/directory/" and see if your data is there.

If the directory exists, and isn't a system directory that a fresh install would create, you may still have your data.
PLease give more details on this directory. What is it's name? Are you referring to a partition instead?

Another possibility is that the data was on a partition that isn't being used and one by the same name was created. (such as /home/<username>)
Look at the output of "sudo /sbin/fdisk -l" to list your partitions and "mount" by itself to see what partition are mounted on which directories.

Another possibility is that a different partition is mounted over the directory. If you used the directory with your data as a mount point for a partition, that will hide your data.

Please be clear about partitions and directories. "Folders" are just a graphical representation of a directory. Supply more details. We don't know if the external drive was repartitioned or not without more details.

If the drive was repartitioned and formated, there is still a chance of recovering some of the files using "photorec" or other recovery software. There are live distro's that have "photorec" and other recovery software.
Old 10-28-2008, 04:56 PM   #3
LQ Newbie
Registered: Oct 2008
Posts: 18

Original Poster
Rep: Reputation: 0
so i did the "ls -l /path/to/directory/" , (directory of "/media/disk/") and i see a list of files, one of them being "drwx------ 2 root root 16384 2008-10-18 14:46 lost+found" ("lost+found" being the folder all my information was in). does that mean that i still have the files, or just the folder? if i can recover that folder (even partially), i would be extremely grateful to anyone's help.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
recovering files edgjerp Linux - Software 9 05-08-2007 04:07 PM
recovering files krunal Linux - General 2 06-17-2005 05:38 AM
Help Recovering Files? ArenaKen Linux - General 3 06-14-2005 08:42 AM
recovering files sigeberht Linux - Software 1 06-30-2004 08:43 AM
recovering files nocturnal Linux - General 3 04-19-2003 04:31 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration