Ah, but I did exactly that. I extracted the files from the ISO image, now
on (hd0,14). I preserved everything as it was on the ISO. grub2 can see and
list the files in (hd0,14)/boot (hd0,14)/platform etc. etc.

But I cannot figure out how to get grub2 to actually boot them. multiboot
command does not launch it, chainloader doesn't, and of course "linux"
command is not right for a non-Linux kernel.

>From the iso image extract the kernel, boot archive, and menu.lst file.

>Drop the kernel and boot archive into a place where grub2 can find them
(preserving the path from /platform on), and port the kernel command line
from menu.lst over to the format that grub2 expects.

>

>Make sure you create the zones pool manually on the correct partition.


>-Nahum

On Wed, Dec 2, 2015 at 11:31 AM, <[email protected]> wrote:

> This is a digest of messages to smartos-discuss.
> Digest Contents
>
>    1. SmartOS boot from grub2?
>    <#15162080ae9591bc_20151202042259:44B34742-98D6-11E5-9989-FAD8F010038B>
>
> SmartOS boot from grub2?
> <https://www.listbox.com/member/archive/184463/2015/12/20151202042259:44B34742-98D6-11E5-9989-FAD8F010038B>
>
> *Sent by Avi Deitcher <[email protected] <[email protected]>>* at Wed, 2
> Dec 2015 11:22:52 +0200
> I have an existing server using grub2 to boot into multiple operating
> systems (currently 3 CentOS installations and one vmware). I want to boot
> SmartOS as well. Unfortunately, the usual "use a burnt CD/DVD" or "stick in
> a USB drive" don't really work, as I rarely have physical access. I set
> aside 2 partitions on the physical disk - gpt14 1GB and gpt12 100GB. I
> downloaded the smartos-latest.iso, but how can I get grub2 to boot? 1- I
> cannot burn and install a physical CD/DVD or USB drive 2- grub2 can
> loopback mount an ISO, but it needs a direct kernel to boot from there,
> cannot do chainloader. I tried: insmod chain loopback (loop0)
> (hd0,14)/smartos-latest.iso set root='loop0' chainloader +1 no luck. 2- I
> tried memdisk, same issue, it sees memdisk, but then immediately reboots
> the physical machine 3- I tried direct loopback then multiboot/module
> commands, no valid disk 4- I tried emptying the contents of the iso into
> the gpt14 partition, then just tried to 'chainloader +1' it, no valid boot
> disk found And so on. How can I just get the thing to boot without physical
> access? Yes, I do have console access of course. Thanks. -- Avi Deitcher
> Follow me http://twitter.com/avideitcher Read me http://blog.atomicinc.com
>
> *smartos-discuss* | Archives
> <https://www.listbox.com/member/archive/184463/=now>
> <https://www.listbox.com/member/archive/rss/184463/27839254-2d97d71c> |
> Modify
> <https://www.listbox.com/member/?&;>
> Your Subscription <http://www.listbox.com>
>



-- 
Avi Deitcher
[email protected]
Follow me http://twitter.com/avideitcher
Read me http://blog.atomicinc.com



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to