[SOLVED] Information lost in one partition after new ubuntu installation
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm trying to do some thinking here.
* Are you sure you have lost files?
There is a difference in how apps display disk size.
Your 130GB partition is displayed as 119GB by df (post #7). (Some apps lazily uses '1000' for MB & GB instead of 1024, so 1000kB is actually not quite 1MB etc.)
* Are you sure your /dev/sda5 was mounted on media/datos when you copied?
If not, you would have filled the / partition /dev/sda2 instead of /dev/sda5, and / could show 99% usage.
I so hope this is not the case, because if so you have most probably lost your files. (Or have to pay big money to get them back.)
Well, I'm pretty sure I lost mysteriously those files... I understand what you say about the partition size, but when I run Photorec, it found files that were not visible on the partition, and that I was aware I have saved there. So they were insivible :O
I'm also sure I mounted my /dev/sda5 on /media/datos because I didn't want to lose my info, so I made sure I mounted them there.
The 99% of usage was not due to that I mounted there, because before I run Photorec I have lots of free space, since I have formatted recently that partition.
I'll let you know what happened when Photorec finishes.
Thank you all!!!
Last edited by cruzdelsur; 02-12-2013 at 04:34 PM.
I tried the first option Chris suggested, but I didn't work as I wanted. I'm able to see the partition now, if I go to media. But The files are still protected. Should I just change that with chmod? or is there something else I should do?
This is my fstab file:
# /etc/fstab: static file system information.
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda2 during installation
UUID=b08baef3-c005-4070-aa15-227d73102c66 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda3 during installation
UUID=dbd1d13b-a045-4029-8192-59f96a968680 /home ext4 defaults 0 2
# /media/datos was on /dev/sda5 during installation
UUID=9c407492-2dcf-4641-b411-328633ccdd2d /media/datos ext4 defaults 0 2
# swap was on /dev/sda1 during installation
UUID=1440874c-35b7-4dbd-9318-1fa3fc408f45 none swap sw 0 0