Re: HELP: I ran /stand/sysinstall...upgrade(100 % completed) But nothing happened..

From: Matthew Seaman (m.seaman_at_infracaninophile.co.uk)
Date: 05/31/04

  • Next message: Scott: "FreeBSD 4.8R sluggish performance"
    Date: Mon, 31 May 2004 20:16:58 +0100
    To: Mark Jayson Alvarez <jay2xra@yahoo.com>
    
    
    

    On Mon, May 31, 2004 at 11:11:28AM -0700, Mark Jayson Alvarez wrote:

    > I'm currently using freebsd 4.9 and I've wanted to
    > upgrade to freebsd 4.10. What I did was I've followed
    > the instructions on the site which says that the most
    > convinient way is to use the /stand/sysinstall utility
    > and choose the Upgrade from the list... when I'm on
    > it... I've chosen to download from the ftp.freebsd.org
    > then I selected minimal upgrade since I've already an
    > upgraded version of XFree86.... And I also unchecked
    > the crypto option... to make sure that i'm installing
    > the least possible packages size..

    Hmmm... You need to read those instructions carefully. The
    /stand/sysinstall upgrade route sounds very appealing to the
    uninitiated, but actually you tend to get better results by using
    cvsup(1) to pull down the appropriate set of source code, and doing
    the whole 'make world' cycle yourself. There's several more stages to
    that procedure, but it's mostly along the lines of "type this command,
    and then go away and have a hot beverage of your choice while the
    machine does a load of stuff". Full instructions are at:

        http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

    The really, really good thing about the 'make world' procedure is that
    if it goes wrong in most of the stages then there's no lasting harm
    done: even if you've got as far as the stage of installing a new
    kernel which you find doesn't work, you can still back it out without
    too much trouble and try again.
     
    > Question: Have I done the right thing when upgrading
    > from 4.9 to 4.10. or I've just downloaded 40 mb worth
    > of unworthy files??

    Nope. The /stand/sysinstall procedure certainly should work. The
    files you've downloaded are the same as went onto the 4.10-RELEASE CDs.
     
    > Cause I cannot see my system booting in Freebsd
    > version 4.10... still says freebsd 4.9...
    > It also add something like.. cant load kernel..
    > booting old...

    It looks to me as if you have a (mostly) 4.10 userland installed, but
    the 4.10 kernel you're trying to boot from has been trashed. (So the
    system boots up using /kernel.old, which is the 4.9 kernel you were
    using before). There's plenty of ways you could have ended up with a
    corrupted kernel image -- did you perhaps run out of space in your
    root partition?

    Whatever, you've got a 80% updated system. and your next course of
    action has to be to try and get an uncorrupted copy of the 4.10 kernel
    installed as /kernel. You can copy the kernel image from any of the
    installation CD images, or you can build your own from the system
    sources:

        http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html

    although you will need to be familiar with the chflags(1) command and
    you should boot into single user mode first if you usually run using a
    raised securelevel. More info here:

        http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-trouble.html#KERNELCONFIG-NOBOOT

    Having a mis-match between the kernel and the userland versions is not
    a good thing, but it usually isn't disastrous if the versions aren't
    too far apart. Various programs that access kernel data -- like ps(1)
    and top(1) -- probably won't work but you should be able to live
    without them long enough to get everything back in synch again.
     
    > If I'm on the right track,, Is there any command that
    > I can type to be able to test it?

    Hmmm... it's a bit more involved than a single command to sort this
    type of problem out. But it is eminently fixable and it shouldn't
    require you to have to do anything regrettable, like a complete
    re-install from scratch.

            Cheers,

            Matthew

    -- 
    Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                          Savill Way
    PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
    Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
    
    



  • Next message: Scott: "FreeBSD 4.8R sluggish performance"

    Relevant Pages

    • Re: 2.6 kernel upgrade gives garbled video (w/o X11)
      ... the Etch packages because of a dependency loop involving libc6. ... not passing any special kernel parameters on boot to the 2.4 kernel ... I was getting this error when trying to upgrade the ... update and then try installing the 2.6 kernel package again? ...
      (Debian-User)
    • Re: New Sarge install
      ... The default kernel after installing is 2.4.27. ... It's very simple to upgrade the kernel to 2.6 when running sarge since ... the distro provides prebuilt kernel-images. ...
      (Debian-User)
    • Re: Guide to x.org update?
      ... <snip useful upgrade info> ... After considering that XFree86 will no longer be the ... your explicit instructions, so far it's running without a hitch (and now I ... had considered just yanking XFree and installing X.org, ...
      (freebsd-questions)
    • Re: Wireless fiasco - help please
      ... your instructions involved building a custom Fedora ... kernal with the PCMCIA disabled in the kernel. ... non-RH pcmcia-cs package and installing it. ... trouble-free and the compilation of the pcmcia-cs package went well. ...
      (alt.os.linux.redhat)
    • Re: [SLE] Many modules not found during boot after update...
      ... >> the Athlon kernel, although the system uses the default kernel, but I ... > you see that it is installing k_deflt. ... Carlos is partially right. ... I sure would like to know why the upgrade to -166 didnt upgrade the modules. ...
      (SuSE)