[OpenIndiana-discuss] Boot crash
richlowe at richlowe.net
Mon Jul 11 22:28:05 UTC 2011
If you're crashing, you want to add '-k' to the boot arguments as well
as -v, etc. to load the debugger, which should give you time to read
panic messages etc.
If with -k it stops at the debugger, the most useful thing is probably
to include the panic-related output from the debugger's $<msgbuf
It's somewhat common (unfortunately) for a particularly damage boot
archive to look like this, and crash before even the debugger is
loaded, if this is the case the below should let you rebuild it.
Boot either an older boot archive or from a live CD (if from live CD,
import the rpool etc).
Mount the boot environment which will not boot:
beadm mount <be name> /mnt
Update the boot archive on it
bootadm update-archive -vR /mnt
More information about the OpenIndiana-discuss