Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #275230

Re: Preseed install, Selection of Language/Country/Keyboard and Desktop Environment

From pocket@homemail.com
Newsgroups linux.debian.user
Subject Re: Preseed install, Selection of Language/Country/Keyboard and Desktop Environment
Date 2024-12-04 15:10 +0100
Message-ID <JPYeK-dHyc-5@gated-at.bofh.it> (permalink)
References <JPXiF-dGXZ-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



> Sent: Wednesday, December 04, 2024 at 7:35 AM
> From: "Ralph Aichinger" <ra@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.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Preseed install, Selection of Language/Country/Keyboard and Desktop  Environment Ralph Aichinger <ra@h5.or.at> - 2024-12-04 14:10 +0100
  Re: Preseed install, Selection of Language/Country/Keyboard and  Desktop Environment pocket@homemail.com - 2024-12-04 15:10 +0100
    Re: Preseed install, Selection of Language/Country/Keyboard and  Desktop Environment Ralph Aichinger <ra@h5.or.at> - 2024-12-04 18:40 +0100
  Re: Preseed install, Selection of Language/Country/Keyboard and  Desktop Environment Michael Kjörling <c9bc136c6063@ewoof.net> - 2024-12-04 15:40 +0100
    Re: Preseed install, Selection of Language/Country/Keyboard and  Desktop Environment Ralph Aichinger <ra@h5.or.at> - 2024-12-04 18:40 +0100
  Re: Preseed install, Selection of Language/Country/Keyboard and  Desktop Environment john doe <johndoe65534@mail.com> - 2024-12-04 16:10 +0100
    Re: Preseed install, Selection of Language/Country/Keyboard and  Desktop Environment Ralph Aichinger <ra@h5.or.at> - 2024-12-04 18:20 +0100

csiph-web