The file preseed.cfg does not have debian-installer to edit. It has wubiapp/disksize1 string 20167
Is this the line I should edit? ...
Yes, it is. The line has been changed in the recent installer revision, we are going to update the original instructions.
]]>(After reboot, resize2fs was extending the inode table as expected: everything went OK, it simply took a long time, since I added 100GB... Because I like Q4OS and Debian GNU/Linux 11 with KDE Plasma very much!)
]]>It's only then that I realise the backup I had is actually a year old. Everything is lost, and because it was resized rather than deleted, there's nothing file recovery software can do. 2 years of use, and 1 year of it vanished in a single tap of the Enter key. The most annoying thing is I'm sure all the data is still sitting on the hard drive, but it's impossible to access. Sigh.
]]>2. Edit file "c:\Linux64\Debian11\install\preseed.cfg" with administrator permissions and modify the line:
wubiapp/disksize1 string <size_in_megabytes>
Change "size_in_megabytes" to a desired value. Make sure disk size doesn't exceed free disk space.
3. Run in Windows terminal:
fsutil file seteof c:\Linux64\Debian11\disks\root.disk <size_in_megabytes*1024*1024>
4. Remove the file "c:\linux64\debian11\install\stp_disk1expanded.stp".
5. Reboot to Linux, the disk will be resized upon boot.
]]>