Upgrading in the same RELENG without shutdown ?

Jonathan Horne jhorne at dfwlp.org
Mon Oct 16 17:40:57 UTC 2006


> Hello,
>
>
> I have CVS-UP configured to follow RELENG_5_4
>
> I was wondering if there is a way to patch (upgrading from 5.4-
> RELEASE-p8 to a higher version) my system without going into the
> classic :
>
> # make -j4 buildworld
> # make -j4 buildkernel
> # make -j4 installkernel
> # shutdown now
>
> And booting in single user //
>
> # fsck -p
> # mount -u /
> # mount -a -t ufs
> # swapon -a
>
> # cd /usr/src
> # mergemaster -p
>
>
>
> My system is in production and I am not onsite so this is a problem
> for me to have to boot in single user mode.
>
> Is there a way to keep the system in multi-user mode while doing this ?
>
> And what are the risks if any ?
>
>
>
> Sincerly yours.
>
>
> ________________________________________________
> «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
> ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
> Gregober ---> PGP ID --> 0x1BA3C2FD
> bsd @at@ todoo.biz
> ________________________________________________
> «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§
> ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
>
> P "Please consider your environmental responsibility before printing
> this e-mail"
>

it can be done, but it is NOT guaranteed safe.  i do it, but your might
not be the same as mine.  my system is a *low* traffic system, and i am
the only user.  the system is however running apache2, mysql, and some
other daemons.

again, your mileage may vary, this is what i do:

1) make buildworld, and make buildkernel.
2) make installkernel
3) cd /usr/src, mergemaster -p, make installworld, mergemaster.
4) reboot.

hth,
jonathan



More information about the freebsd-questions mailing list