Thursday, January 11, 2007

Rebuilding the boot_archive

And when you've broken the boot-archive, repair it thusly.


touch /a/etc/system

and now re-create the boot_archive with the commands

cd /a [*]
bootadm update-archive -R /a

[*] The "cd /a" shouldn't be necessary, but there has been a problem
in the past with bootadm creating currupt boot archives when using
the -R option [**]. The "cd /a" works around that bug.

[**] http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6353553

No comments: