Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Mar 2008 14:19:38 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: kernel backup on 7.0
Message-ID:  <fqm6e4$idp$1@ger.gmane.org>
In-Reply-To: <47CE6C6B.8060306@bluegod.net>
References:  <47CE6C6B.8060306@bluegod.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fqm6e4$idp$1>