Hi all,
First post. I'm using Centos 4.4 on my home serving using samba to share a few directories, which works fine.
A couple of months ago I did something really stupid and am just now getting around to try to recover from it.
Somehow, while using webmin to share my 'opt' directory, I obviously did something wrong and ended up wiping out 'opt'.
I'm not exactly sure (and can't remember) what I did to do that.
I can only tell you I'm left with a 'file' named: " -rwxr-xr-x 1 root root 4294967296 Oct 3 2006 ext2_file ".
What I've tried to do, is dd that file back to my hda10 partition that did not work. Something obviously exists as it's a 4.2GB file, but I can find no way to restore it. I've moved that ext2_file off the partition to my var directory for safekeeping. My opt partition is empty right now and will mount, but of course, nothing is there.
So, my question is how to 'write' that file back to the hda10 partion and restore the data so that I can mount it again.
Thanks for taking the time to read my story of self-inflicted pain.
Dylan
First post. I'm using Centos 4.4 on my home serving using samba to share a few directories, which works fine.
A couple of months ago I did something really stupid and am just now getting around to try to recover from it.
Somehow, while using webmin to share my 'opt' directory, I obviously did something wrong and ended up wiping out 'opt'.
I'm not exactly sure (and can't remember) what I did to do that.
I can only tell you I'm left with a 'file' named: " -rwxr-xr-x 1 root root 4294967296 Oct 3 2006 ext2_file ".
What I've tried to do, is dd that file back to my hda10 partition that did not work. Something obviously exists as it's a 4.2GB file, but I can find no way to restore it. I've moved that ext2_file off the partition to my var directory for safekeeping. My opt partition is empty right now and will mount, but of course, nothing is there.
So, my question is how to 'write' that file back to the hda10 partion and restore the data so that I can mount it again.
Thanks for taking the time to read my story of self-inflicted pain.
Dylan