Please, before I get the chastising and you-should-know-better lectures, bear with me, it was a mistake and I'm sorry. I'm also a volunteer in a developing nation and really, we cannot afford backup media. I try to sqeeze ounce of computing from old crap as possible and it if works we use it.
So, here is my dilmena in a nutshell:
I ran rm -rf /etc instead of rm -rf etc/ (as root, yes I'm an idiot). I pressed control+C as quick as i could, but alas it was too late. I freaked out, closed my ssh session and the nighmares began. The computer on which I ran this command is actually my backup server and, has some stuff that I must to get off of it.
Now it looks like my /etc/fstab and /etc/raidtab are gone as well as /etc/passwd and all the usually goodness. I ran the FC3 (version i'm running) repair DVD and it can't find the system image to mount it. Right now I'm using Knoppix and here is where I'm at...
Now I know that the device was/is at /dev/md0 and I'm pretty sure that I had a Logical Drive configured. This is just so over my head at the moment, I don't know where to get started. I'm sort of a recent linux convert and my last year has been baptism by fire.Code:Here is the output of fdisk -l Disk /dev/hdc: 81.9 GB, 81964302336 bytes 16 heads, 63 sectors/track, 158816 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Device Boot Start End Blocks Id System /dev/hdc1 * 1 158816 80043232+ fd Linux raid autodetect Disk /dev/hdd: 81.9 GB, 81964302336 bytes 16 heads, 63 sectors/track, 158816 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Device Boot Start End Blocks Id System /dev/hdd1 * 1 158816 80043232+ fd Linux raid autodetect Disk /dev/hda: 81.9 GB, 81964302336 bytes 255 heads, 63 sectors/track, 9964 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 13 104391 83 Linux /dev/hda2 14 77 514080 82 Linux swap /dev/hda3 78 9964 79417327+ fd Linux raid autodetect
What I'd like to do is mount the drive in knoppix so I can find some space to copy the backup files or fix my fedora so that it at least boots. If you can help me with this, i may convince our school principal to name his 9th child after you. Thanks fedora community.


Reply With Quote
