Hi,
I would like to downgrade one of my production servers from 11.0-RELEASE to 10.3-RELEASE and never done this before. Technically it should be possible; although I'm not sure whether the procedure is the same as upgrading or not. In spite of having backups, I don't want to risk messing up anything since I need to keep the down-time as low as possible. So, I thought it might be a good idea to ask the experts opinions on this.
Here is my procedure:
Am I missing something here?
Your help will be appreciated. Thank you.
I would like to downgrade one of my production servers from 11.0-RELEASE to 10.3-RELEASE and never done this before. Technically it should be possible; although I'm not sure whether the procedure is the same as upgrading or not. In spite of having backups, I don't want to risk messing up anything since I need to keep the down-time as low as possible. So, I thought it might be a good idea to ask the experts opinions on this.
Here is my procedure:
Code:
$ cd /usr/ && rm -rf src
$ svnlite checkout http://svn.freebsd.org/base/releng/10.3 /usr/src/
$ nvim /usr/src/sys/amd64/conf/CUSTOM
########
include GENERIC
ident CUSTOM
# Quota
options QUOTA
########
$ cd /usr/src/ && make clean
$ cd /usr/obj/ && rm -rf *
$ cd /usr/src/ && make buildworld -j3 && make buildkernel -j3 KERNCONF=CUSTOM
$ make installkernel KERNCONF=CUSTOM
$ nextboot -o "-s" -k kernel
$ shutdown -r now
$ mount -u /
$ mount -a -t ufs
$ adjkerntz -i
$ mergemaster -p
$ cd /usr/src/
$ make installworld
$ mergemaster
$ shutdown -r now
; checking logs for any possible errors
$ tail /var/log/messages
$ cd /usr/src/
$ make check-old
$ make -DBATCH_DELETE_OLD_FILES delete-old
$ make -DBATCH_DELETE_OLD_FILES delete-old-libs
$ cd /usr/src/ && make clean
$ cd /usr/obj/ && rm -rf *
$ pkg-static install -f pkg
$ portupgrade -afk
Am I missing something here?
Your help will be appreciated. Thank you.
Last edited: