Date: Thu, 06 Mar 2008 13:28:52 +0100 From: =?ISO-8859-1?Q?=22James_L=F3pez_=28BLuEGoD=29=22?= <bluegod@bluegod.net> To: freebsd-stable@freebsd.org Subject: Re: kernel backup on 7.0 Message-ID: <47CFE384.4060607@bluegod.net> In-Reply-To: <fqm6e4$idp$1@ger.gmane.org> References: <47CE6C6B.8060306@bluegod.net> <fqm6e4$idp$1@ger.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47CFE384.4060607>