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 12/02/2015 04:22 AM, Avi Deitcher wrote:
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/22280019-340ab187> | Modify <https://www.listbox.com/member/?&;> Your Subscription [Powered by Listbox] <http://www.listbox.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