Re: upgrading

From: Alban Hertroys (dalroi_at_solfertje.student.utwente.nl)
Date: 09/21/03

  • Next message: Scott Mitchell: "Re: upgrading"
    Date: Sun, 21 Sep 2003 13:13:11 +0200 (CEST)
    To: Matthew Seaman <m.seaman@infracaninophile.co.uk>
    
    

    On 21 Sep, Matthew Seaman hit a keyboard in the following places:
    > # shutdown -r now

    Hmm, I usually prefer to do just: #shutdown now
    so that I end up in single user mode immedately. I usually check 'ps' to see
    whether no daemons are running (fleeing?) that should have died.
    This method has the effect that you're still running the same kernel,
    but I'm now unsure whether that's a good or a bad thing.

    If you reboot (with '-r'), you are booting a system where the kernel is
    upgraded, but the rest of the system isn't. That could cause startup
    scripts to fail and the like.

    OTOH, if you don't, are you using the installed install tools or the
    upgraded ones (which may require the new kernel) when running
    installworld?

    I'm getting a bit confused here...

    > (Various output will scroll past. When prompted for what shell to
    > run, just hit return)
    >
    > # fsck -p
    > # swapon -a
    > # mount -a

    Careful there, you don't want to mount NFS mounts and the like. I
    usually do (depends on your partitioning):

            mount -u /
            mount /tmp
            mount /var
            mount /usr

    I usually leave out /home and other mount points that aren't needed by
    installworld, so that they can't get corrupted if something gets
    screwed up (likely by me).

    Looking at the mount man page, you could also create an alternate
    "minimal" fstab file, and do mount -a -F <your minimal fstab here>.
    I think I'll have a (f)stab at that... ;)

    -- 
    Alban Hertroys                      http://solfertje.student.utwente.nl
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                No, it's not a bug!
                It's a six-legged feature!
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
    

  • Next message: Scott Mitchell: "Re: upgrading"

    Relevant Pages

    • Re: upgrading
      ... Matthew Seaman hit a keyboard in the following places: ... > This method has the effect that you're still running the same kernel, ... Doing an installworld before you've verified that the kernel is ... you don't want to mount NFS mounts and the like. ...
      (freebsd-stable)
    • SV: freebsd-questions Digest, Vol 126, Issue 17
      ... that is) tried to proceed with a 'make installworld'. ... buildworld' again, ... mount -u / ... mergemaster -p ...
      (freebsd-questions)
    • Re: source upgrade from 6.3 -> 7.0 fails
      ... make buildkernel KERNCONF=GENERIC ... mount -u / ... Thanks in advance for any clues on fixing this upgrade. ... I rebuilt world after cleaning everything and the next installworld went fine. ...
      (freebsd-questions)
    • installword broke everything
      ... running installworld failed when upgrading from SNAP005 to newest -CURRENT, ... after that everything segfaults,dumps core and i cant login into my system. ... i followed the exact steps in UPDATING: ... mount -u / ...
      (freebsd-current)
    • installworld error rendering machine unusable
      ... running installworld failed when upgrading from SNAP005 to newest -CURRENT, ... stops when installing kerberos5 but dont give a description of the error, ... mount -u / ...
      (freebsd-current)