Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
server-tech:freebsd:freebsd-stable-upgrade [Mar 3, 2009 08:44 AM] dordal |
server-tech:freebsd:freebsd-stable-upgrade [Sep 20, 2025 12:14 PM] (current) 20.171.207.250 old revision restored (Sep 18, 2025 01:51 AM) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | =FreeBSD Stable Upgrade Procedure= | ||
| + | This outlines how to upgrade your FreeBSD installation to FreeBSD-STABLE. It isn't designed to [[http:// | ||
| + | |||
| + | **NOTE: ** If you just want to update to the latest FreeBSD release, the binary upgrade process is probably the way to go. The FreeBSD folks DO NOT recommend tracking the ' | ||
| + | |||
| + | === Get the Source === | ||
| + | |||
| + | * First, get the latest stable source code using cvsup. To do this, get the '' | ||
| + | * Once you've got the code, read ''/ | ||
| + | * Look at the Makefile in ''/ | ||
| + | * [OPTIONAL] Setup a custom kernel. Note that I **don' | ||
| + | * Go into ''/ | ||
| + | * Copy GENERIC to SYSTEMNAME (where SYSTEMNAME is the name of your new kernel). | ||
| + | * Edit this file to remove any drivers/etc that you don't want. Change the name (ident) near the top | ||
| + | |||
| + | === Cleanup First === | ||
| + | Cleanup any old files: | ||
| + | * '' | ||
| + | * '' | ||
| + | === Compile Kernel === | ||
| + | You have to compile the new -STABLE kernel (and reboot) before compiling the rest of the OS. This is because some userland applications might depend on features in the new kernel, so you might not be able to compile them until you're running on the new kernel. | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | //Note: building the kernel this way also builds any kernel modules (in ''/ | ||
| + | |||
| + | === Compile Userland Apps === | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * If it's a file that you know you haven' | ||
| + | * If it's a file you know you have touched, and it is something that is somewhat generic and/or unimportant (e.g. ''/ | ||
| + | * If you've touched the file and it **is** important, then manually merge them. | ||
| + | * '' | ||
| + | * Check ''/ | ||
| + | |||
| + | That's it. Test everything, and you're done! | ||