[oi-dev] [developer] Install into existing zfs pool on a GPT partition

John D Groenveld groenveld at acm.org
Wed Aug 20 18:30:23 UTC 2025


In message <CABC65rM_GKWBm1bdccK5ukZ5r-W48Mb2467K0Oh8dVZ56uhVYw at mail.gmail.com>
, Atiq Rahman writes:
>I have an idea as a temporary workaround.

Workaround for what?
ISTR you had fixed your broken GPT on your ASUS ProArt laptop's
internal disk and successfully created a zpool for OI on that
partition.
I recommend you install OI on it via the "F5_InstallToExistingPool"
option.
<URL:https://docs.openindiana.org/handbook/getting-started/#install-openindiana-to-existing-zfs-pool>
After installation, add a swap zvol before you attempt to pkg(1) update.

>Say I install OI on an external SSD using the install in whole disk (GPT)
>option. Then I zfs send/receive the pool to a specific GPT partition in the
>internal disk. And, then I update paths / install bootloader update-archive
>(and update root path for BSD Loaders) to use the internal one so I don't
>have to carry the external disk anymore.

That likely works.
You might test in a VM on top of your Fedora before breaking your
laptop again.
You can also use beadm(8) to create a BE on the internal disk zpool
and then use zfs send/receive to obtain any other datasets from your
external disk before you boot to the internal OI BE.
<URL:https://illumos.org/man/8/beadm>

This definitely works:
Use zpool(8) attach to create a mirror of your external drive's OI
zpool with the internal drive OI partition and then
zpool detach the external drive partition after the resilver completes.
<URL:https://illumos.org/man/8/zpool>
The external drive zpool must be equal or less size than the internal
partition or the attach will fail.

John
groenveld at acm.org



More information about the oi-dev mailing list