-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2006-05-29 at 16:08 +0200, Leendert Meyer wrote:
Restoreing all the missing files in /etc from rpms, as Carlos suggested, is quite a task.
Indeed it is. Recently a method was posted for such a case, but what he lost was /opt and his system was running: Date: Tue, 23 May 2006 16:59:03 -0400 From: Matt Standish Subject: Re: [SLE] Suse 10.1 /opt and yast2-ncurses ... #!/bin/bash for each in $(rpm -qa); do echo $each: rpm -ql $each |grep '/opt' done; Then copied the rpm names to a file and then did this: #!/bin/bash for each in $(cat filelist); do rpm -UFvh --force ftp://chuck.ucs.indiana.edu/linux/opensuse/distribution/SL-10.1/inst-source/suse/i586/$each.i586.rpm done; Another possibility would be via "rpm --verify". But the main problem is that the system is not running; thus, the OP would have to boot the rescue system, mount the old root, chroot, then operate.
Perhaps it would be simpler and easier to do a fresh install? I don't know if that is an option, and if you need to save some files first?
It would also be possible to install anew in another partition, then copy over all those files. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFEe0LHtTMYHG2NR9URAtefAJ41siTGk4LjE7CXeHdMuidHKmLzvQCcCASz Wrh3eR3Bm89q3fjZ9FCMPNA= =BpJB -----END PGP SIGNATURE-----