[Bug 1854839] Re: Fresh Bionic install hangs forever at 66% waiting for os-prober

Evan Hoffman 1854839 at bugs.launchpad.net
Mon Jan 13 17:55:12 UTC 2020


I may have found a workaround/fix for this.  I noticed that
/etc/grub.d/30-os_prober has a GRUB_DISABLE_OS_PROBER variable that will
skip probing for other OSes on the machine, so I added
GRUB_DISABLE_OS_PROBER=true to the kernel options and the installer
proceeded to completion on a machine that was consistently hanging at
66%/osprober.  I'm using foreman for the provisioning so my pxegrub2
template looks like this now:

menuentry '<%= template_name %>_uefi' {
  linuxefi  <%= @kernel %> auto=true netcfg/choose_interface=<%= @host.primary_interface.identifier %>np0 url=<%= foreman_url('provision')%> ramdisk_size=10800 root=/dev/rd/0 rw auto hostname=<%= @host.name %> GRUB_DISABLE_OS_PROBER=true <%= options %>
  initrdefi <%= @initrd %>
}

As soon as I added this option, the install completed.  Have only tested
it on this single box, will update again if this doesn't fix it on
future machines.

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

Title:
  Fresh Bionic install hangs forever at 66% waiting for os-prober

Status in debian-installer package in Ubuntu:
  New

Bug description:
  Installing Ubuntu 18.04 cleanly on boxes that have 14.04, the
  installer hangs at the end during "update grub" at 66%, forever, until
  I switch to another console and kill the pid of "dmsetup".  Issue is
  described in more detail here:
  https://jrs-s.net/2019/05/31/ubuntu-18-04-hung-at-update-grub-66/  .
  I am doing a netboot preseed install using the 4.15.0-62 kernel and
  initrd from October 2019.  When provisioning ~15 boxes at a time, 90%
  - 100% of them are afflicted by this.  If I power cycle them and PXE
  them into the installer again when hung they usually run to
  completion.

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



More information about the foundations-bugs mailing list