<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On 14. Aug 2025, at 10:43, Atiq Rahman <atiqcx@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr"><div>Hi Joshua,</div><div>Thanks.</div><div><br></div><div>I found that s0 mapped to ESP (boot EFI) partition on my system. I also found that the newly created solaris partition mapped to s6. So, mostly slice numbers seem to be 1 less than part# showed by `parted` that can be found in the photo screenshot attached.</div><div><br></div><div><br></div></div></div></blockquote><div><br></div><div><br></div><div>The “native” tools in illumos (and solaris) are format, prtvtoc, fmthard and fdisk; they tell you disk partition/slices numbers as they actually can be found in the system. </div><div><br></div><div>fdisk/mbr partitions are named p1-p4 (as already written), with p0 historically used to access all of the disk (so you can actually write down the MBR record). </div><div><br></div><div>format and prtvtoc/fmthard are using term “slice” for partitions; and slices are numbered from 0. In case of GPT partitioning, the device name to access all of the disk is the device name without trailing slice component. The confusing part is, if the disk has no GPT table, then there is no device name without slice component.</div><div><br></div><div>When using other software, you need to pay attention to slice/partition numbering (as you have discovered already).</div><div><br></div><div>For fun fact: FreeBSD has switched around the terms “slice” and “partition”. They are using “slice" for fdisk/mbr case and “partition” for everything else.</div><div><br></div><div>For time being, illumos does install EFI boot program on ESP as efi/boot/bootx64.efi — if you want to share ESP between different OS, you need to back up the existing efi/boot/bootx64.efi, put illumos version to, say, efi/illumos/loader64.efi, restore the original and create respective UEFI boot manager configuration. At this time, we can not create UEFI boot manager config from inside the illumos, so we do rely on default.</div><div><br></div><div>rgds,</div><div>toomas</div><br><blockquote type="cite"><div><br><div class="gmail_quote gmail_quote_container"><div class="gmail_attr" dir="ltr">On Wed, Aug 13, 2025 at 6:24 PM Joshua M. Clulow via openindiana-discuss <<a href="mailto:openindiana-discuss@openindiana.org">openindiana-discuss@openindiana.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, 13 Aug 2025 at 17:53, Atiq Rahman <<a href="mailto:atiqcx@gmail.com" target="_blank">atiqcx@gmail.com</a>> wrote:<br>
> I see that parted can list all the partitions and format can list some. However, not all of them were listed under /dev/dsk or /dev/rdsk I could only see p0 to p4 (I guess illumos skipped the linux partitions).<br><br>
The p* devices are probably not what you're looking for.  The p0<br>
device is generally "the whole disk", including access to the<br>
partition table, etc.  The p1-4 devices are for access to the classic<br>
MBR primary partitions, of which there can only be four.<br><br>
If you've created a modern, EFI/GPT style partition table, and<br>
format(8) can see those GPT partitions, then what you want are the s*<br>
or "slice" devices, which is how we refer to them.  You should ideally<br>
have one slice device for each GPT partition.<br><br><br><br>
Cheers.<br><br>
-- <br>
Joshua M. Clulow<br><a href="http://blog.sysmgr.org/" rel="noreferrer" target="_blank">http://blog.sysmgr.org</a><br><br>
_______________________________________________<br>
openindiana-discuss mailing list<br><a href="mailto:openindiana-discuss@openindiana.org" target="_blank">openindiana-discuss@openindiana.org</a><br><a href="https://openindiana.org/mailman/listinfo/openindiana-discuss" rel="noreferrer" target="_blank">https://openindiana.org/mailman/listinfo/openindiana-discuss</a><br></blockquote></div><div id="topicbox-footer" style="margin:10px 0 0;border-top:1px solid #ddd;border-color:rgba(0,0,0,.15);padding:7px 0;">

<strong><a href="https://illumos.topicbox.com/latest" style="color:inherit;text-decoration:none">illumos</a></strong>
  / illumos-discuss / see
<a href="https://illumos.topicbox.com/groups/discuss">discussions</a>
  +
<a href="https://illumos.topicbox.com/groups/discuss/members">participants</a>
  +
<a href="https://illumos.topicbox.com/groups/discuss/subscription">delivery options</a>
<a href="https://illumos.topicbox.com/groups/discuss/T74729cd92612e3e6-M5957fc4fb0ecdf75d59ec7f8" style="float:right">Permalink</a>
</div>
<span id="cid:f_meb3d1iz0"><1000003926.jpg></span></div></blockquote></div><br></body></html>