[Bug 1347726] Re: ubuntu14.04 installation hang on "The installer has detected that the following disks have mounted partitions"

2019-02-01 Thread Roman
I can confirm that solution from "Jb (jebsolutions)" is working. Thanks!
you saved my day

Nothing else worked on ubuntu-server-alternate 18.04 even that 
preseed partman/unmount_active boolean true
preseed partman/confirm boolean true
#preseed partman-lvm/confirm boolean true
#preseed partman/confirm boolean true
#preseed partman/early_command string umount /media
#preseed early_command string umount /media

and solution from
dragon788 (dragon788)

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

Title:
  ubuntu14.04 installation hang on "The installer has detected that the
  following disks have mounted  partitions"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1347726/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1347726] Re: ubuntu14.04 installation hang on "The installer has detected that the following disks have mounted partitions"

2019-02-01 Thread Roman
BTW  preseed partman/unmount_active boolean true
makes "YES" selected by default in that annoying dialog, but it don't clicks on 
it automatically even with:
 preseed partman/confirm boolean true

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

Title:
  ubuntu14.04 installation hang on "The installer has detected that the
  following disks have mounted  partitions"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1347726/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1347726] Re: ubuntu14.04 installation hang on "The installer has detected that the following disks have mounted partitions"

2017-07-10 Thread dragon788
I was running into the same issue and finally by luck happened upon a
set of slides that allowed me to automate this and there was an
accompanying code repository with the full preseed file.
https://github.com/uweplonus/adia-
install/blob/master/initrd/preseed.cfg#L3

Many people suggest using `preseed/early_command umount /media/*` but
this hasn't worked for quite some time due to the timing of when the
preseed portion runs compared to the partitioning.

The correct way to do this is to add the following anywhere in your
preseed file that is referenced by the boot command.

```d-i partman/early_command string \
USBDEV=$(list-devices usb-partition | sed "s/\(.*\)./\1/");\
BOOTDEV=$(list-devices disk | grep -v "$USBDEV" | head -1);\
debconf-set partman-auto/disk $BOOTDEV;\
debconf-set grub-installer/bootdev $BOOTDEV; \
umount /media;
```

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

Title:
  ubuntu14.04 installation hang on "The installer has detected that the
  following disks have mounted  partitions"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1347726/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1347726] Re: ubuntu14.04 installation hang on "The installer has detected that the following disks have mounted partitions"

2017-05-30 Thread Jb
Just an addendum.  The above works for cd (which always forced read
only).  To also work for usb I had to add the "-oro" to the command:

# -- Hack starts! block installer mounting /dev/sda1 on /media
# We do this...by mounting the install media (/dev/sd0 or /dev/sd?) onto /media 
first!
# so when the installer tries it's bad mount it silently fails
INSTALL_MEDIA=$(mount | grep /cdrom | grep -E -o '/dev/[^ ]*')
mount -oro "$INSTALL_MEDIA" /media
# -- Hack ends

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

Title:
  ubuntu14.04 installation hang on "The installer has detected that the
  following disks have mounted  partitions"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1347726/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1347726] Re: ubuntu14.04 installation hang on "The installer has detected that the following disks have mounted partitions"

2017-05-17 Thread Jb
This is a really annoying bug.  In my opinion there is no good really to
mount /dev/sda1, the /boot partition from my previous install...

I was able to work around the bug by adding this to the %pre section in
the kickstart config:

# --  Hack starts! block installer mounting /dev/sda1 on /media
# We do this...by mounting the install media (/dev/sd0 or /dev/sd?) onto /media 
first!
# so when the installer tries it's bad mount it silently fails
INSTALL_MEDIA=$(mount | grep /cdrom | grep -E -o '/dev/[^ ]*')
mount "$INSTALL_MEDIA" /media
# -- Hack ends


This might also work around the 33% partition freeze on /dev/sda1...I can't 
trigger that any more so can't test it.

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

Title:
  ubuntu14.04 installation hang on "The installer has detected that the
  following disks have mounted  partitions"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1347726/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1347726] Re: ubuntu14.04 installation hang on "The installer has detected that the following disks have mounted partitions"

