Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2002 21:02:57 -0800
From:      "Kevin Oberman" <oberman@ptavv.es.net>
To:        "Doug Reynolds" <mav@wastegate.net>
Cc:        "Brian T. Schellenberger" <bts@babbleon.org>, "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>, "Rodrigo A B Freire" <bsdstuffs@brasilia.br>
Subject:   Re: Newbie: 4.4-stable, how to? - And the CVSupIT bug. 
Message-ID:  <20020116050257.129345D13@ptavv.es.net>
In-Reply-To: Your message of "Tue, 15 Jan 2002 20:04:04 EST." <20020116010211.1AFBC48425@wastegate.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> From: "Doug Reynolds" <mav@wastegate.net>
> Date: Tue, 15 Jan 2002 20:04:04 -0500
> 
> On Mon, 14 Jan 2002 09:49:53 -0800, Kevin Oberman wrote:
> 
> >> cvsup
> >> cd /usr/src
> >> make buildworld KERNCONF=your-custom-kernel
> >> make kernel KERNCONF=your-custom-kernel
> >> reboot to single-user mode  (boot -s ; fsck -u ; mount -a -t ufs ; swapon)
> >> cd /usr/src
> >> make installworld KERNCONF=your-custom-kernel
> >> mergemaster
> >> 
> >> reboot.
> >
> >Close and probably functional, but I would suggest:
> >cvsup
> >cd /usr/src
> >make buildworld
> >make kernel KERNCONF=your-custom-kernel
> >reboot to single-user mode  (boot -s ; fsck -p ; mount -a -t ufs)
> >cd /usr/src
> >make installworld
> >mergemaster
> >reboot.
> 
> you can also type "shutdown now" instead of rebooting into single user
> mode b4 installing the world- it saves from running fsck, mounting etc
> etc etc

While you can do a great many things in FreeBSD, this one is NOT a good
idea. The point of the reboot is to load the new kernel and make sure
it will boot before installing the world. an 'fsck -p' takes about 2
seconds and 'mount -a -t ufs' takes a bit less.

Once you have installed world, if the new kernel won't work you system
might not run properly with the old kernel and backing out the world
install is a major pain.

The instructions in UPDATING were written to provide a safe, fairly
easy way to update a system. Think carefully of what you are doing
before diverging from them.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020116050257.129345D13>