Bug#944322: debian-installer: Rescue mode needs LVM workaround or grub-installer fails
Package: debian-installer
Severity: normal
Tags: d-i
Hello,
I have not reproduced this problem myself but it seems likely that it
exists. I am writing here to be sure that nothing is overlooked and
to give people who might have this problem a reference.
This is a companion problem to bug #918590 and am told related to
a problem fixed in Buster RC 1.
grub-installer/grub-mkconfig can fail when in rescue mode in the installed
system's chroot because of a long LVM related timeout. The workaround
is reportedly something like:
# mkdir /mnt/hostlvm
# mount --bind /run/lvm /mnt/hostlvm
# chroot /mnt
# ln -s /hostlvm /run/lvm
See:
https://wiki.archlinux.org/index.php/GRUB#Device_/dev/xxx_not_initialized_in_udev_database_even_after_waiting_10000000_microseconds
and
https://bbs.archlinux.org/viewtopic.php?pid=1820949#p18209
-- System Information:
Debian Release: 9.11
APT prefers oldstable
APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-11-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Reply to: