I just ran live-upgrade of my system from nv94/UFS to nv96/ZFS on x86. nv96/ZFS boots okay. However, I can''t boot the Solaris xVM partition as the GRUB entry does not contain the necessary magic to tell grub to use ZFS instead of UFS. Looking at the GRUB menu, it appears as though the flags "-B $ZFS-BOOTFS" are needed to be passed to the kernel. Is this something I can add to: kernel$ /boot/$ISADIR/xen.gz or is there some other mechanism required for booting Solaris xVM from ZFS ? -- This message posted from opensolaris.org
I just ran live-upgrade of my system from nv94/UFS to nv96/ZFS on x86. nv96/ZFS boots okay. However, I can''t boot the Solaris xVM partition as the GRUB entry does not contain the necessary magic to tell grub to use ZFS instead of UFS. Looking at the GRUB menu, it appears as though the flags "-B $ZFS-BOOTFS" are needed to be passed to the kernel. Is this something I can add to: kernel$ /boot/$ISADIR/xen.gz or is there some other mechanism required for booting Solaris xVM from ZFS ? -- This message posted from opensolaris.org
Malachi de Ælfweald
2008-Aug-28 16:58 UTC
[zfs-discuss] xVM GRUB entry incorrect with ZFS root
Take a look at my xVM/GRUB config: http://malsserver.blogspot.com/2008/08/installing-xvm.html On Thu, Aug 28, 2008 at 9:25 AM, Trevor Watson <trevor.watson at sun.com>wrote:> I just ran live-upgrade of my system from nv94/UFS to nv96/ZFS on x86. > > nv96/ZFS boots okay. However, I can''t boot the Solaris xVM partition as the > GRUB entry does not contain the necessary magic to tell grub to use ZFS > instead of UFS. > > Looking at the GRUB menu, it appears as though the flags "-B $ZFS-BOOTFS" > are needed to be passed to the kernel. Is this something I can add to: > kernel$ /boot/$ISADIR/xen.gz or is there some other mechanism required for > booting Solaris xVM from ZFS ? > -- > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080828/32786133/attachment.html>
On Thu, Aug 28, 2008 at 09:25:14AM -0700, Trevor Watson wrote:> Looking at the GRUB menu, it appears as though the flags "-B $ZFS-BOOTFS" are needed to be passed to the kernel. Is this something I can add to: kernel$ /boot/$ISADIR/xen.gz or is there some other mechanism required for booting Solaris xVM from ZFS ?You need to add it to the next line ($module ...). This was a bug that''s now fixed in the latest LU regards john