星期三 十月 22, 2008

On Solaris nevada, ZFS rootfs could only be enabled in interactive text install mode, while for SPARC, the Java-based GUI installer gets started automatically, you don't have a chance to select this mode, one thing you could do is to exit the GUI installer, and open a terminal, run the following command,

# RUN_TEXT_INSTALL=yes install-solaris

星期二 十月 23, 2007

Thanks Jürgen Keil for the kindly help, I could boot solaris xVM off a ZFS root filesystem now.

Just one extra step to http://www.opensolaris.org/os/community/zfs/boot/zfsboot-manual,

# mount -F lofs -o nosub / /mnt
# cp /mnt/lib/libc.so.1 /zfsroot/lib

That's because the /lib/libc.so.1 is re-mounted by another more suitable libc for the running processor. E.g., for my Intel dual core, it's

$ mount -p | grep libc
/usr/lib/libc/libc_hwcap3.so.1 - /lib/libc.so.1 lofs - no

While, under xVM, the "sep" cpuid (see isainfo -v) feature isn't available.

This blog copyright 2009 by yongsun