Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently put peppermint 3 on my old desktop. I put in an old hd. I booted up peppermint one to make sure the hd wasn't corrupted. Everything was fine. all files showed up. When I put peppermint 3 on and created a new partition the files were still there to my knowledge. I did not format the old partition just made it a little smaller. Now when I go to check the partition that all my files were on ( using as a storage partition ) they are not there, they were replaced with three folders and nothing is there. Please someone help me if there is a way to recover the files that would be great. i thought i had lost all the files on this hd before but they were still there.
type find / -name nameofsomefile (if you know name of some file, some part of filename is enough, like : "find / -name ZZtop" even if the filename is ZZ TOP - Star Mark Greatest Hits CD2 - 11 - .It's Only Love.mp3) or type "ls" or "ls > contentofHD.txt" (if you're in home dir it writes the main folders/files into textfile so you'll see if they're really here
I used gparted, the storage is an ext4 logical , the os partition is primary and then the swap. To make it smaller i moved the end of it closer to the beggining if that makes since. still kinda new to using gparted. kinda new to linux. i've only been recently getting into the guts of it lately. on my netbook it just ran.
Those directories together do not make sense but the lost+found does mean it was formatted with a linux file system. Hopefully you are looking at the wrong partition but it is possible that some of the data was overwritten.
testdisk and photorec are a couple of tools that can find files. It would be best to work from a live CD to keep from loosing any more data. If you have enough storage space you can copy the drive to a file via the dd command. You can then play with the file to preserve the drive.
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b434e
Device Boot Start End Blocks Id System
/dev/sda1 2048 587204607 293601280 83 Linux
/dev/sda2 * 587204608 617204607 15000000 83 Linux
/dev/sda3 617205758 625141759 3968001 5 Extended
/dev/sda5 617205760 625141759 3968000 82 Linux swap / Solaris
yes it is. music and video files. thought i had lost all these files years ago doing a similar thing. low and behold they were still there. that was when i first started using linux. a little better at it now
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.