Remote upgrade of 4.X-5.3-Stable

From: Dwayne MacKinnon (Dwayne.MacKinnon_at_xwave.com)
Date: 02/22/05

  • Next message: Andrey Simonenko: "Re: Kernel monitor, the return"
    Date: Tue, 22 Feb 2005 16:22:09 -0500
    To: freebsd-hackers@freebsd.org
    
    

    Hi all,

    I've been experimenting with upgrading 4.X to 5.3-STABLE. The challenge
    I've been given is that the box to be upgraded is physically
    inaccessible and so there's no console access. All I have to work with
    is ssh and scp.

    In our lab I built a box to 5.3-STABLE. I then used the /usr/obj
    directories from that build to start a "remote" upgrade on another lab box.

    Things have gone reasonably well. I was able to successfully make
    installworld using a rc.d script even though it reboots into multi-user
    mode after installing the kernel.

    The problem is that rc.conf isn't getting sourced properly after the
    installworld. I figure that something more is needed with mergemaster. I
    run mergemaster -ia through my rc.d script, but that's apparently
    insufficient.

    So what I'm wondering is this: What do I need in place to make sure that
    networking will come up and sshd will start after upgrading 4.X to 5.3?

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


  • Next message: Andrey Simonenko: "Re: Kernel monitor, the return"

    Relevant Pages

    • Re: HEADSUP: dont upgrade to RELENG_6 now [FIXED]
      ... Make sure you have lib/Makefile rev 1.205.2.4 before upgrading ... Rong-En Fan ... My installworld of RELENG_6 from a few hours ago failed with this error ... One way to solve this is we install libc as early as possible, ...
      (freebsd-stable)
    • Re: Corrupted OS
      ... the supfile is valid. ... this ("mergemaster -p") is actually meant to be done ... upgrading (buildworld, installworld, whatever) is attached to my ...
      (freebsd-questions)
    • Permission denied in make installworld
      ... I'm upgrading to 5.3-p7, and the buildworld, buildkernel, and ... Now when I try installworld, ... find grep ln make mkdir mtree mv pwd_mkdb rm sed sh sysctl test true ... *** Error code 1 ...
      (freebsd-questions)
    • Re: 7.0-PRERELEASE installworld fails
      ... with the new kernel, adjkerntz -i, fsck -p, mount -u ... However, the above statement is untrue if upgrading from versions, IE: ...
      (freebsd-questions)
    • Re: Upgrading world from 5.0-dp1 to 5.1-RELEASE
      ... Upgrading world from 5.0-dp1 to 5.1-RELEASE ... >> make installworld ... mkdir -p /boot/kernel ... To unsubscribe, ...
      (freebsd-current)