Using build 70, I followed the zfsboot instructions at http:// www.opensolaris.org/os/community/zfs/boot/zfsboot-manual/ to the letter.
I tried first with a mirror zfsroot, when I try to boot to zfsboot the screen is flooded with "init(1M) exited on fatal signal 9" Than I tried with a simple zfs pool (not mirrored) and it just reboots right away. If I try to setup grub manually, it has no problem in both cases finding the root_archive, etc...: grub> root (hd0,0,a) Filesystem type is zfs, partition type 0xbf grub> /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS loading 'platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS cpu: 'AuthenticAMD' family 15 model 47 step 0 [BIOS accepted mixed-mode target setting!] [Multiboot-kluge, loadaddr=0xbffe38, text-and-data=0x161958, bss=0x0, entry=0xc00000] '/platform/i86pc/kernel/amd64/unix -B zfs-bootfs=rootpool/21' is loaded grub> boot Any idea what I am doing wrong? Thanks and regards Kugutsumen .... This is everything I did: # root is about 350 megs ... so it should fit nicely on our flash disk. # let's make separate partition for /, /var, /opt, /usr and /export/home # Later we'll move / to the separate disk (in this case a zfs mirror pool) # and we will create a raidz2 pool for /var, /opt, /usr and /export/ home... so we won't have to worry much about the size # of these volumes. # finally we'll create a zvol for swap this machine has really a lot of ram so I don't really worry about swapping. # So we Modify c0t0d0... and create: # 0 / 1024M # 1 swap 518M # 2 /usr 10240M # 3 /var 10240M # 4 /opt 10240M # 7 /export/home ... whatever is left formatted my flashdisks with 2 identical unamed slices (s0) of 969M Installed everything on that temporary install disk (c0t0d0) zpool create -f datapool raidz2 /dev/dsk/c4d0 /dev/dsk/c5d0 /dev/ dsk/c6d0 /dev/dsk/c7d0 zfs create datapool/usr zfs create datapool/opt zfs create datapool/var zfs create datapool/home zfs set mountpoint=legacy datapool/usr zfs set mountpoint=legacy datapool/opt zfs set mountpoint=legacy datapool/var zfs set mountpoint=legacy datapool/home zfs create -V 2g datapool/swap # http://www.opensolaris.org/os/community/zfs/boot/zfsboot-manual/ zpool create -f rootpool c1t0d0s0 zfs create rootpool/rootfs zfs set mountpoint=legacy rootpool/rootfs mkdir /zfsroot mount -F zfs rootpool/rootfs /zfsroot cd /zfsroot ; mkdir -p usr opt var home export/home mount -F zfs datapool/usr /zfsroot/usr mount -F zfs datapool/opt /zfsroot/opt mount -F zfs datapool/var /zfsroot/var mount -F zfs datapool/home /zfsroot/export/home Added the following to /etc/vfstab rootpool/rootfs - /zfsroot zfs - yes - datapool/usr - /zfsroot/usr zfs - yes - datapool/var - /zfsroot/var zfs - yes - datapool/opt - /zfsroot/opt zfs - yes - datapool/home - /zfsroot/export/home zfs - yes - /dev/zvol/dsk/datapool/swap - - swap - no - cd / ; find . -xdev -depth -print | cpio -pvdm /zfsroot cd / ; find usr -xdev -depth -print | cpio -pvdm /zfsroot cd / ; find var -xdev -depth -print | cpio -pvdm /zfsroot cd / ; find opt -xdev -depth -print | cpio -pvdm /zfsroot cd / ; find export/home -xdev -depth -print | cpio -pvdm /zfsroot # ran this script: http://www.opensolaris.org/os/community/zfs/boot/ zfsboot-manual/create_dirs/ mount -F lofs -o nosub / /mnt (cd /mnt; tar cvf - devices dev ) | (cd /zfsroot; tar xvf -) umount /mnt # edit /zfsroot/etc/vfstab zpool set bootfs=rootpool/rootfs rootpool echo etc/zfs/zpool.cache >>/zfsroot/boot/solaris/filelist.ramdisk /usr/sbin/bootadm update-archive -R /zfsroot mkdir -p /rootpool/boot/grub # Since we are using a mirror .. we need grub on both disk mbr # also disable splash since it will not work well with mirror setup cat >/rootpool/boot/grub/menu.lst default 0 fallback 1 title Solaris ZFS mirror 1 root (hd0,0,a) bootfs rootpool/rootfs kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS module$ /platform/i86pc/$ISADIR/boot_archive title Solaris ZFS mirror 2 root (hd1,0,a) bootfs rootpool/rootfs kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS module$ /platform/i86pc/$ISADIR/boot_archive title Solaris Failsafe kernel /boot/platform/i86pc/kernel/unix -B console=ttya module /boot/x86.miniroot # install grub on both harddisk installgrub /zfsroot/boot/grub/stage1 /zfsroot/boot/grub/stage2 /dev/ rdsk/c1t0d0s0 installgrub /zfsroot/boot/grub/stage1 /zfsroot/boot/grub/stage2 /dev/ rdsk/c2t0d0s0 swap -a /dev/zvol/dsk/datapool/swap _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss