Re: Installer with custom partitioner/filesystem package question
Update: So a suggestion for anyone who runs into anything similar, run your tests on another machine if possible. It turns out, my NVME was beginning to fail, and the install proceeds properly now. -Aaron On Mon, Feb 5, 2024 at 1:23 PM Aaron Goulding wrote: > Hey all! > > So I am attempting to build a custom Deb12 installer where the goal is to > be able to do a zerotouch install to a system (currently using preseeding) > and have it set up the partitioning for an encrypted root. Normally I'd > just use preseeding entirely, but partman-auto-crypto doesn't allow for > setting up encryption WITHOUT the use of LVM, which I'm not allowed to use > in our environment. > > I had e-mailed several months ago to see about possibly updating > partman-auto-crypto, but in the mean time I'm trying to get something > working internally. I found https://github.com/thoto/partrep and used > that as a basis for how to build a package that replaces partman, and wrote > my own handling for getting things set up correctly in our environment. > > In running install tests with this, I can see it's successfully > partitioned the root disk, set up LUKS based dm crypt on the root > partition, formatted and mounted the partitions, wrote out /etc/fstab and > /etc/crypttab, and queued the correct target packages. My package exits > with 0 correctly. > > My problem comes when the next step of the installer runs, and the > base-installer tries to run debootstrap. The install process freezes, then > the base-installer package exits with a non-zero code. I can't seem to find > any more info from it though. Interestingly, if I go into the menu and > manually run base-installer again, the install completes successfully. > > I have gone through and extracted both the original Deb12 initrd.gz as > well as my altered one and ran a diff on every file. Other than the > additional files from my package, and the extra entries in > /var/lib/dpkg/status for the new package and it's dependencies (bzpartrep, > crypto-dm-modules, cryptsetup-udeb, di-utils-mapdevfs, disk-detect, > dmidecode-udeb, dmsetup-udeb, dosfsutils-udeb, e2fsprogs-udeb, efi-modules, > liibargon2-1-udeb, libcryptsetup12-udeb, libdevmapper1.02.1-udeb, > libjson-c5-udeb, libparted2-udeb, libpopt0-udeb, md-modules, and > parted-udeb) > > For reference, here is part of the debian/control file: > Package: bzpartrep > Package-Type: udeb > Architecture: any > Depends: ${shlibs:Depends}, ${misc:Depends}, e2fsprogs-udeb, > dosfstools-udeb, efi-modules, archdetect, harddrive-detection, > di-utils-mapdevfs, di-utils, cdebconf-udeb, cryptsetup-udeb, > crypto-modules, crypto-dm-modules, parted-udeb > Provides: partman-base, made-filesystems, mounted-partitions, > partitioned-harddrives, created-fstab > Installer-Menu-Item: 4199 > Description: Encrypted partition partman alternative > > Any suggestions, or things I'm missing? > > Thanks! > -Aaron > -- This email, including its contents and any attachment(s), may contain confidential and/or proprietary information and is solely for the review and use of the intended recipient(s). If you have received this email in error, please notify the sender and permanently delete this email, its content, and any attachment(s). Any disclosure, copying, or taking of any action in reliance on an email received in error is strictly prohibited.
debian-installer-netboot-images_20230607+deb12u5_source.changes ACCEPTED into proposed-updates
Thank you for your contribution to Debian. Accepted: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Tue, 06 Feb 2024 02:20:14 +0100 Source: debian-installer-netboot-images Architecture: source Version: 20230607+deb12u5 Distribution: bookworm Urgency: medium Maintainer: Debian Install System Team Changed-By: Cyril Brulebois Changes: debian-installer-netboot-images (20230607+deb12u5) bookworm; urgency=medium . * Update to 20230607+deb12u5, from bookworm-proposed-updates. Checksums-Sha1: cee527beccaece6960497744fcd3f70967d4555c 2584 debian-installer-netboot-images_20230607+deb12u5.dsc 8726d7931c4a60e96469e5def0060660d7e63784 8136 debian-installer-netboot-images_20230607+deb12u5.tar.xz 8fa936fe8d157329ce3d4a7733d6d984eec531b9 6911 debian-installer-netboot-images_20230607+deb12u5_source.buildinfo Checksums-Sha256: cfbfcf94f078b993f452a3f639f09d5662250cfc6834e2363f99d0be631d84e9 2584 debian-installer-netboot-images_20230607+deb12u5.dsc 53c490a654cab2f9086ad1ec8a8fab73ac5f1e5598f32c4d2ba96d2d7e54b4fd 8136 debian-installer-netboot-images_20230607+deb12u5.tar.xz 8fba67963c2ea2fdfa2b40c89c7e2b1795d2e47c7e0d8ac2486d1edcea251841 6911 debian-installer-netboot-images_20230607+deb12u5_source.buildinfo Files: 7779903d7e5a78bd366811e568c9ac3a 2584 misc optional debian-installer-netboot-images_20230607+deb12u5.dsc 7b9db121e72afdeba39e9c0992b9ee54 8136 misc optional debian-installer-netboot-images_20230607+deb12u5.tar.xz 2defb8e329eba314382a8f4fc26801d4 6911 misc optional debian-installer-netboot-images_20230607+deb12u5_source.buildinfo -BEGIN PGP SIGNATURE- iQJEBAEBCgAuFiEEtg6/KYRFPHDXTPR4/5FK8MKzVSAFAmXBjJcQHGtpYmlAZGVi aWFuLm9yZwAKCRD/kUrwwrNVINspEACOE+JSmPdbO8ev8qSRLp6rq0TiEtj9WV4x 1/PYVnIZVzb/6QmbkfW8auLz0pMMnAL5IWNHqD2fVm+qVFjz5dMRzrSxYQspTkUn QNw164reJ14LSj4lrG7oYuLzKxdgfvaZbk9kwzJfWbzPjQk3uxQf7fHMYZkuZU/s JgxyIsnyqKP80HNVFogOYaRV92XZvo7KZuUx1AsmdcmZS+O8+dls8Sfx1HAh1+rT sPr9Z4Y/Q0FZz4M5+14B+4YyjiRijTCIO7B6T+no+aA2o469q8XQOWM51I9qURjd KA6TQdzriRoLVKXo6lMRNHt/ZYs9gBWwqF+RuvSniATLce7PcgILXDebWrUaB9dK wuveZnSAfkcVE1Zq8P/0w1NjSE2f6emJ9DH8CUheDaEq7xnlBo5WFjMfF41VxGng N80AqGtv4Y2CyrKZ3oD005iBqCyac+7BUZCCxy5Z4oFMz3Gwqz31NFAXo4TasjRM egEEKpsMUnyuWVovNtHDb03U24XWdYUm6tJnY5fZZxtekZzSWQj0pv7AP9oQoAkj I0yYzWhFtuKkua+W35kjqo7sGA55TAFZcEejt0ChSVQwyhTXHacLIJGeTsvqWbr+ DFHPD3Do6lT8X2B8KV1HAQtU0lOiiKbjrTgw0QeNarUeJrVrAP2h2IBEf+srXUPW qgpO3fnoQA== =gKIe -END PGP SIGNATURE-
debian-installer-netboot-images_20210731+deb11u10_source.changes ACCEPTED into oldstable-proposed-updates
Thank you for your contribution to Debian. Accepted: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Tue, 06 Feb 2024 02:34:46 +0100 Source: debian-installer-netboot-images Architecture: source Version: 20210731+deb11u10 Distribution: bullseye Urgency: medium Maintainer: Debian Install System Team Changed-By: Cyril Brulebois Changes: debian-installer-netboot-images (20210731+deb11u10) bullseye; urgency=medium . * Update to 20210731+deb11u10, from bullseye-proposed-updates. Checksums-Sha1: 831c23ea0860becd433e8acaa8db643a2c517727 2621 debian-installer-netboot-images_20210731+deb11u10.dsc ce17f4985ed918a38ec91277fad15e2f206ed71c 8096 debian-installer-netboot-images_20210731+deb11u10.tar.xz bf920bac7fd1583a1e921b7779e285ff6938746d 6915 debian-installer-netboot-images_20210731+deb11u10_source.buildinfo Checksums-Sha256: f857d0a590727a5b6325097e50c75e47a0314de153893707c9a0cfa6d27f0878 2621 debian-installer-netboot-images_20210731+deb11u10.dsc d9dec7feb5b46982d9a6f56c053d9ef1f60c23feb53683066c3c74560098a56b 8096 debian-installer-netboot-images_20210731+deb11u10.tar.xz 07f4ba220d886716a48d9d587e24a610a41daebf49c886d6ba519d860b37117a 6915 debian-installer-netboot-images_20210731+deb11u10_source.buildinfo Files: 505baa161d2b5c3a1c15f9c8b28d343e 2621 misc optional debian-installer-netboot-images_20210731+deb11u10.dsc 867634cb7666a75d83ec0b84710f09d5 8096 misc optional debian-installer-netboot-images_20210731+deb11u10.tar.xz 23aa669358a65bfade1600507743cb32 6915 misc optional debian-installer-netboot-images_20210731+deb11u10_source.buildinfo -BEGIN PGP SIGNATURE- iQJEBAEBCgAuFiEEtg6/KYRFPHDXTPR4/5FK8MKzVSAFAmXBkUQQHGtpYmlAZGVi aWFuLm9yZwAKCRD/kUrwwrNVIAPfEACThVm5UjgAXUDymy60MvN050oLvqdf+BBr mimZS8upT8SpdUQGRp69pLOywG2iahnF5cPp4E1UK2+QBvjv/HR7pocZuI7bQ5An 6sLtuE1aQGh2z9yqg2DUIMBxjKJwzByxqaptXTdf0SRxnUiVYoICY46Dzj7qXnIW 3e+IxaIcGW/p6Ajw9E2VeZMjdECIsI+tvd5460gG/h19xxznBInYYQgxhhKkzE/2 hXJSatGlWz5CDjdaMvlGDeMGtS4Igui+AZGkSgqDWS347pkhLifHpSaH3+29lpTM 9ANMNdnXYI8VHmc9Y/Vi09l5ogdG+/qGCRrY3zvKcwLcki+N9yN36J339oBFN9Kb gKP3dSJYxm3Trpjv6rJG4Jn1Nl2F5cC7wU1/U38V4RaJyfQSaDWUXucfMKvMyEIG 9u7mI5tqWPOXKAEDlFKoAFO6tbcKjihca0k2axpX9WW6sGKl6RdYSIr8B/9fdowi pHyoBYO1SPMqPkdqtagv1aaGmY46f8QM8K7TjnHRFRuU2WL3Ah5TAKtuGQ4qaV7f ByJ8q5mirI3wcLkn4gAj2e/T2ReSDOp8qxRVJyb0SVht8Z5N5LGJuatf2mswzVhA C9+uJu5JqihSvJEKhYccfCXnG7TH1BsCaBxXzhe74YjJksbuQXgo3DrjumJMbOfW C73k2/5wiA== =4HzG -END PGP SIGNATURE-