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

Reply via email to