Fajar,

Yes, xvm does not currently look at the contents of menu.lst.

You can supply an override to pygrub for zfs-bootfs.
If you dump the config with 'virsh dumpxml <domU> > file',
edit it adding a bootloader argument of
zfs-bootfs=<name_of_filesystem>' and then 'virsh define file'
this will override the default that is found by pygrub.

The bootloader arg line looks like:
<bootloader_args>--args="zfs-bootfs=rpool/ROOT/opensolaris"</bootloader_args>

You can boot from a zfs root clone, but not from a zfs root snapshot.

Thanks
Susan

Fajar A. Nugraha wrote:
>>> It seems that when using zfs-aware pygrub, bootfs
>> can be used to select the correct root. Is there a
>> way to achieve similar effect using xen config file?
>>
>> No, not currently. Hopefully, the zfs aware pygrub
>> will
>> be standard in 3.2.2.
>>
> 
> Hi Mark,
> 
> It seems to me that when using pygrub from solaris domU, xen doesn't look at 
> the contents of menu.lst. In my testing, the parameters returned by pygrub 
> depends on the command "zpool set bootfs=", not from bootfs parameter on grub 
> menu.lst.
> 
> Is there a way to have pygrub actually parse menu.lst for solaris domUs, or 
> some other way to select bootfs via pygrub?
> 
> Regards,
> 
> Fajar
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> xen-discuss mailing list
> [email protected]

_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to