Subject: Re: install/20874: How to reinstall NetBSD 1.6 from scratch
To: None <rishabhgoel@yahoo.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 03/24/2003 21:29:49
On Mon, Mar 24, 2003 at 02:29:01AM -0800, rishabhgoel@yahoo.com wrote:
> >Description:
> i have downloaded the current version of netbsd. during update the kernel is aborts when i issued a command 
> 
> " ./build.sh kernel=GENERIC "
> 
> dur to which ./build.sh distribution and ./build.sh install=/
> commands are getting terminated abnormally.

I don't clearly understand what you did. You started from current
sources, right ? not the 1.6 branch one ?
did ./build.sh distribution complete ? If not, what was the error ?
Then you did ./build.sh install=/. this is wrong, you now have new
binaries with an old kernel. new kernel can run old binaries, but old
kernel can't always run new binaries (there may be new syscalls, interfaces
changes, etc). The right sequence is:
./build.sh distribution
./build.sh kernel=sys/arch/i386/conf/GENERIC 
(assuming you're running i386)
install new kernel, reboot
./build.sh install=/

Now, it you have a new kernel with old binaries, the best it probably
to boot from install floppies, and select "extract additionnal sets",
to re-extract the kernel (kern-GENERIC) set.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--