> I converted my rootfs to zfs, to boot via grub, I
> need add "-B $ZFS-BOOTFS" option, as following,
>
> kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
>
> But I don't know how to set this parameter when I want to boot xVM?
Did you set the zpool's default "bootfs" property? If you didn't
(or you have multiple zfs boot filesystems on the pool),
you can also set it with the "bootfs" grub command, like this:
title Solaris Express Community Edition snv_66 X86 (b66, Xen dom0)
root (,0,g)
bootfs files/s11-root-xen
kernel$ /boot/$ISADIR/xen.gz
module$ /platform/i86xpv/kernel/$ISADIR/unix
/platform/i86xpv/kernel/$ISADIR/unix -B $ZFS-BOOTFS -vk
module$ /platform/i86pc/$ISADIR/boot_archive
> I tried to append "-B $ZFS-BOOTFS" on the "kernel"
> line and "module" line, but failed to mount the root
> file system.
What is the exact error message? Is it from grub, or
from the Solaris kernel?
> Do you know how could I do this?
Note that you need grub from snv_75 or newer, otherwise
you can't boot xen from a zfs filesystem; this is bug 6584697,
Synopsis: Can't boot Xen / Solaris dom0 if root is using ZFS
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6584697
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
[email protected]