To clarify on the explanation below - thanks Seth :)

The issue is that grub-setup is trying to get the "root" device because it needs to determine if it's trying to install across disks. In this case however, we're not installing grub on the running system, but assembling it for an external target so we shouldn't ever be trying to guess the root device. That's why we supply "--root-device" to force it to use the lofi device as the root device.


Thanks,
Niall

On 04/18/12 12:42 PM, Niall Power wrote:
Hi,

RE encountered a problem with the server when trying to construct build 14 RE ISOs.

*Synopsis*: grub-setup fails during build of DC ISO images on RE x86 build system.

http://monaco.us.oracle.com/detail.jsf?cr=7162251



The problem is during the assembly of the grub2 MBR embeddable image, which invokes grub-setup: If there is a raidz present on the system, grub2 can not automatically associate the lofi device path
with a backing device because it can not deal with vdev type raidz

The fix is to specify the device explicitly when invoking grub-setup. The new parameters were provided by Seth and he has confirmed that it works properly on a raidz configuration. I have also reassembled a DC ISO image and confirmed that it is still bootable after this fix is applied.

Webrev:
http://jurassic.us.oracle.com/~npower/webrevs/webrev-7162251/

Thanks,
Niall
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to