From owner-freebsd-questions Thu Apr 6 2:39:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from tele-post-20.mail.demon.net (tele-post-20.mail.demon.net [194.217.242.20]) by hub.freebsd.org (Postfix) with ESMTP id 557AE37BD2C for ; Thu, 6 Apr 2000 02:39:25 -0700 (PDT) (envelope-from dozprompt@onsea.com) Received: from grimwade.demon.co.uk ([194.222.1.157] helo=olive.co.uk) by tele-post-20.mail.demon.net with smtp (Exim 2.12 #2) id 12d8kx-0000M8-0K; Thu, 6 Apr 2000 09:39:19 +0000 Received: from merlin (merlin.osl.co.uk [192.168.1.19]) by olive.co.uk (SMI-8.6/v3.2) with SMTP id JAA21599; Thu, 6 Apr 2000 09:39:20 GMT Message-ID: <000c01bf9fab$f7cfd4c0$1301a8c0@merlin.osl.co.uk> From: "Cliff Rowley" To: "Ruslan Ermilov" , "Jon Earle" Cc: Subject: Re: Help - Lost kernel! Date: Thu, 6 Apr 2000 10:39:13 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sorry to dissapoint you, but that isn't going to work; /sys is just a symlink to /usr/src/sys - at boot time, /usr wont be mounted. -----Original Message----- From: Ruslan Ermilov To: Jon Earle Cc: questions@FreeBSD.ORG Date: Thursday, April 06, 2000 7:59 AM Subject: Re: Help - Lost kernel! >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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message