Before fix for bug 5821 is integrated, following workaround
can be used to make sparc microoroot suitable for testing
purposes (need to be done on sparc machine).
[1] Mount the microroot
# mkdir /tmp/mr
# mount /sparc.microroot /tmp/mr
[2a] update devfsadm lock, so that devfsadm
can populate device tree
# rm /tmp/mr/etc/dev/.devfsadm_dev.lock
[2b] force populating device tree for AI
replace following line in /lib/svc/method/live-devices-local
if [ $? -eq 0 -o -f /.livecd ]; then
->
if [ $? -eq 0 -o -f /.livecd -o -f /.autoinstall ]; then
[3] Unmount microroot
# umount -f /tmp/mr
[4] If not already done, install bootblocks
# /usr/sbin/lofiadm -a /sparc.microroot
/dev/lofi/1
# /usr/sbin/installboot /usr/platform/sun4v/lib/fs/ufs/bootblk /dev/rlofi/1
# /usr/sbin/lofiadm -d /dev/lofi/1
[5] Boot
# init 0
{14} ok boot disk -F /sparc.microroot
Jan