Open James1freedictionary opened 2 years ago
Just install version 20.04 on it, after that update all of the packages and then you can upgrade by typing
sudo do-release-upgrade -d
An important note for upgrades: package lupin-support needs file wubildr on Windows partition.to avoid a standard GRUB install.
sudo /usr/share/lupin-support/grub-mkimage --test && echo "yes" || echo "no"
The test should return "yes".
If a standard GRUB install unintentionally happens, Wubi GRUB config is correct as long as /etc/grub.d/10_lupin exists. If it is an EFI install, it is only necessary to select the correct boot entry from firmware. Try to type "fwsetup" or "exit" to go back to firmware.
edit:
OR switch from standard GRUB to Wubi GRUB:
chainloader /efi/ubuntu/wubildr/shimx64.efi
boot
You can press tab key to list possible paths.
If you are already in Wubi GRUB here are the commands to boot Wubi disk without working /boot/grub/grub.cfg. It is a possible issue if upgrade uninstalls package lupin-support
search -s -f -n /ubuntu/disks/root.disk
probe --set=diskuuid -u $root
loopback loop1 /ubuntu/disks/root.disk
set root='(loop1)'
linux /boot/vmlinuz root=UUID=$diskuuid loop=/ubuntu/disks/root.disk ro
initrd /boot/initrd.img
boot
see https://github.com/hakuna-m/wubiuefi/issues/305#issuecomment-1086876351Edit: Just install version 20.04 on it, after that update all of the packages and then you can upgrade by typing
sudo do-release-upgrade -d