[Bug 2073751] Re: 50mounted-tests prevents os-prober to work with ThinLVM
Guillaume
2073751 at bugs.launchpad.net
Mon Jul 22 11:20:21 UTC 2024
It indeed also leaves the systems mounted rw on /var/lib/os-prober/mount
: (sys2 is the alternate volume group and system)
# lsof /dev/sys2/rootfs
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
grub-moun 65856 root 3r BLK 252,26 0t37912576 1107 /dev/sys2/../dm-26
# ps -ef |grep grub
root 65856 1 0 13:05 ? 00:00:00 grub-mount /dev/mapper/sys2-rootfs /var/lib/os-prober/mount
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to os-prober in Ubuntu.
https://bugs.launchpad.net/bugs/2073751
Title:
50mounted-tests prevents os-prober to work with ThinLVM
Status in os-prober package in Ubuntu:
New
Bug description:
No os-prober entries are added to grub.cfg for alternates systems on
ThinLVM, because of an issue with /usr/lib/linux-boot-
probes/50mounted-tests.
Updating line 55 from :
type="$(grub-probe -d "$partition" -t fs)"
to
type="$(grub-probe -d "$partition" -t fs || echo bad)"
fixes the issue.
Credit is due to mikeaa on bug #1987679.
Tested on Ubuntu 24.04.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/2073751/+subscriptions
More information about the foundations-bugs
mailing list