Re: upgrade from FBSD from 8.0-release to stable-8

2010-06-06 Thread Polytropon
On Sun, 6 Jun 2010 13:37:58 +, Giorgos Tsiapaliokas  
wrote:
> hello,
> 
> i have seach to net but i haven't find a way to update my system from
> 8.0-release to stable-8.
> 
> can you tell me a way to do this?

Basically, this process contains two main steps: fetching the
sources, and compiling and installing the system.

Step 1 can easily be done by using csup (it's in the base) with
the following configuration:

This into /etc/make.conf:
SUP_UPDATE= yes
SUP=/usr/bin/csup
SUPFLAGS=   -g -L 2
SUPHOST=cvsup.freebsd.org
SUPFILE=/etc/sup/stable.sup

This into /etc/sup/stable.sup:
*default host=cvsup.freebsd.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_8
*default delete use-rel-suffix
*default compress
src-all

You can of course select a mirror near your location.

The tag= parameter selects what you will get, e. g. a certain
specifig RELEASE, patches for a RELEASE, STABLE, or even CURRENT.
The keyword RELENG_8 will give you 8-STABLE.

If you've updated your sorces, read /usr/src/UPDATING, and for the
steps how to start, refer to /usr/src/Makefile. You can also add
compiling options to /etc/make.conf to be involved here; a typical
setting could be setting CPUTYPE.

Then you start.

# cd /usr/src
# make buildworld buildkernel
# make installkernel

Then reboot into single user mode:

# reboot
...
Ok
boot -s
...

When arrived in single user mode, check your partitions via fsck,
and then mount them (mount -a).

# cd /usr/src
# mergemaster -p
# make installworld
# make delete-old
# mergemaster
# reboot

When you now have reached multi user mode again, finally do

# cd /usr/src
# make delete-old-libs

Check the result via

# uname -a

If you do have a custom kernel, add KERNCONF= to the make
calls, e. g.

# make buildkernel KERNCONF=FOOBAR

or

# make installkernel KERNCONF=FOOBAR

respectively.

Finally, see the excellent documentation in the FreeBSD Handbook.
It should cover everything that hasn't been mentioned yet.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: upgrade from FBSD from 8.0-release to stable-8

2010-06-06 Thread andrew clarke
On Sun 2010-06-06 13:37:58 UTC+, Giorgos Tsiapaliokas (terie...@gmail.com) 
wrote:

> i have seach to net but i haven't find a way to update my system from
> 8.0-release to stable-8.
> 
> can you tell me a way to do this?

My immediate thought was that if you can't work out how to update your
system to FreeBSD-STABLE then you probably shouldn't be doing that.

You should read the FreeBSD handbook then decide whether running
STABLE is actually what you want to do.  Particularly this page:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html

Most FreeBSD users install FreeBSD-RELEASE then use the freebsd-update
command to either patch it with security updates or upgrade to a newer
version of RELEASE.

As far as I know you can't use freebsd-update to upgrade to/from
STABLE, only RELEASE.

Regards
Andrew
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: upgrade from FBSD from 8.0-release to stable-8

2010-06-06 Thread Manolis Kiagias
On 06/06/2010 4:37 μ.μ., Giorgos Tsiapaliokas wrote:
> hello,
>
> i have seach to net but i haven't find a way to update my system from
> 8.0-release to stable-8.
>
> can you tell me a way to do this?
>
> thanks in advance
>   

Since you are just starting with this, I would advise against it. Unless
you know STABLE contains something you really need (i.e. a must have
driver or fix for your particular hardware), I would say stay on RELEASE
until you are more comfortable with your system. Going from RELEASE to
STABLE involves recompiling the system from source. It is not really
difficult, but it will save you a lot of trouble if you first get better
acquainted with your system. If you would like to try it anyway, here
are the instructions:

http://www.freebsd.org/doc/el/books/handbook/current-stable.html
(starting from 24.5.2)

Since you are experimenting and don't have any data on the system, you
may also wish to directly install one of the snapshots that will get you
directly to a STABLE system. You can find snapshot ISOs here:

ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/201005/

or you may even wish to try 8.1-BETA1 which is also available in local
mirrors (like otenet):

ftp://ftp.otenet.gr/pub/FreeBSD/releases/i386/ISO-IMAGES/8.1/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


upgrade from FBSD from 8.0-release to stable-8

2010-06-06 Thread Giorgos Tsiapaliokas
hello,

i have seach to net but i haven't find a way to update my system from
8.0-release to stable-8.

can you tell me a way to do this?

thanks in advance
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"