Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 2002 23:54:13 -0400
From:      Chris Pepper <pepper@reppep.com>
To:        "Kevin Oberman" <oberman@es.net>
Cc:        Paulo Fragoso <paulo@nlink.com.br>, Alexandr Kovalenko <never@nevermind.kiev.ua>, Gavin Atkinson <gavin@ury.york.ac.uk>, Michiel Boland <boland@alexander.diva.nl>, freebsd-stable@FreeBSD.ORG
Subject:   Re: 4.6-RELEASE -> 4.5-RELENG
Message-ID:  <a05200306b966775f18a9@[64.81.19.109]>
In-Reply-To: <20020710175614.7F3535D03@ptavv.es.net>
References:  <20020710175614.7F3535D03@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At 10:56 AM -0700 2002/07/10, Kevin Oberman wrote:
>  > Date: Wed, 19 Jun 2002 15:14:00 -0300 (BRT)
>>  From: Paulo Fragoso <paulo@nlink.com.br>
>>  Sender: owner-freebsd-stable@FreeBSD.ORG
>>
>>  On Wed, 19 Jun 2002, Alexandr Kovalenko wrote:
>>
>>  > You also should update your MAKEDEV script with mergemaster.
>>  > And to sh MAKEDEV all again. Device minor/major numbers was changed with
>>  > ata(4) MFC.
>>
>>  After we redid all following this steps:
>>
>>  make buildworld
>>  make installworld
>>  make buildkernel KERNCONF=KERNEL6
>>  make installkernel KERNCONF=KERNEL6
>>  mergemaster -a
>>  cd /dev && sh MAKEDEV all
>>
>>  and restoring some files from backup (group, rc.firewall, etc), all
>>  is working fine.
>
>I keep posting this because people keep building new systems in a
>dangerous way.
>
>Doing the installworld before building and booting the new kernel is
>very risky. It will almost always make no difference, but, on the
>rare occasions when it does, it will leave you with a VERY sick
>system and the only way out maybe to re-install FreeBSD from scratch.
>
>While there are a few niggles, the proper sequence  is:
>mergemaster -p (This is NEW!)
>make buildworld
>make kernel KERNCONF=your_kernel_conf_name

	Why not 'make installkernel' per 
<http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html>? 
Is there a problem with the Handbook?

>REBOOT into single-user mode! (This does not mean drop to single user.)

	Why? Is this to test installkernel -- which I don't see in 
your list? I've been using "shutdown now" successfully for a while 
now; much easier not to have to remount & set the TZ before 
installkernel, then rebooting (multi) to test the kernel, then 
"shutdown now" to installworld.


						Chris Pepper

>fsck -p
>mount -a -t ufs
>cd /usr/src
>make installworld
>mergemaster -i (-a is a bit inadequate unless you go back and clean up
>                 the mess it often leaves before going to multi-user
>                 mode.)
>exit (to multi-user mode)

-- 
Chris Pepper:               <http://www.reppep.com/~pepper/>;
Rockefeller University:        <http://www.rockefeller.edu/>;

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




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