From ac583a2f3bf44d4e2321ced784069ab5169705f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=BBygowski?= Date: Mon, 28 Jun 2021 15:00:30 +0200 Subject: [PATCH] preseed.cfg: fix partman preseed configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Debian installation has been failing on apu4 and apu6 whenever the installation process entered partman phase. When partman was launched, it immediately seg faulted which resulted in kernel panic in some cases. The process always failed, but when tested manually without passing the preseed file, everything worked as expected. With these preseeds the seg faults do not happen. Partman options based on https://www.debian.org/releases/buster/example-preseed.txt Signed-off-by: Michał Żygowski --- preseed.cfg.sata | 13 +++++++------ preseed.cfg.usb | 13 +++++++------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/preseed.cfg.sata b/preseed.cfg.sata index de33296..1ae1d62 100644 --- a/preseed.cfg.sata +++ b/preseed.cfg.sata @@ -18,18 +18,19 @@ d-i mirror/http/proxy string d-i clock-setup/utc boolean true d-i clock-setup/ntp boolean true d-i time/zone string Europe/Warsaw -d-i partman/mount_style select uuid -d-i partman/confirm boolean true -d-i partman/choose_partition select finish -d-i partman/confirm_nooverwrite boolean true + d-i partman-auto/disk string /dev/disk/by-path/pci-0000:00:11.0-ata-1 d-i partman-auto/method string regular -d-i partman-auto/choose_recipe select atomic d-i partman-lvm/device_remove_lvm boolean true +d-i partman-md/device_remove_md boolean true d-i partman-lvm/confirm boolean true d-i partman-lvm/confirm_nooverwrite boolean true -d-i partman-auto-lvm/guided_size string max +d-i partman-auto/choose_recipe select atomic d-i partman-partitioning/confirm_write_new_label boolean true +d-i partman/choose_partition select finish +d-i partman/confirm boolean true +d-i partman/confirm_nooverwrite boolean true +d-i partman/mount_style select uuid d-i grub-installer/grub2_instead_of_grub_legacy boolean true # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666974 diff --git a/preseed.cfg.usb b/preseed.cfg.usb index 9f771c6..adc2a64 100644 --- a/preseed.cfg.usb +++ b/preseed.cfg.usb @@ -18,18 +18,19 @@ d-i mirror/http/proxy string d-i clock-setup/utc boolean true d-i clock-setup/ntp boolean true d-i time/zone string Europe/Warsaw -d-i partman/mount_style select uuid -d-i partman/confirm boolean true -d-i partman/choose_partition select finish -d-i partman/confirm_nooverwrite boolean true + d-i partman-auto/disk string /dev/disk/by-path/pci-0000:00:10.0-usb-0:1:1.0-scsi-0:0:0:0 d-i partman-auto/method string regular -d-i partman-auto/choose_recipe select atomic d-i partman-lvm/device_remove_lvm boolean true +d-i partman-md/device_remove_md boolean true d-i partman-lvm/confirm boolean true d-i partman-lvm/confirm_nooverwrite boolean true -d-i partman-auto-lvm/guided_size string max +d-i partman-auto/choose_recipe select atomic d-i partman-partitioning/confirm_write_new_label boolean true +d-i partman/choose_partition select finish +d-i partman/confirm boolean true +d-i partman/confirm_nooverwrite boolean true +d-i partman/mount_style select uuid d-i grub-installer/grub2_instead_of_grub_legacy boolean true # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666974