Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Creating my own Preseeded ISO with partman replaced by a ZFS step

153 views
Skip to first unread message

Cyril Brulebois

unread,
Aug 10, 2018, 7:40:02 PM8/10/18
to
Hi,

Bailey Parker <bai...@jhu.edu> (2018-08-10):
> Is there a sane way to go about adding ZFS root support to my preseeded
> install or should I abandon this and wait for better support? If the
> latter, are there steps I could take to add better support given my
> limited knowledge of d-i?

I'm afraid we're not going to support ZFS as that would mean supporting
out-of-tree kernel modules, which we migrated away from years ago.


Cheers,
--
Cyril Brulebois (ki...@debian.org) <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant
signature.asc

Nicholas D Steeves

unread,
Aug 10, 2018, 8:10:02 PM8/10/18
to
On Sat, Aug 11, 2018 at 01:32:40AM +0200, Cyril Brulebois wrote:
> Hi,
>
> Bailey Parker <bai...@jhu.edu> (2018-08-10):
> > Is there a sane way to go about adding ZFS root support to my preseeded
> > install or should I abandon this and wait for better support? If the
> > latter, are there steps I could take to add better support given my
> > limited knowledge of d-i?
>
> I'm afraid we're not going to support ZFS as that would mean supporting
> out-of-tree kernel modules, which we migrated away from years ago.

Automated Debian on ZFS installation seems like a problem that FAI
should be able to solve. https://wiki.debian.org/FAI

They don't yet have ZFS support, it's on the roadmap, and they might
be looking for someone to implement it.
https://fai-project.org/roadmap

Cheers,
Nicholas
signature.asc

Raymond Burkholder

unread,
Aug 10, 2018, 9:00:02 PM8/10/18
to
On 2018-08-10 04:51 PM, Bailey Parker wrote:
> I'd like to somehow modify the installer ISO that I create when preseeding to
> include ZFS (so that before the package manager is configured, a ZFS pool can
> be created), replace the partman step with some custom scripting that [creates
> a zpool and sets up the datasets][2], and finally install zfs-dkms (also
> zfsutils-linux and zfs-initramfs).
I use the late_command to install kernel modules, packages, mirrors,
kernels, etc.  I have used this to install the zfs modules for
non-root-zfs boots where zfs partitions are used in other capacities

The late-command allows package install as well as 'in-target' style
commands, which could call scripts loaded via the preseed process.
> In digging through mail archives, I also came across [this script][5], but it's
> unclear to me how exactly that would fit into my desired workflow. This sounds
> like you'd need to manually drop to a shell to install/setup ZFS.
could probably be handled by the preseed late_command in-target abilities
> Is there a sane way to go about adding ZFS root support to my preseeded install
> or should I abandon this and wait for better support? If the latter, are there
> steps I could take to add better support given my limited knowledge of d-i?
>

I've used SaltStack to build my various preseed scripts depending upon
how physical or virtual machines are built.
0 new messages