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):
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-provisioni ng-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 thin_repair thin_restore 64-linux- gnu/device- mapper/ libdevmapper- event-lvm2thin. so 64-linux- gnu/libdevmappe r-event- lvm2.so. 2.02 64-linux- gnu/liblvm2cmd. so.2.02 pdata_tools /usr/sbin/ cache_check /usr/sbin/ thin_check
copy_exec /usr/sbin/
copy_exec /usr/sbin/
copy_exec /sbin/dmeventd
copy_exec /lib/x86_
copy_exec /lib/x86_
copy_exec /lib/x86_
copy_exec /usr/sbin/
ln -s pdata_tools ${DESTDIR}
ln -s pdata_tools ${DESTDIR}
manual_add_modules dm-cache
manual_add_modules dm-cache-smq
manual_add_modules dm-thin-pool