problem upgrading to 2.1 - kernel moved to boot

Thomas Nikolajsen thomas.nikolajsen at mail.dk
Wed Oct 22 12:41:18 PDT 2008


> : - world was build on other host; /usr/{src,obj} NFS mounted by this host
> : - using normal procedure, as described in build(7) failed at installkernel:
> :root file system filled up; didn't stop with message that I
> :'.. need to make buildworld, installworld, and upgrade ..'
> :before installing kernel. sys/conf/kern.post.mk not used?
> : - doing `make upgrade' before installkernel works
> :
> :What is reason to demand `make upgrade' before installkernel?
> :
> :Couldn't we just move old kernel/modules to boot in installkernel?
> :(then we wouldn't need special instructions for vkernel upgrade either)
> 
>     We could but it is best to concentrate all upgrade-like activities in
>     one place.  Also, the boot code is built by buildworld/installworld,
>     not by buildkernel, and it needed to be up-to-date too.

OK;
current method to move kernel/modules seems to have problems:
 - it didn't exit with instructions, when doing normal (build(7)) procedure
(don't think I made faulty commands; use script for doing these steps)
will retest on other host; any idea whats wrong?

 - current method (installworld & upgrade before installkernel)
can give difficulty if installworld or upgrade fails; rebooting with old kernel
might pose problem for (partial) new world, right?

 -thomas





More information about the Kernel mailing list