Recovering from a late "make installworld" failure?

Kris Kennaway kris at obsecurity.org
Fri Jun 10 03:29:19 GMT 2005


On Fri, Jun 10, 2005 at 03:23:21PM +1200, Juha Saarinen wrote:
> After cvsuping and doing the usual make
> buildworld/buildkernel/installkernel, make installworld conked out,
> very late in the game by the looks of it. I wasn't able to capture the
> error message at the point of failure unfortunately.
> 
> Now it's all fun and games with even 'ls' segfaulting and 'make clean'
> / 'make cleanworld' hanging with:
> 
> "/usr/src/Makefile", line 91: warning: "/usr/bin/env -i
> PATH=/sbin:/bin:/usr/sbin:/usr/bin make  -f /dev/null -V
> MAKEOBJDIRPREFIX dummy" returned non-zero status
> 
> and no further output.
> 
> This message:
> 
> http://docs.freebsd.org/cgi/mid.cgi?20031114153630.GA28567
> 
> describes a similar situation, and suggests:
> 
> "Reboot to single user mode and finish the installworld, 
> then boot multiuser and your fine again (hopefully)"
> 
> Good advice or not?

Maybe; this can happen if you e.g. forget to actually boot the new
kernel before installworld.  Or you could have destroyed your system
somehow and require a reinstall to recover.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050609/23c13b1e/attachment.bin


More information about the freebsd-questions mailing list