撃沈しまくりんぐ。
VMware Fusion Beta 3 を使って、別なディスクへ rootpool を作成し、ufs な / を populate しています。
grub の起動、kernel 読み込みまではうまくいきましたが、その後の /system/contract がないとか、/etc/svc/volatile がないとかうまく起動してくれず・・・
あっ。
犯人発見!
http://www.opensolaris.org/os/community/zfs/boot/zfsboot-manual/create_dirs/
コピペが原因ですか orz
こうなってました。
ZFSROOT=$1これを、web にあるように直してあげると、ないないいってたのができあがります。
createdir $ZFSROOT/system/object 555 root root createdir $ZFSROOT/system/contrac
t 555 root root createdir $ZFSROOT/tmp 1777 root sys createdir $ZFSROOT/proc 555
root root createdir $ZFSROOT/etc/svc/volatile 755 root sys createdir $ZFSROOT/v
ar/run 755 root sys createdir $ZFSROOT/dev/fd 555 root root
touch $ZFSROOT/etc/mnttab chmod 444 $ZFSROOT/etc/mnttab chown root $ZFSROOT/etc/
mnttab chgrp root $ZFSROOT/etc/mnttab echo "$ZFSROOT is created"
皆さんも注意してください・・・
さて、無事に boot するかな・・・
ディスクイメージファイルが、壊れたのかな? VMware 起動しない。 orz
こんなメッセージが出る。
*** Virtual machine kernel stack fault (hardware reset) ***こ、怖いな。
The virtual machine just suffered a stack fault in
kernel mode. On a real computer, this would amount to a reset of the processor.
It can be caused by an incorrect configuration of the virtual machine, a bug in
the operating system, or a problem in the VMware Fusion software. Press OK to reboot virtual machine or Cancel to shut it down.
ufs のほうは壊れてないので普通に起動する。
もう一回、作り直しか orz
