Well the rescue cd version and the versions of the packages on your server are probably different, especially if you updated the system. Again, I would go with getting rpm working again and using the 'rpm -Va' to get a list of broken packages. ________________________________ From: redhat-list-bounces@xxxxxxxxxx on behalf of bruce Sent: Thu 4/21/2005 8:05 PM To: 'General Red Hat Linux discussion list'; Albert.Smith@xxxxxxxxxxxxxxxxx Subject: RE: i just did a rm -rf /*r as root!!! if i could reboot with the rescue cd... it might be enough to simply do a copy of the '/usr/bin/*' on the rescue cd to the '/mnt/sysimage/usr/bin/.' dir... this might work... -bruce -----Original Message----- From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx]On Behalf Of Smith, Albert Sent: Thursday, April 21, 2005 5:31 PM To: bedouglas@xxxxxxxxxxxxx; General Red Hat Linux discussion list Subject: RE: i just did a rm -rf /*r as root!!! ***** THE FOLLOWING WOULD WORK IN THEORY I HAVE NOT TESTED THIS **** Boot from the install CD and go into Recovery mode. In recovery mode it will attempt to search for an existing install. If it see's it you will see it as /mnt/sysimage when you do a df. Then try the following: mkdir /mnt/sysimage/usr mkdir /mnt/sysimage/var cp -pR /usr/* /mnt/sysimage/usr/ Then reboot and it should get you up to some point. At that point I would use RPM to rebuild the rpm database then update your packages as some will most likely have to be reinstalled. Albert Smith Sr. Unix Systems Administrator HPCSA, RHCT Genex Services 440 E. Swedesford Rd. Wayne, PA 19087 albert.smith@xxxxxxxxxxxxxxxxx (610) 964-5154 > -----Original Message----- > From: redhat-list-bounces@xxxxxxxxxx > [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of bruce > Sent: Thursday, April 21, 2005 8:24 PM > To: 'General Red Hat Linux discussion list'; 'Lam, Eric' > Subject: RE: i just did a rm -rf /*r as root!!! > > eric... > > not to be down, but just how would i copy anything to the > screwed up server, when the ssh/rcp/etc.. apps all appear to > have resided in the /usr/bin dir.... > > i was hopeful that using the recover cd might provide a solution.... > > but it seems that no one has a solution, other than > reinstall... which really screws me up! > > -bruce > > > -----Original Message----- > From: redhat-list-bounces@xxxxxxxxxx > [mailto:redhat-list-bounces@xxxxxxxxxx]On Behalf Of Lam, Eric > Sent: Thursday, April 21, 2005 5:11 PM > To: bedouglas@xxxxxxxxxxxxx > Cc: General Red Hat Linux discussion list > Subject: RE: i just did a rm -rf /*r as root!!! > > > If I were you, I would copy (by tar or cpio) the files from > another system that has same kernel level. What else you got > to loss now ? > > -----Original Message----- > From: Otto Haliburton [mailto:ottohaliburton@xxxxxxxxxxx] > Sent: Thursday, April 21, 2005 7:48 PM > To: bedouglas@xxxxxxxxxxxxx; 'General Red Hat Linux discussion list' > Subject: RE: i just did a rm -rf /*r as root!!! > > > > > > -----Original Message----- > > From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list- > > bounces@xxxxxxxxxx] On Behalf Of bruce > > Sent: Thursday, April 21, 2005 6:15 PM > > To: 'General Red Hat Linux discussion list' > > Subject: i just did a rm -rf /*r as root!!! > > > > hi... > > > > i stupidly just did a 'rm -rf /*r' and i understand that there's no > way to > > redo/undo this command.. it seems to have blown away my > /usr/bin dir.. > > although, for all i know, i may have screwed up a lot more... > > > > my question, is there someway that i can reinstall the '/usr/bin' > dir.. or > > am i pretty much f*ed up. i have fedora core 2. (i've asked th > question on > > the FC2 list, and they leep telling me that i need to do a complete > > reinstall) i thought there was a way to more or less recreate the > indoe, > > or > > that there was some way that you can recover if you haven't done > anything > > with the drive since the 'rm -rf'... i've seen some > postings/information > > on > > google that kind of discuss this. but i need more understanding... > > > > this is a critical system that i was putting alot of things on.. i > haven't > > done anything else to the box after my mistake.. > > > > -bruce > > bedouglas@xxxxxxxxxxxxx > > > > > There are some very expensive disk recover companies out > there so if it > is > very important to you I would suggest you get in touch with them they > will > do a track by track recover of data from the disk. I don't know what > filesystem they support but you can probably google for disk recovery > and > get the info. But I can tell you they are very very expensive. > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list