[Bug 1275740] Re: Installer fails when preseeding 'partman-partitioning/confirm_resize'

Dakota Ryan Lmabert 1275740 at bugs.launchpad.net
Wed Feb 13 12:42:44 UTC 2019


I'm currently attempting to dualboot Ubuntu 18.10 with Windows 10 using
a preseed. The windows environment is loaded via task sequence and
leaves 50% of the disk as a blank partition (partition 4). I'm then
attempting to take that partition, delete/resize it, and install Ubuntu
according to my encrypted lvm partition map. Upon setting:

d-i partman-partitionning/confirm_resize boolean true
d-i partman-auto/disk string /dev/nvme0n1p4
d-i partman-auto/automatically_partition string Guided - resize /dev/nvme0n1p4 and use freed space
d-i partman-auto/method string crypto


I experience the aforementioned loop. 

Other solutions attempted:

I'm also playing with the idea of having the 4th partition be just empty space but upon setting 
d-i partman-auto/init_automatically_partition select biggest_free

d-i partman-auto/method string crypto is ignored so while the partitions
get created according to my recipe, they don't get encrypted.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to partman-auto in Ubuntu.
https://bugs.launchpad.net/bugs/1275740

Title:
  Installer fails when preseeding 'partman-partitioning/confirm_resize'

Status in partman-auto package in Ubuntu:
  Confirmed

Bug description:
  Hello,

  I'm doing a preseed with the following value :
  ...
  d-i partman-auto/init_automatically_partition select resize_use_free
  d-i partman-partitionning/confirm_resize boolean true
  ...

  When setting confirm_resize to 'true', installer begins an infinite
  loop. I think it's because of the following code (see more in
  /lib/partman/automatically_partition/10resize_use_free or in the
  attachment) :

  === modified file 'automatically_partition/resize_use_free/do_option'
  db_set partman-partitioning/confirm_resize 'false'

  This has been introduced to fix #LP 52830,
  https://bugs.launchpad.net/ubuntu/+source/partman-auto/+bug/52830).

  Thank you

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-auto/+bug/1275740/+subscriptions



More information about the foundations-bugs mailing list