Subject: Re: keeping NTFS partitions Hi again. I have to manage some dual-boot setups and to make sure that existing NTFS partitions are kept and only non-NTFS partitions are deleted. I've tried to achieve this, by adding the following early_command and partman settings. d-i partman/early_command string for i in 1 2 3 4 5 6 7 8; \ do if [ "`fdisk -l /dev/sda | grep /dev/sda$i | grep -v "HPFS/NTFS"`" ]; \ then echo -e "d\n$i\nw\n" | fdisk /dev/sda ; fi ; done; exit 0; d-i partman-auto/init_automatically_partition select biggest_free d-i partman-auto/choose_recipe select atomic The non-ntfs partitions where deleted correctly, but sadly the installer throws an error afterwards: Unable to satisfy all constraints on the partition. I have re-checked and the error also occurs, when I leave the early-command out and manually delete all but the NTFS partition on forehand. I have fiddled around for a while now and found a solution. It seems to work when using: d-i partman-auto/init_automatically_partition \ select Guided - use the largest continuous free space instead of: d-i partman-auto/init_automatically_partition select biggest_free Sorry, I was too fast. The problem is exactly the same, but it somewhat seems to depend on the size of the NTFS partition. Greets Marcus -- To UNSUBSCRIBE, email to debian-boot-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx Archive: http://lists.debian.org/4F43A245.9000308@xxxxxx |