This shows you the differences between two versions of the page.
|
server-tech:freebsd:freebsd-stable-upgrade [Mar 3, 2009 03:44 AM] dordal |
server-tech:freebsd:freebsd-stable-upgrade [Dec 22, 2009 01:05 PM] (current) dordal |
||
|---|---|---|---|
| Line 19: | Line 19: | ||
| * ''cd /usr/src'' | * ''cd /usr/src'' | ||
| * ''make clean'' | * ''make clean'' | ||
| - | |||
| === Compile Kernel === | === 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. | 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. | ||
| Line 27: | Line 26: | ||
| * ''make installkernel KERNCONF=GENERIC'' (or SYSTEMNAME) | * ''make installkernel KERNCONF=GENERIC'' (or SYSTEMNAME) | ||
| * ''reboot'' | * ''reboot'' | ||
| + | |||
| + | //Note: building the kernel this way also builds any kernel modules (in ''/boot/kernel''). Normally this is what you want, but if you've got custom modules (updated drivers for a 3Ware RAID card in my case) you'll need to copy those back in.// | ||
| === Compile Userland Apps === | === Compile Userland Apps === | ||