Re: update to 4.10 via ssh

From: David Wolfskill (david_at_egation.com)
Date: 06/18/04

  • Next message: Dieter Hrabak : "weirdness on php cgi ?"
    Date: Fri, 18 Jun 2004 09:45:56 -0700
    To: =?iso-8859-1?Q?Nicol=E1s_de_Bari_Embr=EDz_G. _R. ?= <nbari@unixmexico.com>
    
    

    On Thu, Jun 17, 2004 at 10:26:33PM -0500, =?iso-8859-1?Q?Nicol=E1s_de_Bari_Embr=EDz_G. _R. ?= wrote:
    >
    >Hi all, right now I am using freebsd 4.9 but I would like to update to
    >4.10-STABLE but I have a problem, I want to do this on a dedicated server
    >the one is in another country and miles away from me, so I am planing to
    >do this over ssh.
    >
    >what I plan to do is a cvsup to get the latest release then:
    >
    > 1. `cd /usr/src'
    > 2. `make buildworld'
    > 3. `make buildkernel KERNCONF=MY_KERNEL'
    > 4. `make installkernel KERNCONF=MY_KERNEL'
    > 6. `mergemaster -p'
    > 7. `make installworld'
    > 8. `mergemaster'
    > 9. `reboot'

    Should work OK, as it follows UPDATING pretty well. However, before
    step 3, you might want to compare the MY_KERNEL kernel config against
    the newly-updated GENERIC (and make any adjustments tat are
    appropriate). For that matter, if you are using CVSup to modify
    your /usr/src hierarchy directly, you may need to be sure that the
    MY_KERNEL kernel config is where it is supposed to be.

    I'd also recommend:

    * Read /usr/src/UPDATING after /usr/src has been updated.

    * Arranging serial console access.

    * Have built the server to boot from either of 2 slices; copy (I use
      dump | restore) the running (but quiescent; ideally, read-only) file
      systems on the 4.9 slice to the other slice, boot from the other slice
      (thus verifying that you have a usable copy), then upgrade the
      currently-booted slice to 4.10. [The "extra" boot is probably
      unnecessary, but I've been too lazy to actually try doing the build
      while specifying an alternative DESTDIR (or whatever other variables
      need to be set).] This last is, perhaps, not so commonly done, but I
      have found it useful.

    You may also want to consider updating your ports. (I use portupgrade
    for this.)

    Finally: If at all possible, try this first on a machine that is
    (much!) closer to you, so you know what to expect.

    Peace,
    david

    -- 
    David H. Wolfskill                                 david@egation.com
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    

  • Next message: Dieter Hrabak : "weirdness on php cgi ?"

    Relevant Pages

    • Re: Boot and MBR.
      ... use one or another utility to shrink the MS slice and make room ... is NTFS you will need some more sophisticated utility like Partition Magic ... Then install FreeBSD. ... BootMgr Install the FreeBSD Boot Manager ...
      (freebsd-questions)
    • Re: Dual booting problems
      ... or an alternative boot manager such as grub or gag. ... the slice table and some flags and just enough code to look at its ... other disk to see which ones have a similar boot block. ... the MBR on other disk. ...
      (freebsd-questions)
    • Re: how to set up a dual boot system
      ... a slice on the first disk for windows? ... The MBR should also be on the other two disks, ... Then you have to install a boot sector ...
      (freebsd-questions)
    • SUMMARY: Re: Moving a boot disc from SunFire v120 to SunFire v210 [Our NIS+ RMS has failed]
      ... "You will not need to rewrite any boot block info. ... This document can be used with root under Veritas ... or is just a simple slice. ... If the root filesystem is under either VxVM control or SDS/SVM Control, ...
      (SunManagers)
    • RE: Boot and MBR.
      ... I see that having WinXP ... Subject: Boot and MBR. ... You are right, I have them setup originally under WinXP as partitions, ... then added FreeBSD to the second partition where it calls it a slice. ...
      (freebsd-questions)