Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have 8.0-RELEASE-p4 + few ports installed. I wonder wheather I should update to 8.1.

  1. How long is 8.0 supported?
  2. How to update the system? I couldn't find anything about it in handbook.

SOLUTION (based on gvkv answer): I take the liberty of describing all steps I've done at the end:

# STEP 1: Revert to GENERIC kernel
cd /tmp 
wget -r ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/8.0-RELEASE/kernels/
cd pub/FreeBSD/releases/i386/8.0-RELEASE/kernels/
sha256 generic.* install.sh | diff - CHECKSUM.SHA256
./install.sh GENERIC
nextboot -k GENERIC
# STEP 2: Upgrade - part 1
freebsd-update upgrade -r 8.1-RELEASE # Ignore kernel warning. Fix configuration
freebsd-update install
shutdown -r now
# STEP 3: Upgrade - part 2
nextboot -k GENERIC
freebsd-update install
shutdown -r now
# STEP 4: Upgrade - part 3
rm -rfv /usr/obj
portmaster -Raf # Rebuilds all packages. If you don't use portmaster use other tool or do it manually
cd /usr/src
make buildkernel KERNCONF=CUSTOM # Rebuild kernel
make installkernel KERNCONF=CUSTOM # Install kernel
shutdown -r now
share|improve this question

3 Answers 3

up vote 2 down vote accepted
  1. The 8.0-RELEASE branch will be supported until November 20, 2010. If you want stay on the the 8 branch (RELENG-8) you will have least until July 31, 2012; if there are any update releases in that branch then you will have until at least two years past the release date of the point release See the links given by Stefan Lasiewski.
  2. Updating is as easy as following the instructions.
share|improve this answer
  1. According to http://security.freebsd.org/#sup, FreeBSD 8.0 is supported until November 30, 2010.
  2. We're still trying to figure out the "Best way" to do this. There's more then one way to do it, and the FreeBSD docs are too ambiguous. Also keep in mind that "Updating FreeBSD" is considered a separate topic from "Updating the most software (e.g. ports and packages) on your system".

The page at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading.html talks about updating FreeBSD.

share|improve this answer
    
I know about this document but it speaks about a) ports and b) updating between patchfixes. Not from x.y to x.y+1 –  Maciej Piechotka Aug 19 '10 at 18:05
    
Good point @Maciej –  Stefan Lasiewski Aug 19 '10 at 21:22
    
Thanks @Deesbek I updated the link. –  Stefan Lasiewski Apr 25 at 5:57

You also might want to see how to rebuild the base system when updating. That is how I do it...

share|improve this answer
1  
This is useful if you've downloaded snapshot releases but if you just want to update to the latest STABLE branch release, you can also just call freebsd-update upgrade -r X.n-RELEASE. –  gvkv Aug 19 '10 at 20:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.