<div dir="ltr">Hi,<div><br></div><div>I see I will now have to pay for my sins for having written that wiki page...</div><div>The short answer is that SmartOS is far more amenable to booting from arbitrary boot loaders than OmniOS.</div><div><br></div><div>With SmartOS all you care about is booting the correct kernel and boot archive.</div><div><br></div><div>OmniOS has boot environments (BEs). Booting into the correct BE requires more information on the kernel command line than SmartOS does.</div><div>The `beadm` tool on OmniOS integrates with GRUB but has no integration for GRUB2.</div><div><br></div><div>In the future, upstream illumos has recently landed a port of the FreeBSD loader which has many of the same desirable features as GRUB2, but also includes BE/beadm integration.</div><div><br></div><div> Also, you'd have to be certain that the version of GRUB2 in question is compatible with the pool features of the pool that OmniOS is on.<br></div><div><br></div><div>There are possibly some very clunky ways to get GRUB2 to look at the GRUB configuration from OmniOS, but without explanation of *why* you want to do this and how you expect it to behave, I'm not prepared to opine about precisely how difficult it would be.</div><div><br></div><div>Could you clarify what you're trying to accomplish?</div><div><br></div><div>-Nahum</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 27, 2016 at 7:23 AM, Bouktaib Mohssin <span dir="ltr"><<a href="mailto:bouktaib.mohssin@gmail.com" target="_blank">bouktaib.mohssin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">​Hello Community </div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I'm trying to boot omnios from grub2 using my ubuntu server ,i've triedit with smartos & it work (<a href="https://wiki.smartos.org/display/DOC/Booting+SmartOS+from+GRUB2" target="_blank">https://wiki.smartos.org/<wbr>display/DOC/Booting+SmartOS+<wbr>from+GRUB2</a>) </div><div class="gmail_default" style="font-family:tahoma,sans-serif">my question is how to boot omnios from grub2</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">thanks :)​</div></div>
<br>______________________________<wbr>_________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.<wbr>com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" rel="noreferrer" target="_blank">http://lists.omniti.com/<wbr>mailman/listinfo/omnios-<wbr>discuss</a><br>
<br></blockquote></div><br></div>