Upgrade to 11 or even -current...

Post your general questions or comments about GhostBSD here!
Post Reply
User avatar
geno_bsd
Posts: 16
Joined: Sat Oct 04, 2014 1:27 pm

Upgrade to 11 or even -current...

Post by geno_bsd »

hey there !

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

tia !
kraileth
Posts: 312
Joined: Sun Sep 04, 2016 12:30 pm

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

Post 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.
User avatar
geno_bsd
Posts: 16
Joined: Sat Oct 04, 2014 1:27 pm

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

Post by geno_bsd »

YES ! i wanna 11 -STABLE . . .

:P
User avatar
geno_bsd
Posts: 16
Joined: Sat Oct 04, 2014 1:27 pm

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

Post by geno_bsd »

kraileth wrote: Feel free to post again if you're interested in that
yep , i´m interested !
kraileth
Posts: 312
Joined: Sun Sep 04, 2016 12:30 pm

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

Post 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!
User avatar
macondo
Posts: 47
Joined: Fri Jan 06, 2017 1:04 pm
Location: PANAMA

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

Post by macondo »

Thanks kraileth, it worked flawlesly from FreeBSD 11.0 to 11.1
Desktop Celeron with 4 gigs RAM - icewm/jwm/ratpoison - FreeBSD 11.1/GhostBSD 11.1
KISS - Keep It Simple, Stupid
Post Reply