Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

boot folder deleted

Status
Not open for further replies.

btaber

Programmer
May 26, 2002
307
US
unfortunately, the boot folder on my server got deleted. I am running RedHat 7.3, and it has lilo for the loader. I do not have physical access to the machine, only via ssh shell. I fortunately have a 7.3 box at the office. I copied the boot folder from my server locally to my remote one, then ran lilo -v. If the server does happen to reboot, will what I have done work? Will the server boot again without a pannic? any input would be appreciated.

B

 
If lilo ran and you copied the same version of the kernel the matches the /lib/modules on the machine you should be okay. Good job.
 
Thank you for the info. In theory it should work... time will tell...
 
Question is, who had rights to delete that folder and why did they do it?
 
Stuff happens. We all do it.
Wrong decision in administrative privilege or
a fat fingered command..who cares. As long as it
has a happy ending, and most of the time with linux
it will. ;)

 
Yep...

Being too fast on the enter key led me to botch the command:

cd / ; rm -rf temp*

and I typed

cd / ; rm -rf temp *

Took me about 5 seconds of staring at the screen like a monkey doing a math problem to figure out why it was telling me:

rm: cannot remove `temp': No such file or directory

but I could still hear the hard drive grinding way.

By that time the damage was done.
 
Of course, otherwise I wouldn't have been able to remove the directories. :p
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top