[Pkg-zfsonlinux-devel] Partial success in getting ZoL support for D-I

Turbo Fredriksson turbo at bayour.com
Fri May 10 14:08:54 UTC 2013

I've FINALY gotten my custom d-i iso image to show me ZFS

I'm currently trying out if I can actually create a pool,
fs and install on it!

And if that works (and so far it looks good), I need to make
sure that grub can boot it (already have my own build of ZoL

Partial because I'm not sure I can reproduce it! :). I've
had to seriously hack d-i for it to build an image with
my kernel of choose (3.9.0-rc6+tf.1) and a local mirror.


As said, in addition to this I've had to seriously hack
build/Makefile, build/util/get-packages to get it to build.

Something that isn't a ugly hack is:

  * build/config/amd64.cf
    Configure kernel version and flavor:
	KERNELVERSION = 3.9.0-rc6+tf.1
	KERNEL_FLAVOUR = amd64-di

  * build/config/local
    Local overrides for build:
	MKLIBS = mklibs
	USE_UDEBS_FROM = squeeze
	UDEB_COMPONENTS = local/debian-installer
	DPKG_UNPACK_OPTIONS = --force-overwrite
	EXTRAUDEBS = cdebconf-newt-entropy cdebconf-text-entropy
	PRESEED = config/local.preseed

  * build/config/local.preseed
    Local install options to simplify auto installs

  * build/sources.list.udeb.local
	deb http://celia.bayour.com/debian squeeze local main/debian-installer local/debian-installer

And, no. Celia isn't available from the outside my network :)

I had to create a 'linux-kernel-di-amd64-3.9.0-rc6+tf.1' package
from 'linux-kernel-di-amd64-2.6' (1.76+squeeze9) so that I could
get all the kernel module udebs from my current kernel.

What else... Can't remember any more. It's taken me three days
(almost 17-18 hours/day :) to get here. Hence 'Partial' :)
Michael Jackson is not going to buried or cremated
but recycled into shopping bags so he can remain white,
plastic and dangerous for kids to play with.

More information about the Pkg-zfsonlinux-devel mailing list