OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: How to recover kernel?

From: Chuck Yerkes (chuck+obsd2003.snew.com)
Date: Fri May 02 2003 - 00:52:24 CDT


Quoting Tom Mack (bsd-misctom-mack.com):
> I have a little problem. The other day I made a little typo and
> effectively did: sudo rm /*
don't do that.

> Of course, when I rebooted the kernel could not be found. Currently, I
> have the system running, but not as I want it. I used the boot floppy
> to ftp a i386 bsd file to the computer. Then I put a boot.conf file in
> the etc directory of the floppy with: boot wd0a:/bsd

Nice recovery. Now it the time when you pull out the backups, right?

> Now the system will boot when the floppy is inserted, but not with out.
> I assume there is some other file that I deleted from the root that I
> need, any ideas? Are there any other important files that I am now
> missing (from the root)?

boot, bsd , did you kill directories?

worse case, find a big partition (400MB or so free), make
a dir and untar all the 3.3 distributions into it and look.