[OmniOS-discuss] Booting omnios from grub2

Nahum Shalman nshalman at omniti.com
Tue Sep 27 13:21:02 UTC 2016


Hi,

I see I will now have to pay for my sins for having written that wiki
page...
The short answer is that SmartOS is far more amenable to booting from
arbitrary boot loaders than OmniOS.

With SmartOS all you care about is booting the correct kernel and boot
archive.

OmniOS has boot environments (BEs). Booting into the correct BE requires
more information on the kernel command line than SmartOS does.
The `beadm` tool on OmniOS integrates with GRUB but has no integration for
GRUB2.

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.

 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.

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.

Could you clarify what you're trying to accomplish?

-Nahum

On Tue, Sep 27, 2016 at 7:23 AM, Bouktaib Mohssin <
bouktaib.mohssin at gmail.com> wrote:

> ​Hello Community
>
> I'm trying to boot omnios from grub2 using my ubuntu server ,i've triedit
> with smartos & it work (https://wiki.smartos.org/
> display/DOC/Booting+SmartOS+from+GRUB2)
> my question is how to boot omnios from grub2
>
> thanks :)​
>
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20160927/cd12393e/attachment.html>


More information about the OmniOS-discuss mailing list