You are not logged in.
Pages: 1
Ok, that was really dumb. No jokes, please. Or...ok, I deserve them.
I wanted to disable the journal on one of my partitions, but accidently did it on the wrong partition. So I ended up with a lost /home, with all files gone. First Idea was to use extundelete from Parted Magic, but that does only work with a journal...which is gone. Photorec gives me thousands of files, but without correct names, so it will be useless.
Is there any other way to restore the files/folders? The system was not booted since my little accident.
Offline
Well is it possible that you could boot from a live DVD/USB? Then you can mount the drive in question, and try and access the files normally? If the files really are gone, as opposed to being, say, only corrupted, you should be able to tell from the live disc. Perhaps there may also be some sort of disk repair tool you can use, though it looks like you have already tried that.
One other thing is that, IIRC, a folder owned by root called lost+found is generated when the system loses power. Again, if I am not mistaken as to this folders purpose, perhaps there may be something of interest there.
Hopefully you can recover your files soon!
I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.
Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...
Offline
Not a Sysadmin issue, moving to NC...
Offline
Thanks for the answers. As this was really spupid: I had a recent backup and made a new partition, recreating a new /home. So as a advise for all newbies: DO NOT (IN ANY WAY) DO STUPID STUFF TO YOUR PARTITIONS WITHOUT A BACKUP OR KNOWLEDGE ABOUT WHATEVER YOU'RE DOING: NO. NOT. NEVER.
If anyone has an andvise for undoing stuff inthe way I did here, post it please. For the poor souls. ![]()
Offline
If you haven't tried what I mentioned above, feel free to do so. Otherwise, the only thing I can think of is to boot it normally. That would give us some errors perhaps. Errors which could then be researched to find an apropriate answer.
Also, don't beat yourself up over your mistake. Trust me, I have done so (beating myeslf up over mistakes) for months until just recently. Mistakes are how we learn, but if it prevents us from moving forward, that's when we have problems. Anyhow, I didn't come here to give you a pep talk or anything but I hope you have learned the lesson from all of this. ![]()
I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.
Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...
Offline
Thank you for your words. Indeed, I've learned some lessons a while ago, so I had some recent backups. But for people with similar errors: is there a way to get back files that are lost on that way? I've used the mkfs.ext4 command and I've destroyed the superblocks that way. Extundelete only works with an existing superblock afaik.
Offline
Pages: 1