On 16/03/2025 at 14:35, Joey Hess wrote:
Pascal Hambourg wrote:
When did you move the old system away ? syslog shows that you started the
shell in tty2 between running partman and debootstrap, could it be that you
inadvertently moved the old system with the freshly created fstab at that
moment ?

Yes, I started a shell and moved it, and that would have been after
partman mounted /target, and before proceeding to the next step of the
install (I was in expert mode).

Behavior makes sense then.

It might be possible for d-i to do better in this situation, eg partman
could defer writing fstab until finish-install time.

What if other installer components or installed packages need to read or write fstab ? partman-base provides "created-fstab" and some udebs depend on it, so I assume they expect a populated fstab.

Besides, I do not think that it is worth to spend some effort to cope with such an unusual situation. Users who tamper with the installer or target do it at their own risk and should know what they are doing.

Reply via email to