Page 1 of 1

Upgrade to 11 or even -current...

Posted: Wed May 03, 2017 6:00 pm
by geno_bsd
hey there !

it is possible to upgrade to 11 or even -CURRENT ?

tia !

Re: Upgrade to 11 or even -current...

Posted: Thu May 04, 2017 1:23 pm
by kraileth
Of course. GhostBSD is actually FreeBSD preconfigured and with some packages preinstalled, no more, no less.

If you want to update to 11.0, first make sure that you're on the latest 10.3 patchlevel:

Code: Select all

freebsd-update fetch install
Then to can go to 11.0 useing the following commands:

Code: Select all

freebsd-update upgrade -r 11.0-RELEASE
freebsd-update install
As a next step reboot so the new kernel gets loaded and then install the userland part of 11.0:

Code: Select all

shutdown -r now
freebsd-update install
Repeat the last step (reboot once more and repeat the freebsd-update command again) to complete the update.

If you want to use -CURRENT, you cannot update in binary but have to compile the system yourself. However unless you have a good reason to go with -CURRENT, I would recommend against it. You could however try out -STABLE if you want something of a middle ground between -RELEASE and -CURRENT. Feel free to post again if you're interested in that.

Re: Upgrade to 11 or even -current...

Posted: Thu May 04, 2017 1:34 pm
by geno_bsd
YES ! i wanna 11 -STABLE . . .

:P

Re: Upgrade to 11 or even -current...

Posted: Fri May 05, 2017 4:31 pm
by geno_bsd
kraileth wrote: Feel free to post again if you're interested in that
yep , i´m interested !

Re: Upgrade to 11 or even -current...

Posted: Sat May 06, 2017 1:25 am
by kraileth
geno_bsd wrote:
kraileth wrote: Feel free to post again if you're interested in that
yep , i´m interested !
Alright! -STABLE and -CURRENT are built from source. The first thing to do is to make sure that your source directory is empty and then checkout the latest -STABLE code from SVN:

Code: Select all

rm -rf /usr/src/*
svnlite co svn://svn.freebsd.org/base/stable/11 /usr/src
Then you compile the userland ("world") and kernel (in that order!):

Code: Select all

cd /usr/src
make buildworld
make buildkernel
This will take some time to finish, depending on your hardware. Finally you install the system (in reverse order; it probably doesn't matter in this case, but form a habit of it):

Code: Select all

make installkernel
make installworld
Reboot your box and you should have an 11-STABLE system (which after some more work will become 11.1 in a couple of month, BTW.) Have fun!

Re: Upgrade to 11 or even -current...

Posted: Wed Jul 26, 2017 1:04 pm
by macondo
Thanks kraileth, it worked flawlesly from FreeBSD 11.0 to 11.1