2017-02-03 Thread Tobias Volfing
I can confirm this issue when installing from ubuntu-16.04.1-server-
amd64.iso on a USB device to a bare drive, but also to a drive with
Ubuntu currently installed.

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

Title:
  ubuntu14.04 installation hang on "The installer has detected that the
  following disks have mounted  partitions"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1347726/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1347726] Re: ubuntu14.04 installation hang on "The installer has detected that the following disks have mounted partitions"

2016-06-05 Thread MartinL
I can confirm this issue when installing from a USB device onto a bare
drive. Is there any way how to customize image using d-i? I tested
Ubuntu 16.04 server image.

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

Title:
  ubuntu14.04 installation hang on "The installer has detected that the
  following disks have mounted  partitions"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1347726/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1347726] Re: ubuntu14.04 installation hang on "The installer has detected that the following disks have mounted partitions"

2016-05-02 Thread Seth Fitzsimmons
Preseed-based workarounds are insufficient when installing from a USB
device onto a bare (unpartitioned) drive, as it's not possible for the
preseed to actually load (the installer gets stuck "loading the CD-ROM"
since the proper device has already been mounted on /media).

mountmedia runs prior to to the preseed and picks the first suitable
device. With a bare drive (attached as /dev/sda), it's the USB drive
(/dev/sdb1).

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

Title:
  ubuntu14.04 installation hang on "The installer has detected that the
  following disks have mounted  partitions"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1347726/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1347726] Re: ubuntu14.04 installation hang on "The installer has detected that the following disks have mounted partitions"

2016-04-13 Thread coli
Still a problem with Ubuntu 16.04 Xenial.

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

Title:
  ubuntu14.04 installation hang on "The installer has detected that the
  following disks have mounted  partitions"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1347726/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1347726] Re: ubuntu14.04 installation hang on "The installer has detected that the following disks have mounted partitions"

2016-04-08 Thread doshinirav
Same problem on Ubuntu 14.04.4 during a VM install on /dev/sda1   which
is a /boot partition from previous install get automounted even with
folllowing commands in the kickstart.

 preseed partman/umount_active boolean true
 preseed preseed/early_command string umount /media || true

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

Title:
  ubuntu14.04 installation hang on "The installer has detected that the
  following disks have mounted  partitions"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1347726/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1347726] Re: ubuntu14.04 installation hang on "The installer has detected that the following disks have mounted partitions"

2016-02-16 Thread john
I ran into a similar situation with Ubuntu 14.04.3 during an exercise to have 
complete un-attended system provisioning of VM's and Baremetal
The work-around helped by adding-->  d-i preseed/early_command string umount 
/media

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

Title:
  ubuntu14.04 installation hang on "The installer has detected that the
  following disks have mounted  partitions"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1347726/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1347726] Re: ubuntu14.04 installation hang on "The installer has detected that the following disks have mounted partitions"

2015-10-22 Thread tweej
Patch attached for workaround on >= 14.04.2.

** Patch added: "020-allow_preseed_of_unmount_active.patch"
   
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1347726/+attachment/4502460/+files/020-allow_preseed_of_unmount_active.patch

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

Title:
  ubuntu14.04 installation hang on "The installer has detected that the
  following disks have mounted  partitions"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1347726/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1347726] Re: ubuntu14.04 installation hang on "The installer has detected that the following disks have mounted partitions"

2015-10-22 Thread tweej
Above is patch for partman-base, not debian-installer which Martijn says
is root cause.

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

Title:
  ubuntu14.04 installation hang on "The installer has detected that the
  following disks have mounted  partitions"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1347726/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1347726] Re: ubuntu14.04 installation hang on "The installer has detected that the following disks have mounted partitions"

2015-10-22 Thread Ubuntu Foundations Team Bug Bot
The attachment "020-allow_preseed_of_unmount_active.patch" seems to be a
patch.  If it isn't, please remove the "patch" flag from the attachment,
remove the "patch" tag, and if you are a member of the ~ubuntu-
reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

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

