Thanks for the reply!

I’ll admit, I’m a very new beginner in debian, and my intent was to create a 
preseeded ISO to install a home server with. Previously, I’ve followed only the 
guides on the official documentation, but this last time I needed to make some 
changes and, since time passed, I’ve used the aid of GPT4. Since I sent him my 
whole preseed file, he was the one to point out “di partman-partitioning/” was 
wrong in favor of “di partman/“ for that write new label line. And to be 
completely fair, after a few hours of B&W pages nonstop, I was completely burnt 
and just asked him to write that mail with the “bug report”.

I apologize for the confusion, and will keep using “di 
partman-partitioning/confirm_write_new_label boolean true”, regardless of what 
chatgpt told me. Again, I’m sorry for not going through the updates to check 
what is what, I thought AI would trustworthy to check for upmost to date 
information in the countless pages!

________________________________
De: Cyril Brulebois <k...@debian.org>
Enviado: quarta-feira, abril 9, 2025 12:27 AM
Para: João Pedro Gonçalves Lenzi <jpgle...@hotmail.com>; 
1102...@bugs.debian.org <1102...@bugs.debian.org>
Assunto: Re: Bug#1102415: Documentation error in Debian Installer preseed guide

Hi,

and thanks for the report.

João Pedro Gonçalves Lenzi <jpgle...@hotmail.com> (2025-04-08):
> I noticed what looks like an error in the Debian Installer manual for
> preseed files, specifically in the "Partitioning" section at:
>
> https://www.debian.org/releases/stable/amd64/apbs04.en.html
>
> The guide uses this line:
>
> d-i partman-partitioning/confirm_write_new_label boolean true
>
> But based on testing and community recommendations, it seems the correct line 
> should be:
>
> d-i partman/confirm_write_new_label boolean true

Are you sure?

Looking in all repositories at once, I'm only finding two hits with the
old names:

partman-base/debian/changelog
3249: - templates: make partman/confirm_write_new_label translatable

kickseed/handlers/clearpart.sh
68: ks_preseed d-i partman/confirm_write_new_label boolean true

The former only contains a trace in the changelog, as the relevant
templates were removed during the reorganization mentioned below. The
latter isn't really maintained to the best of my knowledge.

You'll find the new names in the relevant components, which are (mainly)
partman-partitioning and (tangentially) netboot-assistant.

> Not sure if this changed recently or if it's just an old leftover, but
> I figured it might be helpful to fix it for others relying on the
> documentation for automated installs.

I suppose this depends on your definition of “changed recently”. :)

That was reorganized in 2007:
https://salsa.debian.org/installer-team/partman-partitioning/-/commit/28a001e094311652aa551b25d3b94c8dcc3c3c9d

At the time everything was still in a big svn repository, so you'll see
both the addition in debian/partman-partitioning.templates (with the new,
current names) and the code change in storage_device/label/do_option
switching from partman/* to partman-partitioning/*.

This was reflected in the installation guide in 2009:

installation-guide (20090901) unstable; urgency=low
[…]
[ Colin Watson ]
* partman/confirm_write_new_label was renamed to
partman-partitioning/confirm_write_new_label in r50363, December 2007.
Adjust preseeding documentation to match.

See: 
https://salsa.debian.org/installer-team/installation-guide/-/commit/a9eee7c6f96a0f010d88c173945b210c8c60d958

You could add DEBCONF_DEBUG=developer on the kernel command line before
starting the installer and inspect what variables are getting queried via
the debconf protocol if you really wanted to make sure (you'll find the
extra lines in /var/log/syslog in the d-i context, and in
/var/log/installer/syslog in the installed system).


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

Reply via email to