[OmniOS-discuss] customizing rpool for iso install
Eric Sproul
esproul at omniti.com
Thu Apr 18 10:03:52 EDT 2013
Thanks Paul, this sounds really interesting. Long term I'd like to
see distro_const and text_install go away and have something very
close to Kayak to run from CD/USB. A key feature is that it would
share configuration methods so that you could set up both local media
and network installs the same way. We have, in Kayak, a working
installer, we just need that translated to boot and run from local
media.
On Wed, Apr 17, 2013 at 10: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
>
More information about the OmniOS-discuss
mailing list