Date: Thu, 6 Apr 2000 10:39:13 +0100 From: "Cliff Rowley" <dozprompt@onsea.com> To: "Ruslan Ermilov" <ru@ucb.crimea.ua>, "Jon Earle" <jearle@kronos.honk.org> Cc: <questions@FreeBSD.ORG> Subject: Re: Help - Lost kernel! Message-ID: <000c01bf9fab$f7cfd4c0$1301a8c0@merlin.osl.co.uk>
next in thread | raw e-mail | index | archive | help
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 <ru@ucb.crimea.ua> To: Jon Earle <jearle@kronos.honk.org> Cc: questions@FreeBSD.ORG <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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000c01bf9fab$f7cfd4c0$1301a8c0>