Comment 36 for bug 1891680

Revision history for this message
costinel (costinel) wrote :

this bionic to focal upgrade still fails. not sure if this is the proper place to discuss.

18.04.5 installed minimal in vmware player then do-release-upgrade:

https://i.imgur.com/YGLEWvy.png

18.04.5 setup deviations from defaults: root on thin lv created manually in terminal in live installer. lvm on gpt disk. /boot on second disk, mbr. grub fails to install on bionic, I booted with a recovery cd and manually forced install.

I had to make this adjustment to enable thin lv support in initrd (copied from somewhere i don't remember):

# cat /etc/initramfs-tools/hooks/thin-provisioning-tools
#!/bin/sh

PREREQ="lvm2"

prereqs()
{
 echo ""
}

case $1 in
prereqs)
 prereqs
 exit 0
 ;;
esac

. /usr/share/initramfs-tools/hook-functions

copy_exec /usr/sbin/thin_dump
copy_exec /usr/sbin/thin_repair
copy_exec /usr/sbin/thin_restore
copy_exec /sbin/dmeventd
copy_exec /lib/x86_64-linux-gnu/device-mapper/libdevmapper-event-lvm2thin.so
copy_exec /lib/x86_64-linux-gnu/libdevmapper-event-lvm2.so.2.02
copy_exec /lib/x86_64-linux-gnu/liblvm2cmd.so.2.02
copy_exec /usr/sbin/pdata_tools
ln -s pdata_tools ${DESTDIR}/usr/sbin/cache_check
ln -s pdata_tools ${DESTDIR}/usr/sbin/thin_check

manual_add_modules dm-cache
manual_add_modules dm-cache-smq
manual_add_modules dm-thin-pool