Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Apr 2000 09:57:09 +0300
From:      Ruslan Ermilov <ru@ucb.crimea.ua>
To:        Jon Earle <jearle@kronos.honk.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Help - Lost kernel!
Message-ID:  <20000406095709.A85848@relay.ucb.crimea.ua>
In-Reply-To: <4.3.2.20000405225847.00aedc80@shadow>; from Jon Earle on Wed, Apr 05, 2000 at 10:59:53PM -0400
References:  <4.3.2.20000405225847.00aedc80@shadow>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 05, 2000 at 10:59:53PM -0400, Jon Earle wrote:
> Hi!
> 
> I've a FreeBSD v2.2 box, which has had the kernel deleted, actually, all 
> files in / (but not subdirs) were deleted.  I don't know how or when.  For 
> some reason, the box rebooted itself this afternoon, making its sorry state 
> known.
> 
> I've good backup tape on this sucker, but I don't have the install media or 
> a boot floppy.  If I can find some way to boot the sucker, I can restore 
> the files in / and it should live again.
> 
> Any thoughts?
> 
If your /usr directory was on the root filesystem, then there could be
compiled version of your kernel in /usr/src/sys/compile/YOUR_KERNEL.
From the boot blocks (press spacebar when the first "/-\" symbol appers),
and then at the "Boot: " prompt, type

/sys/compile/YOUR_KERNEL/kernel

If not, you could boot off from the boot floppies, mount your hard drive
root filesystem, and copy GENERIC kernel from the boot floppy.


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA of the
ru@ucb.crimea.ua	United Commercial Bank,
ru@FreeBSD.org		FreeBSD committer,
+380.652.247.647	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000406095709.A85848>