Title:
  ubuntu14.04 installation hang on "The installer has detected that the
  following disks have mounted  partitions"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1347726/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1347726] Re: ubuntu14.04 installation hang on The installer has detected that the following disks have mounted partitions

2015-07-21 Thread Koji
I have the same issue, but d-i preseed/early_command string umount
/media || true doesn't let it bypass the issue. I still see the
partition, in my case /dev/sda2, is mounted.

Is there any other way to workaround?

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

Title:
  ubuntu14.04 installation hang on The installer has detected that the
  following disks have mounted  partitions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1347726/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1347726] Re: ubuntu14.04 installation hang on The installer has detected that the following disks have mounted partitions

2015-07-21 Thread Koji
I figured out that the workaround suggested by Martijin works for 14.04.1, but 
doesn't work for 14.04.2. If you end up in the same situation as mine, try 
14.04.1 on this link.
http://old-releases.ubuntu.com/releases/trusty/

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

Title:
  ubuntu14.04 installation hang on The installer has detected that the
  following disks have mounted  partitions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1347726/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1347726] Re: ubuntu14.04 installation hang on The installer has detected that the following disks have mounted partitions

2015-06-29 Thread Martijn Koster
This was reported on the forums too:
http://ubuntuforums.org/showthread.php?t=2215103 where directhex2
mentioned:

I've tracked down the problem to a change in debian-installer-utils 1.98

Looking at the changelog 
(https://launchpad.net/ubuntu/saucy/+source/debian-installer-utils/+changelog) 
I see:

[ Joey Hess ]
* fetch-url: Try to mountmedia when getting a file, to support preseed
via USB from netboot.

That change adds a call to mountmedia
(http://anonscm.debian.org/cgit/d-i/debian-installer-
utils.git/commit/?id=916a613577c5cd747d15b3d20f16b9518d7d54ea)

That code will list the disk partitions (http://bazaar.launchpad.net
/~ubuntu-
branches/ubuntu/wily/mountmedia/wily/view/head:/mountmedia#L24).

In my case that finds /dev/sda1 (my existing HD boot partition) and mounts that 
as /media.
My CD is on /dev/sr0 is mounted as /cdrom. I have no other media I need to have 
mounted.

The forum suggested a workaround: unmount /media in an early preseed command.
You want to ignore failures when you run on a system where /media does not get 
mounted (blank HD).
This worked for me:

d-i preseed/early_command string umount /media || true

What is the right fix here? I can't imagine how mountmedia picking a HD
partition on the target disk and mounting it makes a lot of sense in the
overwhelming majority of cases. Should it not be doing that? Should
debian-installer-utils not use mountmedia? Should there be an installer
option to skip it? Are there any better ways to avoid this?

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

Title:
  ubuntu14.04 installation hang on The installer has detected that the
  following disks have mounted  partitions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1347726/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1347726] Re: ubuntu14.04 installation hang on The installer has detected that the following disks have mounted partitions

2014-12-08 Thread Dan Kegel
Affects both ubuntu-14.04-server-amd64.iso  and ubuntu-14.10-server-
amd64.iso.

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

Title:
  ubuntu14.04 installation hang on The installer has detected that the
  following disks have mounted  partitions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1347726/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1347726] Re: ubuntu14.04 installation hang on The installer has detected that the following disks have mounted partitions

2014-12-08 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: debian-installer (Ubuntu)
   Status: New = Confirmed

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

Title:
  ubuntu14.04 installation hang on The installer has detected that the
  following disks have mounted  partitions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1347726/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1347726] Re: ubuntu14.04 installation hang on The installer has detected that the following disks have mounted partitions

2014-12-03 Thread Dan Kegel
I ran into this, too, running a script that sets up a system using
virtualbox.

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

Title:
  ubuntu14.04 installation hang on The installer has detected that the
  following disks have mounted  partitions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1347726/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1347726] Re: ubuntu14.04 installation hang on The installer has detected that the following disks have mounted partitions

2014-07-23 Thread Luciano Chavez
** Package changed: ubuntu = debian-installer (Ubuntu)

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

Title:
  ubuntu14.04 installation hang on The installer has detected that the
  following disks have mounted  partitions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1347726/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs