Kali linux-Deployment with preseed file

Hello,
From a PXE server under Debian, I am trying to deploy Kali Linux using
the files from the netboot.tar.gz archive and a preseed file.
(something I was able to do with Debian)
The installation goes well but the system has no graphical interface…
Here are the instructions from the preseed file regarding the mirror and the apt parameters:
d-i apt-setup/contrib boolean True
d-i apt-setup/non-free boolean true
d-i apt-setup/non-free-firmware boolean true
d-i base-installer/install-recommends boolean True
d-i apt-setup/services-select multiselect standard
d-i apt-setup/enable-source-repositories boolean false
d-i apt-setup/use_mirror boolean true
d-i mirror/country string france
d-i mirror/suite string kali-rolling
d-i mirror/codename string kali-rolling
d-i mirror/http/hostname string http.kali.org
d-i mirror/http/directory string /kali
d-i mirror/http/proxy string
d-i base-installer/initramfs-tools/driver-policy select most
tasksel tasksel/first multiselect desktop-base, kali-desktop-xfce
d-i pkgsel/upgrade select full-upgrade
If someone could help me find my mistake or the missing parameter…
@ +.

I was able to fix the problem with the installation of Kali Linux desktops:
to select the desktop to install with Debian, I use the instruction:
tasksel tasksel/first multiselect standard, xfce-desktop, xfce-desktop-environment
but with Kali I have to replace it with this one for it to work:
d-i pkgsel/include string kali-desktop-xfce
However in both cases the packages are loaded from the mirror configured from the preseed file. But for the cinnamon desktop, although it is installed it is not configured as the default desktop and the system uses the basic desktop…moreover xfce is also installed…I note however that it is the only desktop for which Kali Linux does not have its own packages, the others are all named kali-desktop-xxx while for cinnamon, you have to use the cinnamon-desktop-environment package, just like for the
other distributions, but that does not explain these anomalies to me!

2 Likes

@elbarto - I Have got netbook.xyz setup and working to install Kali but I am currently stuck at trying to get an install working using a preseed file.

I believe the thing to do is to modify the kernel line in the kali.ipxe file. I have tried several things but have not been able to get it to work.

Can you please share what you did to get the pressed deployment working with netbook.xyz?

Thanks much!