Re: Updating from 5_2_1 to 5_3

From: Alex Zbyslaw (xfb52_at_dial.pipex.com)
Date: 04/30/05

  • Next message: Fafa Diliha Romanova: "Please help me with PF (thanks)"
    Date: Sat, 30 Apr 2005 12:13:19 +0100
    To: BSD <bsd@todoo.biz>
    
    

    BSD wrote:

    >> # Utilise le mirroir francais
    >> *default host=cvsup5.fr.FreeBSD.org
    >
    > From what I have understand the steps that I must take to upgrade
    > properly will be :
    >
    > 1. Change the cvs-supfile to : *default release=RELENG_5_3_RELEASE

    No. I believe you want just "*default release=RELENG_5_3".
    RELENG_5_3_RELEASE will be exactly the code that was released, and will
    never change, whereas RELENG_5_3 will be updated with security fixes.

    >
    > 2. Run cvsup : /usr/local/bin/cvsup -L1 -h cvsup5.fr.FreeBSD.org
    > /root/cvs-supfile

    Yes, but you don't *need* to specify "-h cvsup5.fr.FreeBSD.org" because
    you already put that is your supfile. If that server was down
    temporarily or something, you could use "-h some_other_mirror" to
    override your supfile without having to change it. It doesn't hurt, but
    it achieves nothing.

    Also, -L 1, according to the man page, has no affect when you run with
    the graphical interface, which you do unless you specify -g.

    > 5. # make build kernel
    >
    There's no space "make buildkernel"

    > 7. # boot -s (optional, please confirm)

    "shutdown -r now" to shut down and reboot the machine, then when you get
    to the boot loader, hit something like space bar (anything but return)
    and then type "boot -s" to get to single user mode. I'm sure that
    handbook covers this.

    > 9. # make install world

    Again, no space "make installworld"

    > 10. # mergmaster
    > 11. # shutdown -r now

    If you are new to this, I recommend "mergemaster -v". See "man mergemaster"

    >
    >
    > Do I have to upgrade or clean my /usr/ports - knowing that it is
    > updated twice a week on the 5_2_1_RELEASE ?
    > If so, how ?
    >
    > Any pointer beside the Handbook ?

    You don't have to upgrade ports. Again, the handbook covers port
    upgrading. I like portupgrade, though there is another recent tool
    called "port{some thing else I've forgotten} which others prefer.

    The handbook is all you need. Follow it accurately and it should be
    plain sailing. The handbook is quite simply one of the best reasons for
    running FreeBSD (apart from it's classy heritage).

    I have the rebuilding sections of the handbook printed out so that they
    are easy to access while rebuilding. You can't look at a web browser
    when you machine is in single user mode!

    --Alex

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


  • Next message: Fafa Diliha Romanova: "Please help me with PF (thanks)"

    Relevant Pages

    • Re: FreeBSD upgrade on production server - Solved
      ... Of course, I have read the Handbook, but there are very "wide" solution, not ... Sep 8 08:35:01 ns login: no modules loaded for `login' service ... > actually safer from your own oversights) is to have a spare machine to ... > try out the upgrade on so you get used to the procedure. ...
      (freebsd-questions)
    • Re: Can cvs-sup Safely Upgrade a 5.3 System to 6.2?
      ... It should work fine if you fully follow the instructions in the handbook. ... do a fresh scratch build of 6.2 rather than an upgrade to it. ... do a 'csup' and bring both the system and the ports completely ... ports-all tag=. ...
      (freebsd-questions)
    • Re: upgrade freebsd 6.1 to 6.2
      ... configuration application samba, apache, change. ... You will need to upgrade the sources for your system, ... will find this in the handbook. ... and world and merge the configuration files. ...
      (freebsd-questions)
    • Re: Upgrade 5.4 -> 6.0
      ... First follow the handbook for rebuilding world and kernel. ... it's recommended to upgrade to 6.0-release first, ... use the "package-switch" to make it check for precompiled packages before ...
      (freebsd-questions)
    • Re: Kernel make : memory exhausted in 4.9R
      ... Your object files have become corrupted..either remove them, ... the documented kernel build procedure (see handbook), ... them before rebuilding. ...
      (comp.unix.bsd.freebsd.misc)