[OmniOS-discuss] customizing rpool for iso install

Jim Oltman jim.oltman at gmail.com
Thu Apr 18 09:54:09 EDT 2013


If this works, it has saved me a long time in figuring out the Kayak setup.
 Thanks!


On Wed, Apr 17, 2013 at 9:51 PM, Paul B. Henson <henson at acm.org> wrote:

> While the recommended way to customize rpool configuration is to utilize a
> network install with kayak, putting together a complete dhcp/tftp/http
> network install environment is a bit overkill for installing one box or
> doing some testing.
>
> So, instead I hacked together a little perl script (attached) that
> interposes itself between the installer and the zpool creation allowing
> some basic customizations while doing an iso install.
>
> Boot the installer media, and pick option 3/shell prior to beginning the
> install. Get the attached script into /tmp one way or another (light up the
> network interface and suck it over with wget, for example) and make it
> executable. Run it, and it will copy the zpool/zfs binaries into /tmp and
> install itself in their place with an overlay mount.
>
> Edit the script to configure what customizations you might want to make.
> The first option is if you want to use less than the entire disk for the
> rpool. If enabled, s0 on the installation device will be modified to the
> size specified. The second option allows you to provide any arbitrary zpool
> options to the zpool create (for example, to enable compression). The last
> two options allow you to specify the size of swap/dump explicitly rather
> than using the installer generated values.
>
> Exit the shell and go back to the installer, and start the installation.
> Proceed through as normal, and when it is done, the created rpool should
> include the customizations you picked…
>
> If there's any interest, I could add this to the installation section of
> the wiki; unless it's deemed too kludgy to advertise ;).
>
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20130418/a9d0442d/attachment.html>


More information about the OmniOS-discuss mailing list