<div dir="ltr"><div dir="ltr"><div>Here's my partition table rice. Folks who are not used to multi-boots, look away! :)</div><div><br></div><div>```</div><div>$ sudo parted /dev/nvme0n1 print<br>Model: MTFDKBA1T0QFM-1BD1AABGB (nvme)<br>Partition Table: gpt<br>Disk Flags:<br><br>Number  Start   End     Size    File system  Name                   Flags<br> 1      1049kB  538MB   537MB   fat32        EFI System Partition   boot, esp<br> 2      538MB   138GB   137GB                   illumos<br> 3      138GB   275GB   137GB                   illum data<br> 4      275GB   344GB   68.7GB  zfs           pop_os<br> 5      344GB   482GB   137GB   zfs           pop data<br> 6      482GB   886GB   404GB   zfs           data_buffer_future<br> 7      886GB   886GB   33.6MB                 MSFT Res.           msftres<br> 8      886GB   1023GB  137GB                 Win Main               msftdata<br> 9      1023GB  1024GB  805MB                Win Rec. Env.       diag</div><div>```</div><div><br></div><div>with partition type codes,</div><div><br></div><div>```</div><div>$ sudo sgdisk --print /dev/nvme0n1 print<br>Disk /dev/nvme0n1: 2000409264 sectors, 953.9 GiB<br>Sector size (logical/physical): 512/512 bytes<br>Disk identifier (GUID): AE0E738B-0C1E-459A-975A-F330D0B30680<br>Partition table holds up to 128 entries<br>Main partition table begins at sector 2 and ends at sector 33<br>First usable sector is 34, last usable sector is 2000409230<br>Partitions will be aligned on 2048-sector boundaries<br>Total free space is 4029 sectors (2.0 MiB)<br><br>Number  Start (sector)    End (sector)  Size       Code  Name<br>   1            2048         1050623   512.0 MiB   EF00  EFI System Partition<br>   2         1050624       269486079   128.0 GiB      BF00   illumos<br>   3       269486080       537921535   128.0 GiB    BF05   illum data<br>   4       537921536       672139263   64.0 GiB      A504   pop_os<br>   5       672139264       940574719   128.0 GiB    BF01   pop data<br>   6       940574720      1730334719   376.6 GiB   BF01   data_buffer_future<br>   7      1730334720      1730400255   32.0 MiB    0C01   MSFT Res.<br>   8      1730400256      1998835711   128.0 GiB   0700   Win Main<br>   9      1998835712      2000407215   767.3 MiB   2700   Win Rec. Env.</div><div>```</div><div><br></div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><p class="MsoNormal" style="vertical-align:baseline"><a name="SignatureSanitizer__MailAutoSig"><span style="font-size:10pt;font-family:Roboto">Cheers!</span></a></p></div></div></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Aug 27, 2025 at 2:21 PM Atiq Rahman <<a href="mailto:atiqcx@gmail.com">atiqcx@gmail.com</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"><div dir="ltr"><div dir="ltr"><div>> but only boots linux kernels</div><div>heard void linux maintains ZFS Boot Menu. And they only support linux kernels (vmlinuz) for now, sadly!</div><div><br></div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 23, 2025 at 5:35 PM Eric J Bowman <<a href="mailto:mellowmutt@zoho.com" target="_blank">mellowmutt@zoho.com</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"><u></u><div><div style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10pt"><div>I have ZFS Boot Menu in my 'standard' rEFInd+ options (I also launch it from <a href="http://netboot.xyz" target="_blank">netboot.xyz</a>), but oddly it doesn't see cachyos, but does see GhostBSD (not illumos ZFS tho) but only boots linux kernels. While I think it suffers from feature creep, I like it in concept. So I've stripped down a FreeBSD kernel, to basically give me beadm and the ability to boot multiple illumos/FreeBSD installs on the same drive, but what I'm driving at is using illumos kernel (as EFI app on FAT32) because the fastboot facility (not to be confused with FreeBSD fastboot) allows me to access bootable partitions after the NVMe driver loads -- this allows me to run NVMe in a PCIe slot on older systems without firmware NVMe support, BIOS or UEFI, and illumos fastboot can load any multiboot2-compliant kernel... supposedly.<br></div><div><br></div><div>-Eric<br></div><div><br></div><div style="border-top:1px solid rgb(204,204,204);height:0px;margin-top:10px;margin-bottom:10px;line-height:0px"><br></div><div><div><br></div><div id="m_-9179665928406572722m_7935179507503338096Zm-_Id_-Sgn1">---- On Wed, 20 Aug 2025 09:33:19 -0700 <b>Atiq Rahman <<a href="mailto:atiqcx@gmail.com" target="_blank">atiqcx@gmail.com</a>></b> wrote ---<br></div><div><br></div><blockquote id="m_-9179665928406572722m_7935179507503338096blockquote_zmail" style="margin:0px"><div><div dir="ltr"><div dir="ltr"><div>> <span style="font-family:Verdana,Arial,Helvetica,sans-serif"><span style="font-size:13.3333px">That's the gist of multiboot on UEFI, more work if you want more than one illumos or freebsd partition, but they will coexist peacefully.<br><br>Have any of you ever tried the ZFS Boot Menu? I heard good things about it, thinking of trying it.</span></span></div><div><span style="font-family:Verdana,Arial,Helvetica,sans-serif"><span style="font-size:13.3333px"><br></span></span></div><div><div dir="ltr"><div dir="ltr"><p style="vertical-align:baseline;margin-top:0px;margin-bottom:0px"><a name="m_-9179665928406572722_m_7935179507503338096_SignatureSanitizer__MailAutoSig"><span style="font-family:Roboto"><span style="font-size:10pt">Best!</span></span></a><br></p><p style="vertical-align:baseline;margin-top:0px;margin-bottom:0px"><a name="m_-9179665928406572722_m_7935179507503338096_SignatureSanitizer__MailAutoSig"><span style="font-family:Roboto"><span style="font-size:10pt">Atiq</span></span></a><br></p></div></div></div><div><br></div></div><div><br></div><div><div dir="ltr">On Thu, Aug 14, 2025 at 8:25 PM Eric J Bowman <<a href="mailto:mellowmutt@zoho.com" target="_blank">mellowmutt@zoho.com</a>> wrote:<br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><u></u><br></div><div><div style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10pt"><div><blockquote style="margin:0px" id="m_-9179665928406572722m_7935179507503338096x_371895840m_602129499579737455blockquote_zmail"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>><br></div><div>> parted > mkpart illumos 767GB 100%<br></div><div>><br></div><div>> and then set the partition type to solaris launching,<br></div><div>><br></div><div><div><code><span>> $ sudo gdisk /dev/nvme0n1</span></code><br></div></div><div dir="ltr">><br></div><div>> (set the GUID to "6A85CF4D-1DD2-11B2-99A6-080020736631" )<br></div><div>><br></div></div></div></div></div></div></blockquote></div><div><br></div><div>The "Solaris Root" partition type is relevant to UFS, not ZFS. On UEFI, set s0/p1 to be an ESP, "boot, hidden, esp" flags and format it fat32, your "Solaris Reserved" should be s8/p9, 8Mib, -1MiB from end of disk. Your ZFS partition should be set to ZFS for illumos, FreeBSD ZFS for freebsd. Being bootable is a property of the ZFS filesystem, not its partition.<br></div><div><br></div><div>/EFI<br></div><div>/EFI/OpenIndiana/bootx64.efi (copy of loader.efi)<br></div><div>/EFI/boot<br></div><div><br></div><div>I put rEFInd Plus in /EFI/boot, with a backup of its bootx64.efi in case it gets overwritten.<br></div><div><br></div><div>/EFI/boot/drivers/x64_zfs.efi<br></div><div><br></div><div>This driver will allow rEFInd to stub-load loader64.efi from your ZFS partition on most firmware, some will still need the /EFI/OpenIndiana/bootx64.efi. I don't know if the string "OpenIndiana" is registered, this one is:<br></div><div><br></div><div>/EFI/FreeBSD<br></div></div></div></blockquote></div></div></div></blockquote></div><div><br></div></div><br></div></blockquote></div></div>
</blockquote></div></div>