Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-02-2004, 01:33 AM
|
#1
|
|
LQ Newbie
Registered: Sep 2003
Posts: 12
Rep:
|
Accidentally deleted /etc/init.d .. what do i do? :|
hey i was wantint to delete a file in /etc/init.d however i accidentally deleted /etc/init.d itself :|:|
what can i do? is there a place where i can download all the files again? or is there another way of recovering them?
thanks in advance
bryan
|
|
|
|
03-02-2004, 05:22 AM
|
#2
|
|
Senior Member
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038
Rep:
|
right.. well what distro you got (as distros usualy have custom files), you can make them yourself tho
/etc/inittab
has links to tell what and were certain files are, its just easyer to go put in your install cd and see if you can grab the files from there, if not then i sugest you learn shell scripting
|
|
|
|
03-02-2004, 05:30 AM
|
#3
|
|
LQ Newbie
Registered: Sep 2003
Posts: 12
Original Poster
Rep:
|
hey buddy.. im using gentoo
ive got some of the files out of the stage 3 tarball.. ill list the files that i've recovered and the ones i have.. if you could give me some idea of where i can get them from :|
files i got:
bootmisc
checkfs
checkroot
clock
consolefont
crypto-loop
depscan.sh
domainname
functions.sh
gpm
halt.sh
hdparm
hostname
keymaps
local
localmount
modules
net.eth0
net.lo
netmount
nscd
numlock
reboot.sh
rmnologin
rsyncd
runscript.sh
serial
shutdown.sh
sshd
switch
urandom
-----------------------
and the ones i had:
xdm
xfs
famd
aumix
dcron
cupsd
mysql
mythbackend
consolefont
esound
sysklogd
rmnologin
hotplug
bootsplash
|
|
|
|
03-03-2004, 05:27 AM
|
#4
|
|
Senior Member
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038
Rep:
|
right, those files very a big deal
the ones u said u dont ahve:
xfree86
syslogd
cron
CUPS
mysql
(i dono, alsa?)
and thats all i know off the top of my head
|
|
|
|
03-03-2004, 08:07 AM
|
#5
|
|
Senior Member
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,211
Rep: 
|
oh dear!
Let us know what you did.
Has you distro got some form of update or repair?
When you recover
Make a tarball of your /etc directory!
remember,
if you have something safely backed up you will never need it!
billy
|
|
|
|
03-04-2004, 03:39 AM
|
#6
|
|
LQ Newbie
Registered: Sep 2003
Posts: 12
Original Poster
Rep:
|
ye cheers... i will make a tarball of my entire etc folder
i just backed up what i needed and reinstalled gentoo.. was a day-long lesson
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:00 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|