> Sent: Wednesday, December 04, 2024 at 7:35 AM
> From: "Ralph Aichinger" <r...@h5.or.at>
> To: debian-user@lists.debian.org
> Subject: Preseed install, Selection of Language/Country/Keyboard and Desktop
> Environment
>
> Hi fellow Debian Users
>
> I am currently trying to build an USB stick that does a scripted install
> of Debian. This works very well, and much much easier with UEFI, where
> you can just edit the preseed.cfg file instead of rebuilding an ISO
> every time you make a change.
>
> But: I am stuck with getting rid of two groups of prompts:
>
> The first three prompts in any install are language, country and keymap
> (German, Austria, German) in my case. I have googled around a bit and
> included the following for now (some of it probably redundant, useless
> or cargo cultish):
>
> d-i debian-installer/locale string de_AT
> d-i debconf/language string de
>
> d-i console-setup/ask_detect boolean false
> d-i keyboard-configuration/xkb-keymap select de
> d-i keyboard-configuration/layoutcode string de
> d-i keyboard-configuration/variantcode string
> d-i console-keymaps-usb/keymap select German
> d-i console-keymaps-at/keymap select German
>
> Some of this I grabbed from
> https://preseed.debian.net/debian-preseed/bookworm/
> but this is a lot of information in these files.
>
> The above is not enough to get my three selections without
> being prompted.
>
> Similar with the menu where the desktop environment is selected.
> I want LXDE and "SSH Server". I always drop back into the menu.
> I have tried:
>
> d-i pkgsel/include string openssh-server
> d-i tasksel/desktop multiselect lxde
>
> I am using the most recent netinstall image 12.8.0, and
> using this recipe for UEFI configurations:
>
> https://wiki.debian.org/DebianInstaller/WritableUSBStick
>
> All other configurations (e.g. partitioning, mirror etc.) are picked up
> just fine.
>
> Any hints for me?
>
> /ralph
>
>
I do it differently.
I do an install to a hard drive and when I get it configured to what I want i
copy to an USB drive.
Then any time I need to do a install I simply partition a drive, create the
filesystems mount the drive and the USB drive and rsync from the USB drive.
Then I tickle the new drives innards unmount and place it into the machine. All
the "installs" then start from the same "format/place"
I can do many "installs" in less time it takes shake a stick.
Works for any distro.