<div dir="ltr">Hi Andy,<div><br></div><div>Thanks for the help, I got it to work as instructed.</div><div><br></div><div>Cheers!!!</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 9, 2017 at 6:41 PM, Andy Fiddaman <span dir="ltr"><<a href="mailto:omnios@citrus-it.net" target="_blank">omnios@citrus-it.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 9 Nov 2017, Lawrence Giam wrote:<br>
<br>
; Hi All,<br>
<span class="">;<br>
; I am trying to install OmniOSce R151022s and am facing problem with the<br>
; installer.<br>
</span>;<br>
... snip ...<br>
; 4. Run the command: zpool create -f rpool c3t0d0p0.<br>
... snip ...<br>
; Questions:<br>
<span class=""><br>
; 1. The BSD Loader take more than 5 minutes to load, is this normal? The<br>
; OmniOS installer does not take that long to boot.<br>
<br>
</span>Not in my experience except from a USB drive. It is loading a lot of data<br>
since the miniroot now includes the ZFS stream.<br>
<br>
; 2. How do we install OmniOSce to a partition on a disk instead of using the<br>
; whole disk?<br>
<br>
You are confusing the partition table in the disk's MBR with the VTOC label<br>
used by Solaris. You should not be creating a zpool using the ...p0 device.<br>
<br>
Try this after having created the partition in fdisk:<br>
<br>
# Force re-genration of the VTOC.<br>
# This will result in slice 2 being set up properly to span the entire<br>
# partition.<br>
prtvtoc -h /dev/rdsk/c3t0d0s2 | awk '$1==8{print}' \<br>
| fmthard -s - /dev/rdsk/c3t0d0s2<br>
<br>
# Now add slice 0 covering the whole partition<br>
# The same as slice 2 except tagged as root and mountable.<br>
# (you can do this interactively via format or run this)<br>
<br>
fmthard -d `prtvtoc -h /dev/rdsk/c3t0d0s2 \<br>
| awk '$1==2{printf("0:2:00:%d:%d\n"<wbr>,$4,$5)}'` /dev/rdsk/c3t0d0s2<br>
<br>
# Check<br>
echo -e 'p\np' | format c3t0d0<br>
<br>
You should see that slice 0 is flagged as root and spans the entire partition<br>
<br>
# Create zpool<br>
<span class="">zpool create -f rpool c3t0d0s0<br>
<br>
</span>Proceed to option 2 in the menu as before.<br>
<br>
I've just tested this with OmniOSce r151024.<br>
<br>
HTH,<br>
<br>
Andy<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Citrus IT Limited | <a href="tel:%2B44%20%280%29333%200124%20007" value="+443330124007">+44 (0)333 0124 007</a> | <a href="mailto:enquiries@citrus-it.co.uk">enquiries@citrus-it.co.uk</a><br>
Rock House Farm | Green Moor | Wortley | Sheffield | S35 7DQ<br>
Registered in England and Wales | Company number 4899123<br>
<br>
</font></span></blockquote></div><br></div>