[Bug 1628659] Re: "d-i partman/unmount_active boolean true" not working

Eric Trezel 1628659 at bugs.launchpad.net
Thu Jun 29 12:56:12 UTC 2017


Hello,

Same issue.

I noticed error messages about /dev/sda appear during install procedure
(near from the beginning), but it disappears too fast to be able to read
it, and I didn't find trace of this message in syslog or whatever file I
found (in /tmp and /var/log).

I found a temporary solution : add an early-command line in my preseed file :
<code>
d-i preseed/early_command string [ "$(mount | grep /media)" ] && umount /media || echo "no mounted partition found" > /tmp/early.log
</code>

It works well for me (I tried with "grep /dev/sda1" at first times, then
I realised whatever the name of the partition is (it can be different,
of course, regarding to your disk, partition type...), it's always
mounted in /media).

Another info : My PCs are formatted with 3 partitions : sda1 (/), sda2
(swap), and sda3 (/localsettings). I never had this issue before I put
files in sda3. It's weird, because sda3 is not mounted, and unmount sda1
is sufficient to fix the problem, but maybe it could help the one who
will have to fix that.

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

Title:
  "d-i partman/unmount_active boolean true" not working

Status in preseed package in Ubuntu:
  Confirmed

Bug description:
  The installation with preseed of Ubuntu 16.04 server (and previous
  versions), on a KVM virtual machine keeps showing the message:

  '''
  The installer has detected that the following disks have mounted partitions
  /dev/vda
  Do you want the installer to try to unmount the partitions on this disk before continuing? If you leave them mounted, you will not be able to create, delete or resize partitions on this disk, but you may be able to install to existing partitions there.
  Unmount partitions that are in use?
  '''

  I do have the option:

  d-i partman/unmount_active boolean true

  and
  d-i preseed/early_command string umount /dev/media
  (also tried with)
  d-i preseed/early_command string umount /dev/vda
  d-i preseed/early_command string umount /dev/vda1

  Is this a bug, or am I missing something?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/1628659/+subscriptions



More information about the foundations-bugs mailing list