-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/13/2015 11:31 AM, Rich Shepard wrote: > Setting up a netbook and accidently removed /etc/ rather than a > local etc/. Is there any way to restore that directory, e.g., from > the Slackware distribution DVD, without re-installing and > re-configuring the whole thing? > > Rich >
Rich Ouch. This will be tough without the user and group files. If you are still logged in as a regular user you won't have wright access to /etc/ since you can't su root. The etc tree skeleton resides on the original slackware DVD under slackware[64]/a/etc-14.1-x86[-64]-2.txz You *might* be able to boot the slackware dvd, chroot (so you will now be "root" into the harddrive install, then "installpkg" this package. You will have to then reconfigure lilo, users, networks, etc., in the chroot environment. This "should" work, but I have not personally had to try it. I have done this trick to fix the /boot directory and lilo. Alternatively, you can remove the harddrive and mount it in a known good slackware install and copy that /etc/ tree over as root...with appropriate adjustments as needed. Good luck and have fun ! - -Ed -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlV8gtYACgkQXvwMaW61dLfTMACeO1zH+vpzDG66CQTwv92LkVSX jlkAn1MNrMAk0Y9d3LRgIY/pl82bRmRG =T4H5 -----END PGP SIGNATURE----- _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
