Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2016 13:22:06 +0300
From:      Aropalo Tommi <taropalo@kronometrix.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: bsdinstall and unattended zfs installation
Message-ID:  <0ede35ee-4ca8-d342-a0d9-b83c8917d6a5@kronometrix.org>
In-Reply-To: <20160714044511.GA64449@admin.sibptus.transneft.ru>
References:  <20160623134221.GA58972@admin.sibptus.transneft.ru> <20160714044511.GA64449@admin.sibptus.transneft.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Victor,

I have marked this one to be working. From the time stap I have used it
Aug 6 2015. So if nothing haven't changed after that it should work.


DISTRIBUTIONS=3D"kernel.txz base.txz krono.txz"
export ZFSBOOT_DISKS=3Dada0
export ZFSBOOT_VDEV_TYPE=3D"stripe"
#export ZFSBOOT_FORCE_4K_SECTORS=3D"0"
export ZFSBOOT_FORCE_4K_ALIGN=3D"0"
export ZFSBOOT_SWAP_SIZE=3D"5g"
export ZFSBOOT_SWAP_MIRROR=3D"0"
#export ZFSBOOT_POOL_CREATE_OPTIONS=3D"-O compress=3Dlz4 -O checksum=3Dfl=
etcher4"
export nonInteractive=3D"YES"




On 14/07/16 07:45, Victor Sudakov wrote:
> OK, I'll phrase it differently. Could someone please give me a working
> example of a bsdinstall script (for "bsdinstall script") for an
> unattended installation on ZFS?
>
> Thanks a lot in advance.
>
> Victor Sudakov wrote:
>> I'm trying the "bsdinstall script myscript" automated setup feature on=

>> a 10.3-RELEASE system. When myscript looks like this:
>>
>> PARTITIONS=3Dmd0
>> DISTRIBUTIONS=3D"kernel.txz base.txz games.txz"
>>
>> everying goes fine.
>>
>> But when I change it into:
>>
>> ZFSBOOT_DISKS=3Dmd0
>> DISTRIBUTIONS=3D"kernel.txz base.txz games.txz"
>>
>> everything gets screwed up, bsdinstall spits out lots of debug and
>> goes interactive.
>>
>> What am I missing? What should an install script look like for
>> unattended ZFS install with a default dataset layout?=20
>>
>>
>> --=20
>> Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
>> sip:sudakov@sibptus.tomsk.ru
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebs=
d.org"


--=20
Yst=E4v=E4llisin Terveisin / Best Regards

Tommi Aropalo

E-mail: taropalo@kronometrix.org
www.kronometrix.org





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0ede35ee-4ca8-d342-a0d9-b83c8917d6a5>