From owner-freebsd-stable@FreeBSD.ORG Wed Mar 5 13:16:05 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABBBB106566C for ; Wed, 5 Mar 2008 13:16:05 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 2F4458FC16 for ; Wed, 5 Mar 2008 13:16:05 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JWtTS-0005AY-Es for freebsd-stable@freebsd.org; Wed, 05 Mar 2008 13:15:58 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Mar 2008 13:15:58 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Mar 2008 13:15:58 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Wed, 05 Mar 2008 14:19:38 +0100 Lines: 49 Message-ID: References: <47CE6C6B.8060306@bluegod.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6072C7723784809735151390" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.6 (X11/20071022) In-Reply-To: <47CE6C6B.8060306@bluegod.net> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: kernel backup on 7.0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Mar 2008 13:16:05 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6072C7723784809735151390 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable James L=C3=B3pez (BLuEGoD) wrote: > Hello, >=20 > I have FreeBSD 7.0 on my server but due to troubles with sendfile (I > don't know why, but when I run a configure script checking for that > function it shows a "segmentation fault" and I can't make my web server= > run well), also because of some accidentally I will reinstall freebsd. >=20 > So I would like to know if I can make some kind of backup to the kernel= > because it was modified and recompiled, so perhaps if I backup the boot= > files wouldn't need to compile it again... How can I do that? is > possible? Its a matter of time.. I will have a short time to do the > reinstall :S If I understand you correctly, you're asking if you can have a "backup kernel" when you build a new one? Yes, and it's the default behaviour. Every time you do a "make installkernel" (it's integrated into "make kernel"), the old kernel gets saved in /boot/kernel.old with all its modules. In addition to that, you can have an arbitrary number of different kernels in the root/boot file system. To switch between the kernels, escape to loader prompt on the boot menu, type "help" to see available commands (you'll probably use "unload", "load" and "boot", in this order). --------------enig6072C7723784809735151390 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHzp3qldnAQVacBcgRAr/FAKDAzs4/14f/oayv33205ir73qY5eACcDkBo Y9tEZ4mRk4KdkKUQSXIpPD8= =tU57 -----END PGP SIGNATURE----- --------------enig6072C7723784809735151390--