From owner-freebsd-stable@FreeBSD.ORG Thu Mar 6 12:29:01 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 50EB41065674 for ; Thu, 6 Mar 2008 12:29:01 +0000 (UTC) (envelope-from bluegod@bluegod.net) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id D9BF58FC15 for ; Thu, 6 Mar 2008 12:29:00 +0000 (UTC) (envelope-from bluegod@bluegod.net) Received: by nf-out-0910.google.com with SMTP id b2so1537718nfb.33 for ; Thu, 06 Mar 2008 04:28:59 -0800 (PST) Received: by 10.82.171.16 with SMTP id t16mr5793609bue.25.1204806537907; Thu, 06 Mar 2008 04:28:57 -0800 (PST) Received: from apple.lan ( [212.145.109.197]) by mx.google.com with ESMTPS id u14sm3526915gvf.1.2008.03.06.04.28.54 (version=SSLv3 cipher=RC4-MD5); Thu, 06 Mar 2008 04:28:55 -0800 (PST) Message-ID: <47CFE384.4060607@bluegod.net> Date: Thu, 06 Mar 2008 13:28:52 +0100 From: =?ISO-8859-1?Q?=22James_L=F3pez_=28BLuEGoD=29=22?= User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <47CE6C6B.8060306@bluegod.net> In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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: Thu, 06 Mar 2008 12:29:01 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ivan Voras escribió: | James López (BLuEGoD) wrote: |> Hello, |> |> 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. |> |> 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? | Not exactly.. What I mean is that I want to reinstall FreeBSD due to some accidentally deleted files and a behavior on sendfile :S So I would like to know if I can backup /boot and the overwrite it once I have freebsd installed again... | 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). | | - -- ~ ___ _ ___ ___ ___ _ _ ___ ~ | . >| | _ _ | __>/ _> ___ | . \ | \ | ___|_ _| ~ | . \| |_| | || _> |<_/\/ . \| | | _ | |/ ._>| | ~ |___/|___|___||___>____/\___/|___/<_>|_\_|\___.|_| ~ -- BLuEGoD (James LÛpez) bluegod@bluegod.net ------- ~ -- Public Key: Search 'BLuEGoD' on www.keyserver.net ~ --------------- WwW.BLuEGoD.NeT -------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFHz+ODACIwOm/T2YIRAgDHAKCmsERTlXYCWnGNLlEzay4UFEvFvgCfehvt eimPit/5o9QyLn+ooVFQcwI= =4nm0 -----END PGP SIGNATURE-----